Skip to content

Devankit2022/Simple-Storage

Repository files navigation

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

Releases

No releases published

Packages

No packages published