Smart contract for customizable NFT staking using Atomicassets standard.
This contract is designed to work out-of-the-box, without the need to modify the source code.
All the main features are fully configurable by the contract owner.
- customizable configurations:
- token contract and symbol
- minimum claim period
- unstaking period
- hourly rate per template
- per template control
- freeze/unfreeze the contract functionalities
- force reset/unstake user's assets
- register
- stake/unstake the assets
- claim the tokens
The contract is fully tested using proton's VeRT
- To build the contract for testing blanc is required.
npm install # or yarn or pnpm
npm run build:dev # to compile the contract using blanc++
npm test
npm build:prod # to compile the contract using cdt-cpp
# deploy the contract
cleos -u <your_api_endpoint> set contract <account> $PWD contract/ezstake.wasm contract/ezstake.abi -p <account>@active
# dont forget to add eosio.code permission
cleos -u <your_api_endpoint> set account permission <account> active --add-code
Hire me ;)