-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
45b66ba
commit 7fa71e6
Showing
3 changed files
with
39 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,12 +89,7 @@ | |
// ); | ||
// } | ||
|
||
// var ecosystemWallet = await EcosystemWallet.Create( | ||
// client: client, | ||
// ecosystemId: "ecosystem.the-bonfire", | ||
// ecosystemPartnerId: "20842d97-be35-4ecc-b51e-9f3ba0843a60", | ||
// email: "[email protected]" | ||
// ); | ||
// var ecosystemWallet = await EcosystemWallet.Create(client: client, ecosystemId: "ecosystem.the-bonfire", email: "[email protected]"); | ||
|
||
// if (!await ecosystemWallet.IsConnected()) | ||
// { | ||
|
@@ -117,9 +112,15 @@ | |
// ); | ||
// Console.WriteLine($"Ecosystem Wallet typed sign: {ecosystemTypedSignature}"); | ||
|
||
// var siweSigner = await PrivateKeyWallet.Generate(client: client); | ||
// var ecosystemWalletOther = await EcosystemWallet.Create(client: client, ecosystemId: "ecosystem.the-bonfire", authProvider: AuthProvider.Siwe, siweSigner: siweSigner); | ||
// var linkedAccounts = await ecosystemWallet.LinkAccount(walletToLink: ecosystemWalletOther, chainId: 421614); | ||
// var ecosystemWalletOther = await EcosystemWallet.Create(client: client, ecosystemId: "ecosystem.the-bonfire", authProvider: AuthProvider.Telegram); | ||
// var linkedAccounts = await ecosystemWallet.LinkAccount( | ||
// walletToLink: ecosystemWalletOther, | ||
// browserOpenAction: (url) => | ||
// { | ||
// var psi = new ProcessStartInfo { FileName = url, UseShellExecute = true }; | ||
// _ = Process.Start(psi); | ||
// } | ||
// ); | ||
// Console.WriteLine($"Linked accounts: {JsonConvert.SerializeObject(linkedAccounts, Formatting.Indented)}"); | ||
|
||
// var ecosystemSmartWallet = await SmartWallet.Create(ecosystemWallet, 421614); | ||
|
@@ -322,7 +323,7 @@ | |
|
||
#region InAppWallet - OAuth | ||
|
||
// var inAppWalletOAuth = await InAppWallet.Create(client: client, authProvider: AuthProvider.X); | ||
// var inAppWalletOAuth = await InAppWallet.Create(client: client, authProvider: AuthProvider.Coinbase); | ||
// if (!await inAppWalletOAuth.IsConnected()) | ||
// { | ||
// _ = await inAppWalletOAuth.LoginWithOauth( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters