Skip to content

itplutoplutone350/myguest-book-rust

 
 

Repository files navigation

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.

About

A guest book that lives in the NEAR network

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 53.2%
  • Rust 13.4%
  • TypeScript 11.5%
  • SCSS 11.3%
  • HTML 5.8%
  • Shell 4.8%