Near Ideas is a Rust Smart Contract project to crowdsource ideas for the Near Protocol. It allows users to add new ideas, remove ideas, or generate previously submitted ideas. This smart contract was built off the Near starter kit.
- Rust 1.58 + cargo
- Node.js
- NEAR CLI 3.1
- To submit a new idea:
near call learnrust.bctoh.testnet add_idea '{"title": "New Idea"}' --account-id youraccount.testnet
- To remove an idea:
near call learnrust.bctoh.testnet remove_idea '{"index": _SPECIFY-INDEX-NUMBER-HERE-IN-INT_} --account-id youraccount.testnet
- To get a specific idea:
near call learnrust.bctoh.testnet get_idea '{"index": _SPECIFY-INDEX-NUMBER-HERE-IN-INT_}' --accountId youraccount.testnet