Skip to content

Latest commit

 

History

History

01-ethers-simple-storage


Logo

Full Blockchain, Solidity & Full-Stack Web3 development with JavaScript

Everything related to my progress through this course from Patrick Collins
Go to the video »


Trying out / testing

To get a local copy up and running follow these simple example steps.

You will need to install either npm or yarn to run the commands, and git to clone the repository.

Installation

  1. Clone the whole repo:
    git clone https://github.com/0xpolarzero/full-blockchain-solidity-course-js.git
  2. Navigate into the subdirectory:
    cd 01-ethers-simple-storage
  3. Install NPM packages using yarn or npm install.
  4. Create a .env file at the root of the project, and populate it with the following variables:
    RPC_URL = localhost_rpc_or_testnet_rpc_from_provider
    PRIVATE_KEY = your_wallet_private_key
    PRIVATE_KEY_PASSWORD = password_of_your_choosing

Usage

Deploy:

node deploy.js

Encrypt your private key:

node encryptKey.js

Achievements

  • Working in a local environment
  • Using Ganache to simulate a blockchain
  • Using Ethers.js to interact with a contract
  • Private key management, key encryption
  • Using Alchemy RPC & Dashboard

Skills

Solidity JavaScript Ganache EthersJS NodeJS Alchemy