{"repo":"cutupdev/Solana-NFT-Staking-Smart-Contract","free":true,"listed":false,"github":"https://github.com/cutupdev/Solana-NFT-Staking-Smart-Contract","clone":"git clone https://github.com/cutupdev/Solana-NFT-Staking-Smart-Contract.git","description":"Solana NFT staking smart contract","language":"TypeScript","stars":50,"topics":["rust","typescript","nft","nfts","smart-contract","smart-contracts","solana","stake","anchor"],"license":null,"category":"blockchain-web3","readme_excerpt":"Solana NFT Staking Smart Contract Solana nft staking smart contract for Kingdom of Dwarves NFT collections If you have any question about it, feel free to reach out of me[Whatsapp: https://wa.me/13137423660, Telegram: https://t.me/DevCutup]. Install Dependencies - Install node and yarn - Install ts-node as global command - Confirm the solana wallet preparation: /home/fury/.config/solana/id.json in test case Usage - Main script source for all functionality is here: /cli/script.ts - Program account types are declared here: /cli/types.ts - Idl to make the JS binding easy is here: /cli/staking program.json Able to test the script functions working in this way. - Change commands properly in the main functions of the script.ts file to call the other functions - Confirm the ANCHOR WALLET environment variable of the ts-node script in package.json - Run yarn ts-node Features As a Smart Contract Owner For the first time use, the Smart Contract Owner should initialize the Smart Contract for global account allocation. - initProject Recall initialize function for update the Threshold values after change the constants properly - initProject Maintain the Reward token($KCROWN) vault's balance - REWARD TOKEN MINT is the reward token mint (for test). - rewardVault is the reward token account for owner. The owner should have the token's Mint Authority or should Fund regularly. This is current test value. Should be revised properly. - EPOCH = 60 // A day - REWARD PER DAY = 100 000 000 // 0.1 $KC","default_branch":null,"files":null,"tree":[],"storefront":"/r/cutupdev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cutupdev/Solana-NFT-Staking-Smart-Contract/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}