Skip to content

Commit bca7d30

Browse files
authored
Update examplePrompts.ts (#6905)
1 parent 3f630a8 commit bca7d30

File tree

1 file changed

+35
-10
lines changed

1 file changed

+35
-10
lines changed

apps/dashboard/src/app/nebula-app/(app)/data/examplePrompts.ts

+35-10
Original file line numberDiff line numberDiff line change
@@ -57,27 +57,52 @@ Implement features using Web3 SDKs and tools.
5757
- I have an ERC1155 contract from thirdweb. Can you show me how to generate and mint with a signature?
5858
`;
5959

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+
6083
export const examplePrompts: ExamplePrompt[] = [
6184
{
6285
title: "What can Nebula do?",
63-
message: "What can Nebula do?",
86+
message: "Tell me about Nebula's capabilities.",
6487
interceptedReply: whatCanNebulaDoReply,
6588
},
6689
{
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,
7093
},
7194
{
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,
7498
},
7599
{
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",
78102
},
79103
{
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,
82107
},
83108
];

0 commit comments

Comments
 (0)