Skip to content

A guest book implemented in rust that lives on the NEAR blockchain

Notifications You must be signed in to change notification settings

virgiliolino/guest-book-rust

Repository files navigation

Guest Book 📖

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.

About

A guest book implemented in rust that lives on the NEAR blockchain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published