Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 1.8 KB

README.md

File metadata and controls

55 lines (39 loc) · 1.8 KB

Guest Book 📖

Build Status

The Guest Book is a simple app that stores messages from users, allowing to pay for a premium message.

What This Example Shows

  1. How to receive $NEAR on a contract.
  2. How to store and retrieve information from the blockchain.
  3. How to use a Vector.
  4. How to interact with a contract from React JS.

Quickstart

Clone this repository locally or open it in gitpod. Then follow these steps:

1. Install Dependencies

npm install

2. Test the Contract

Deploy your contract in a sandbox and simulate interactions from users.

npm test

3. Deploy the Contract

Build the contract and deploy it in a testnet account

npm run deploy

4. Start the Frontend

Start the web application to interact with your smart contract

npm start

Learn More

  1. Learn more about the contract through its README.
  2. Check our documentation.