Verax is a shared registry for storing attestations of public interest on EVM chains, designed to enhance data discoverability and consumption for dApps across the network.
Links • Repository Organisation • Contributing • Contracts Addresses • Linking Attestations • License
📚 Official documentation
🔍
Testnet GraphQL API
🔍 Mainnet GraphQL API
🧱 Verax SDK - WIP
🌍 Verax Explorer - Coming soon
.
├── contracts # All smart contracts needed to run Verax
├── explorer # Explorer frontend to discover the main objects
├── sdk # The Verax SDK to easily interact with the contracts and the subgraph
├── subgraph # The subgraph indexing Verax data
├── website # Verax website
Verax Attestation Registry is a community-led initiative, with developers from various companies and different backgrounds. While we are more than happy to get help from multiple sources, we need to rely on strong Ways of Working.
Don't hesitate to check our Contribution Guide before pushing your first code to the repo!
The main contracts (i.e. the "registries") and the helpers contracts are deployed on:
- Linea Testnet
- Linea Mainnet
- Arbitrum Testnet
- Arbitrum Mainnet
Here are the addresses on those networks:
Linea Testnet
- Router = 0x736c78b2f2cBf4F921E8551b2acB6A5Edc9177D5
- AttestationRegistry = 0xC765F28096F6121C2F2b82D35A4346280164428b
- ModuleRegistry = 0x1a20b2CFA134686306436D2c9f778D7eC6c43A43
- PortalRegistry = 0x506f88a5Ca8D5F001f2909b029738A40042e42a6
- SchemaRegistry = 0xB2c4Da1f8F08A0CA25862509E5431289BE2b598B
- AttestationReader = 0x65c8294C7aF0f0bDDe51eF92AF850613bb629fc6
Linea Mainnet
- Router = 0x4d3a380A03f3a18A5dC44b01119839D8674a552E
- AttestationRegistry = 0x3de3893aa4Cdea029e84e75223a152FD08315138
- ModuleRegistry = 0xf851513A732996F22542226341748f3C9978438f
- PortalRegistry = 0xd5d61e4ECDf6d46A63BfdC262af92544DFc19083
- SchemaRegistry = 0x0f95dCec4c7a93F2637eb13b655F2223ea036B59
- AttestationReader = 0x40871e247CF6b8fd8794c9c56bB5c2b8a4FA3B6c
Arbitrum Testnet
- Router = 0x746390cB11913d8F93BDF8a974cFEC724039B3Cc
- AttestationRegistry = 0xCD839595FdA5A8111d5E03D42d9D9af60ee67B66
- ModuleRegistry = 0x58EE79284bE65b217Db408A0991314f9Ae84348A
- PortalRegistry = 0x7d6a914C1e33C141CB4a5e0095c1075E5649aFB2
- SchemaRegistry = 0x129043e80e0B4C7da61a622df0912c31D3414AA7
- AttestationReader = 0x055E7d488eCACf9f1B0B42659c331C037505D4a1
Arbitrum Mainnet
- Router = 0xa77196867bB03D04786EF636cDdD82f37A1248a9
- AttestationRegistry = 0x335E9719e8eFE2a19A92E07BC4836160fC31cd7C
- ModuleRegistry = 0x3acF4daAB6cbc01546Dd4a96c9665B398d48A4ba
- PortalRegistry = 0x4042D0A54f997EE3a1b0F51e4813654199BFd8bD
- SchemaRegistry = 0xE96072F46EA0e42e538762dDc0aFa4ED8AE6Ec27
- AttestationReader = 0x324C060A26444c3fB9B93e03d31e8cfF4b1715C1
Verax Attestation Registry allows creating links ("relationships") between attestations.
🔗 Go to the official documentation
for more details
Verax offers 2 Schemas to cover most use cases:
- The Relationship Schema, with ID
0x41b8c81288eebbf173b2f54b9fb2f1d37f2caca51ef39e8f99299b53c2599a3a
- The Named Graph Relationship Schema with ID
0x8f83a0ef7871f63455a506f6bca0db98a88721764ae6dbde2afddd8e12e442b8
To handle large payloads to attest and avoid increasing the gas cost for the attestation process, it is possible to host
the attested payload off-chain. In this case, the on-chain attestation will only contain a link to the attested payload,
based on a dedicated Schema called Offchain. It is available with ID
0xa288e257097a4bed4166c002cb6911713edacc88e30b6cb2b0104df9c365327d
.
To use it, simply pass a payload with the following content:
{
"schemaId": "0x41b8c81288eebbf173b2f54b9fb2f1d37f2caca51ef39e8f99299b53c2599a3b",
"uri": "https://example.com/payload/123"
}
schemaId
: the ID of the Schema encoding the complete (off-chain) payloaduri
: the link to the complete (off-chain) payload