RedStone example on NEAR is a decentralized app that securely fetches prices of several assets.
- How to integrate smart contracts with RedStone oracles
- How to prepare frontend for redstone-powered smart contracts
Clone this repository locally. Then follow these steps:
npm install
Deploy your contract in a sandbox and simulate interactions from users.
npm test
Build the contract and deploy it in a testnet account
npm run deploy
Start the web application to interact with your smart contract
npm start
To learn more about integration with RedStone visit https://crates.io/crates/redstone-near-connector-rs