You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varexecutionResult=awaitnebula.Execute("Send 0 ETH to vitalik.eth",wallet:myWallet,context:newNebulaContext(chainIds:newList<BigInteger>{myChain}));
74
+
varexecutionResult=awaitnebula.Execute("Approve 1 USDC to vitalik.eth",wallet:myWallet,context:newNebulaContext(contractAddresses:newList<string>(){usdcAddress}));
newList<NebulaChatMessage>{new("Send 0 ETH to vitalik.eth",NebulaChatRole.User),new("Are you sure?",NebulaChatRole.Assistant),new("Yes",NebulaChatRole.User)},
86
+
newList<NebulaChatMessage>
87
+
{
88
+
new("What's the address of vitalik.eth",NebulaChatRole.User),
89
+
new("The address of vitalik.eth is 0xd8dA6BF26964aF8E437eEa5e3616511D7G3a3298",NebulaChatRole.Assistant),
90
+
new("Approve 1 USDC to them",NebulaChatRole.User),
// public async Task Execute_ReturnsMessageAndReceipts()
105
-
// {
106
-
// var signer = await PrivateKeyWallet.Generate(this.Client);
107
-
// var wallet = await SmartWallet.Create(signer, NEBULA_TEST_CHAIN);
108
-
// var nebula = await ThirdwebNebula.Create(this.Client);
109
-
// var response = await nebula.Execute(
110
-
// new List<NebulaChatMessage> { new("Send 0 ETH to vitalik.eth and satoshi.eth", NebulaChatRole.User), new("Are you sure?", NebulaChatRole.Assistant), new("Yes", NebulaChatRole.User) },
0 commit comments