https://github.com/rogervs/rwa_contracts
https://github.com/rogervs/rwa_contracts
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/rogervs/rwa_contracts
- Owner: rogervs
- License: mit
- Created: 2022-05-28T03:12:07.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-14T22:56:33.000Z (over 3 years ago)
- Last Synced: 2025-05-30T06:15:21.710Z (about 1 year ago)
- Language: Solidity
- Size: 88.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Contracts for the RWA_EA projects.
## The External Adapter that this talks to
https://github.com/rogervs/RWA_EA
## 5 Minute overview of what it does
[](https://www.youtube.com/watch?v=VxIKy8hyWeo)
## Notes
This needs to use [Operator.sol](https://github.com/smartcontractkit/chainlink/blob/develop/contracts/src/v0.7/Operator.sol) from version v0.7 . This will not work with `Oracle.sol`.
You will also need two bridges on your node to talk to the external adapter:
1. Name: `register_audit` URL: `http://localhost:8080/register_audit/`
2. Name: `conclude_audit` URL: `http://localhost:8080/conclude_audit/`
The job files need to be added to your node:
. `register_aduit_03.toml`
. `get_data_01.toml`
You will need to set the `Operator.sol` contract address for the oracle in both scripts.
Place the jobId's in brownie-config.yaml
You will need to create `.env` file, copied from `.env.example`. All the fields need to be filled out except for etherscan, but I highly recommend you do use it.