Skip to content

OlgaYang/blockchain-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

blockchain-practice

setup env

npm i ethers
npm i dotdev

interact with chain (use node.js)

node app.js
  • Case 1: Get balance
  • Case 2: Get latestBlock
  • Case 3: Send transaction

interact with contract (2 ways)

Run on browser( connect with MetaMask)

Run server

npx http-server

Run to Node.js (use private key)

node node .\interactContract.js

Reference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published