@@ -57,27 +57,52 @@ Implement features using Web3 SDKs and tools.
57
57
- I have an ERC1155 contract from thirdweb. Can you show me how to generate and mint with a signature?
58
58
` ;
59
59
60
+ const deployTokenReply = `
61
+ Let's create your token! Just name it and I'll get started. I'll take care of the rest.
62
+
63
+ Add more info for more fun:
64
+ - Symbol (e.g. 'HELLO')
65
+ - Description (e.g. 'Hello world token deployed by Nebula')
66
+ - Total Supply (e.g. 1 million)
67
+ - Mint total supply to your wallet (default is true)
68
+ - Decimal places (default 18)
69
+ - Image URL
70
+
71
+ If you want, I can generate an image for it too.
72
+ ` ;
73
+
74
+ const buyUsdcReply = `
75
+ Easy. How much USDC?
76
+ You can pay with any token, but I'll default to ETH.
77
+ ` ;
78
+
79
+ const transferEthReply = `
80
+ Great! How much ETH and to what address?
81
+ ` ;
82
+
60
83
export const examplePrompts : ExamplePrompt [ ] = [
61
84
{
62
85
title : "What can Nebula do?" ,
63
- message : "What can Nebula do? " ,
86
+ message : "Tell me about Nebula's capabilities. " ,
64
87
interceptedReply : whatCanNebulaDoReply ,
65
88
} ,
66
89
{
67
- title : "Deploy an ERC-20 Token" ,
68
- message :
69
- "Deploy an ERC-20 Token with name 'Hello World', description 'Hello world token deployed by Nebula', and symbol 'HELLO'" ,
90
+ title : "Launch a Token" ,
91
+ message : "I'd like to deploy a token." ,
92
+ interceptedReply : deployTokenReply ,
70
93
} ,
71
94
{
72
- title : "USDC contract address on Ethereum" ,
73
- message : "What is the USDC contract address on Ethereum?" ,
95
+ title : "Buy USDC" ,
96
+ message : "I want to buy USDC" ,
97
+ interceptedReply : buyUsdcReply ,
74
98
} ,
75
99
{
76
- title : "Analyze WETH smart contract " ,
77
- message : "Analyze 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 on ethereum " ,
100
+ title : "Analyze the Uniswap contracts " ,
101
+ message : "Analyze the Uniswap v3 contracts on Ethereum " ,
78
102
} ,
79
103
{
80
- title : "Transfer 0.001 ETH to thirdweb.eth" ,
81
- message : "Transfer 0.001 ETH to thirdweb.eth" ,
104
+ title : "Send ETH to someone" ,
105
+ message : "I want to send some ETH" ,
106
+ interceptedReply : transferEthReply ,
82
107
} ,
83
108
] ;
0 commit comments