This repository contains an example implementation of a Guest Book smart contract in Rust, and an example of a frontend interacting with a deployed Guest Book contract
Warning
This example stores every message in the contract to show how contract state works. Production apps should not do this: contract storage requires staking NEAR, and the messages can be read back from the transactions that call add_message using an indexer. Learn more in A contract is not a backend.
- How to store values for different users and handle Token transfers
- How to interact with a smart contract on NEAR from a frontend
- Learn more about the contract through its README.
- Check our documentation.