Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 2.19 KB

readme.md

File metadata and controls

49 lines (34 loc) · 2.19 KB

spunky

spunky is a blockchain built using Cosmos SDK and Tendermint and created with Starport.

Get started

starport chain serve

serve command installs dependencies, builds, initializes, and starts your blockchain in development.

Configure

Your blockchain in development can be configured with config.yml. To learn more, see the Starport docs.

Launch

To launch your blockchain live on multiple nodes, use starport network commands. Learn more about Starport Network.

Install

To install the latest version of your blockchain node's binary, execute the following command on your machine:

curl https://get.starport.network/singhp1069/spunky@latest! | sudo bash

singhp1069/spunky should match the username and repo_name of the Github repository to which the source code was pushed. Learn more about the install process.

Functionality

  create-scores Create a new scores (store the highscore)
  update-scores Update a scores (update the score if higher than previous)
  create-nft    Create a new NFT (create a new NFT)
  update-nft    Update a NFT (update the NFT metainfo only by the creator, If the ownership changed then creator can't update NFT)
  transfer-nft  Broadcast message transferNFT (transferring the ownership of the NFT)
  create-rewards Create a new Rewards (lock a balance to module with a milestone and first one to achieve the milestone can claim the reward)
  delete-rewards Delete a Rewards by id (creator can delete the reward only if it was not claimed and the balance will revert back to the creator)
  claim-reward   Broadcast message ClaimReward (First user who achieve the milestone can claim, (hurry up to claim reward, if your milestone is achieve), the reward will transfer from module to the claimer)

Learn more