Download And Install the following tools
Open Git Bash
Clone the git repository using
git clone https://github.com/Devankit2022/simple-storage-ethers.gitOpen Terminal
Install yarn
Install required dependencies using
yarn initRun
yarn compileto compile the solidity codeConnect to the local blockchain node using
ganacheandethers.jsfollowing this documentation- You can also connect to node as a service provider or remote blockchain node using Alchemy
Run
node deploy.jsto deploy the contractcontractFactory.deploy()returns aPromise, which is when resolved, you get acontract object, using this, you can interact with the contract
Latest commit
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|