@l1t/rewards-center
TypeScript icon, indicating that this package has built-in type declarations

3.8.8 • Public • Published

Rewards Center

This is a fork of the Cardinal Rewards Center repository, with all programs being redeployed on behalf of L1T.

A rewards center for NFTs and FTs on Solana

Background

Rewards center is a modular smart contract for staking tokens and distributing various rewards.

Getting Started

While the deployments of this program are not live, you can deploy your own by using these steps. This will first clone the repo then run make keys will generate a new keypair for your program and update authority. NOTE: You must not lose these keypairs. Substitute your own keypair in if you would like to use your own.

Note: You must not lose the keypairs! They will be saved in ./keypairs directory. To use your own keypairs place them there and skip the make keys step

git clone https://github.com/l1t/rewards-center.git
make keys
make key-replace
make install
make build
solana airdrop 2 --url devnet keypairs/update-authority.json
solana program deploy --url devnet --keypair ./keypairs/update-authority.json --program-id ./keypairs/program-id.json ./target/deploy/cardinal_rewards_center.so

State map

Readme

Keywords

Package Sidebar

Install

npm i @l1t/rewards-center

Homepage

cardinal.so

Weekly Downloads

29

Version

3.8.8

License

MIT

Unpacked Size

1.31 MB

Total Files

93

Last publish

Collaborators

  • l1t