Skip to content

This is a JS code to deploy and interact with a Solidity contract using "Ether.js" library.

License

Notifications You must be signed in to change notification settings

eik-1/Ethers-Simple-Storage

Repository files navigation

Ethers Simple Storage Project

This is part of my Solidity and Javascript Blockchain Journey

Video Link : ⌨️ (05:30:42) Lesson 5: Ethers.js Simple Storage

Clone this repository

git clone https://github.com/Sarthak-69/Ethers-Simple-Storage.git

Install dependencies

npm install

Also install yarn

npm install --global yarn

Usage

You can change the RPC_URL

$Env:RPC_URL = <paste your url>

You can change the PRIVATE_KEY

$Env:PRIVATE_KEY = <paste your key>

Note: You can use Ganache to generate RPC_URL and PRIVATE_KEY

Run

After setting the environment variables use

node deploy.js

IMPORTANT
Don't use private key with real funds in it. Always use private key with test ether.

Thank You

Thanks to Patrick Collins for guidance

Follow Him Patrick Collins Twitter Patrick Collins YouTube Patrick Collins Linkedin Patrick Collins Medium

About

This is a JS code to deploy and interact with a Solidity contract using "Ether.js" library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published