π΅π± ETH Warsaw Hackathon
This document provides documentation for integrating Chronicle Oracles into their ETH Warsaw Hackathon projects.
If you have any questions, donβt hesitate to reach out to our booth, or anyone wearing Chronicle hoodies
Chronicle Protocol Contractsβ
Scribeβ
Scribe is an efficient Schnorr multi-signature based Oracle. Its Chronicleβs new Oracle version enabling more than 60% gas savings.
https://github.com/chronicleprotocol/scribe
Self-Kisserβ
Chronicle oracleβs read functions are protected by a whitelist.
However, via the SelfKisser
contract you can whitelist (we call it kiss
) yourself permissionless.
How to kiss yourself (ie msg.sender
)?
$ cast send 0x0dcc19657007713483a5ca76e6a7bbe5f56ea37d "selfKiss(address)()" <oracle address you want you use>
Verify you are whitelisted (returns 1
ie true
if whitelisted) :
$ cast call <oracle address> "tolled(address)" <your address>
0x0000000000000000000000000000000000000000000000000000000000000001
For more info, see the SelfKisser
repo:
https://github.com/chronicleprotocol/self-kisser
The IChronicle Interface - or how to read Chronicle Oracles?β
The easiest way to read the oracle isβ¦. read() returns (uint)
.
$ cast call 0xc8A1F9461115EF3C1E84Da6515A88Ea49CA97660 "read()(uint)"
1656870000000000045440
You can find the whole interface definition here
Smart Contract Addresses on Sepolia networkβ
Some General Stuffβ
- How to install foundry?
- How to get Sepolia ETH?
- Got a Sepolia RPC handy?
- How to create a test wallet?
cast new wallet