Skip to content

Instantly share code, notes, and snippets.

@chiro-hiro
Last active April 1, 2021 10:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chiro-hiro/8b3f52831dcca477823b956490f43130 to your computer and use it in GitHub Desktop.
Save chiro-hiro/8b3f52831dcca477823b956490f43130 to your computer and use it in GitHub Desktop.
My lazy ass

Install hardhat with serveral stuffs:

npm install --save-dev hardhat @nomiclabs/hardhat-waffle \
  ethereum-waffle chai @nomiclabs/hardhat-ethers ethers ts-node \
  typescript chai @types/node @types/mocha @types/chai

Run geth light mode:

 geth --mainnet --syncmode light --http --http.corsdomain "*" \
   --http.port 8546 --ws --ws.port 8547 --ws.origins "*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment