This is my repo for the Hiro Developer Tutorial.
Instructions to the code are listed there.
This is the Code Snippet Playground related to this tutorial.
NodeJS 8.12.0
or higher
To install the required libraries use:
npm install
[x] Generating an account
[x] Reviewing account info
[x] Reviewing account history
[x] Getting account balances
[x] Specifying a sender key
[x] Generating a token transfer transaction
[x] Broadcasting the transaction to the network
[x] Checking transaction completion
[x] Confirming updates account balances (optional)
git status
[x] Create a new Clarinet project
[x] Add a new Clarity contract to the project
[x] Populate the contract with 2 types of functions
[x] Execute the functions in a local, simulated blockchain
[x] Optionally, deploy and test the contract on the testnet blockchain
[x] Create a new Clarinet project
[x] Add a new Clarity contract to the project
[x] Populate the contract with a variable and read variable function
[x] Populate the contract with an increment and a decrement function
[x] Execute the functions in a local, simulated blockchain
[x] Optionally, deploy and test the contract on the testnet blockchain
[x] Set up a development environment with Clarinet
[x] Define codes for error handling
[x] Add a data storage variable with functions to get and set the variable
[x] Add a STX transfer function within the variable setter
[x] Develop a unit test to verify the contract works as expected
[x] Create a new Clarinet project
[x] Add contracts to the project, and set dependencies for those contracts
[x] Define an NFT contract based on the SIP-009 standard
[x] Verify the contract using Clarinet
[x] Optionally, deploy and test the contract on the testnet blockchain