Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 1 KB

README.md

File metadata and controls

27 lines (15 loc) · 1 KB

Simple Storage Contract

  1. Download And Install the following tools

  2. Open Git Bash

  3. Clone the git repository using git clone https://github.com/Devankit2022/simple-storage-ethers.git

  4. Open Terminal

  5. Install yarn

  6. Install required dependencies using yarn init

  7. Run yarn compile to compile the solidity code

  8. Connect to the local blockchain node using ganache and ethers.js following this documentation

    • You can also connect to node as a service provider or remote blockchain node using Alchemy
  9. Run node deploy.js to deploy the contract

  10. contractFactory.deploy() returns a Promise, which is when resolved, you get a contract object, using this, you can interact with the contract