Conversation
| const [signer] = await ethers.getSigners() | ||
|
|
||
| // Replace with your deployed contract address | ||
| const contractAddress = '0xbA6E2502B4Ef771582bD4517182440cC6D31c8e7' |
There was a problem hiding this comment.
After deploying the dummy contract replace this
There was a problem hiding this comment.
Why don't we just have a flag that optionally deploys the contract for you, and then use the address in the same script, We could just have it do that based on a env var or a cmd flag.
zacshowa
left a comment
There was a problem hiding this comment.
I have some general comments/questions.
| signer | ||
| ) | ||
|
|
||
| // Generate 100 KB of data (zero bytes or random) |
There was a problem hiding this comment.
This comment, and the one on the next line are wrong.
| const [signer] = await ethers.getSigners() | ||
|
|
||
| // Replace with your deployed contract address | ||
| const contractAddress = '0xbA6E2502B4Ef771582bD4517182440cC6D31c8e7' |
There was a problem hiding this comment.
Why don't we just have a flag that optionally deploys the contract for you, and then use the address in the same script, We could just have it do that based on a env var or a cmd flag.
| ? [process.env['DEVNET_PRIVKEY']] | ||
| : [], | ||
| }, | ||
| moltenDevnet: { |
There was a problem hiding this comment.
Nice, maybe we should add more of the networks we work against to this.
Deploy dummy contract using:
Then send data using:
But before that replace the contractAddress in sendData.ts