Skip to content

cryptonoyaiba/staking_contract

Repository files navigation

(㇏(•̀ᵥᵥ•́)ノ)

Vampire DeFi Ecosystem

Development

  • Currently under development.
    • STAKE Token (ecosystem token) - Done.
    • BLOOD Token (ecosystem token) - Done.
    • VampireStake (staking platform) - Done.

Install dependencies

npm install

Set up environment variables

Copy the .env.local.example file in this directory to .env.local (which will be ignored by Git):

cp .env.local.example .env.local

Then, open .env.local and add the missing environment variables:

  • ETHERSCAN_API_KEY - Etherscan API key (get it from etherscan.io)
  • ALCHEMY_API_KEY - Alchemy API key (get it from alchemy.com)
  • GOERLI_PRIVATE_KEY - Private key of goerli deployer

Deploy

npx hardhat run scripts/deploy_staking_contract.ts --network <NETWORK>

Test

npx hardhat test

About

Demo staking contract

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published