The Guest Book is a simple app that stores messages from users, allowing to pay for a premium message.
- How to receive $NEAR on a contract.
 - How to store and retrieve information from the blockchain.
 - How to use a 
Vector. - How to interact with a contract from 
React JS. 
Clone this repository locally or open it in gitpod. Then follow these steps:
npm installDeploy your contract in a sandbox and simulate interactions from users.
npm testBuild the contract and deploy it in a testnet account
npm run build
near deploy account_name.testnet contract/build/contract.wasmnear view librovisitas.testnet get_messages '{"from_index":0, "limit":10}'near call librovisitas.testnet add_message '{"text": "Primer mensaje"}' --accountId yairnava.testnetnear call owaguestbook.testnet add_message '{"text": "Primer mensaje premium"}' --amount 0.1 --accountId yairnava.testnetnear view guestbook1.testnet total_messages- Learn more about the contract through its README.
 - Check our documentation.
 
