NFT vouchers for $SWEAT.
- Make sure you have installed rust.
- Install the
NEAR CLI RS
If you already have rustup
installed, you can ensure that the correct version of the compiler and the NEAR CLI is
installed as well:
make install
To learn how to build the project, deploy it, and run tests run the following command:
make help
First build the contract using provided make
command:
make build
Then deploy and initialize it. The following command will launch a wizard to deploy the account to any network.
make deploy
Balance boosters are NFT Vouchers for $SWEAT. They are lazy minted and contain the denomination in $SWEAT. As a User, I can purchase a Balance Booster for 10 $USD, for example. With an exchange rate of 1 $USD = N $SWEAT, I'll have a Balance Booster with denomination of 10*N $SWEAT. Once a User redeems the Balance Booster, they receive corresponding amount of $SWEAT to their account. In case of successful transfer the NFT burns. If the User refunds the Balance Booster, it must be burnt as well.
- As a Server, I want to mint a Balance Booster NFT of certain denomination for particular User.
- As a Server, I want to burn a Balance Booster NFT in case when the User refunds it in 3rd party service.
- As a User, I want to redeem a Balance Booster NFT and get $SWEAT on my account.