Course lesson
Write Data To Your Smart Contract On Anvil using Cast
To send data, we'll use cast send to send a transaction that we signed with our private key to the network. We use Cast to call the increment function we built in a previous lesson. Then we will check Anvil to see the logs that our transaction generated.
- Duration
- 3 min
- Access
- Free
- Transcript
- Retained from source evidence
To send data, we'll use cast send to send a transaction that we signed with our private key to the network. We use Cast to call the increment function we built in a previous lesson. Then we will check Anvil to see the logs that our transaction generated.