https://github.com/chronicleprotocol/scribe-chainlinklike
For everyone that took shortcuts during their Chainlink integration
https://github.com/chronicleprotocol/scribe-chainlinklike
Last synced: 5 months ago
JSON representation
For everyone that took shortcuts during their Chainlink integration
- Host: GitHub
- URL: https://github.com/chronicleprotocol/scribe-chainlinklike
- Owner: chronicleprotocol
- License: mit
- Created: 2023-10-16T12:15:24.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-23T14:03:07.000Z (over 1 year ago)
- Last Synced: 2025-10-10T22:30:07.664Z (9 months ago)
- Language: Solidity
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ScribeChainlinkLike • [](https://github.com/chronicleprotocol/scribe-chainlinklike/actions/workflows/fork-tests.yml) [](https://opensource.org/licenses/MIT)
The `ScribeChainlinkLike` contract enables integrating _Chronicle Protocol_'s oracle into immutable contracts that hardcoded Chainlink's decimals value.
Note that this contract is stateless and does not offer any configuration once deployed. Toll management is delegated to the respective Chronicle oracle.
## Installation
Install module via Foundry:
```bash
$ forge install chronicleprotocol/scribe-chainlinklike
```
## Contributing
The project uses the Foundry toolchain. You can find installation instructions [here](https://getfoundry.sh/).
Setup:
```bash
$ git clone https://github.com/chronicleprotocol/scribe-chainlinklike
$ cd scribe-chainlinklike/
$ forge install
```
Run tests:
Note to set the expected RPC URLs environment variables, see [`.env.example`](./.env.example).
```bash
$ forge test
$ forge test -vvvv # Run with full stack traces
```
Lint:
```bash
$ forge fmt [--check]
```
## Dependencies
- [chronicleprotocol/chronicle-std@v2](https://github.com/chronicleprotocol/chronicle-std/tree/v2)