A smart contract which acts as a marketplace for validation to be requested from third-party reviewers.
TODO: Add details on the data model, the assumptions it makes, and how the contract should be used (at a high level only, leaving specifics to the Rust docs)
This project has been tested and confirmed to work with
- Rust 1.66.0
- Provenance 1.13.0
- Go 1.19.3
- Run
make
in the root of this repository to generate an optimized contract WASM file atartifacts/validation_oracle_smart_contract.wasm
- if you have not already done so, clone Provenance and install its prerequisites
- In the cloned
provenance
directory, runmake clean build localnet-start
- Run the commands in
scripts/setup_vo_contract.sh
from within the Provenance directory (you may need to tune some values in the script first) - Run the commands in any other file in
scripts
from within the Provenance directory
Much of the code in this repository was copied or adapted from code by @hyperschwartz, primarily within the asset classification smart contract.