Home

Awesome

GLM Stake Pool


【Introduction of GLM Stake Pool】

 


【Workflow】

 

 


【Technical Stack】


【Setup】

① Install modules

$ npm install
<br>

② Add .env to the root directory.

<br>

③ Compile & migrate contracts (on Rinkeby testnet)

$ npm run migrate:local
<br>

④ Test (Mainnet-fork approach with Ganache-CLI)

$ ganache-cli --fork https://mainnet.infura.io/v3/{YOUR INFURA KEY}

(Ref:https://medium.com/@samajammin/how-to-interact-with-ethereums-mainnet-in-a-development-environment-with-ganache-3d8649df0876
(Current block number @ mainnet: https://etherscan.io/blocks )

Then,

$ npm run test
$ npm run test:stake

 


【Remaining tasks and next steps】

 


【References】

<br>