- Current version of Node.js <=v16.14.2
- Install dependencies:
yarn install
- [near-cli] is a command line interface (CLI) for interacting with the NEAR blockchain.
npm install -g near-cli
- clone this repo to a local folder
- run
yarn build:release
to build the app - run
yarn deploy
to deploy the app to the NEAR testnet - run
export CONTRACT=YOUR_DEV_ACCOUNT_HERE
- This function creates travel guide on the NEAR blockchain.
- This function updates travel guide on the NEAR blockchain. all information can be updated.
- This function deletes travel guide by id on the NEAR blockchain.
- This function returns all travel guide on the NEAR blockchain.
- This function returns travel guide by id on the NEAR blockchain.