Dojang Contracts

Here you can find the contract addresses that make up the Dojang service.

Testnet (GIWA Sepolia)

Attesters

Attester Name
Attester ID
Attester Address

UPBIT KOREA

0xd99b42e778498aa3c9c1f6a012359130252780511687a35982e8e52735453034

Schemas

Schema Name
Description
Schema Content
Schema ID
Schema UID

Verified Address

A wallet address that has been identity-verified by a trusted issuer.

bool isVerified

0x568eb581cdf80b03d3bdfa414f3203bfdcc4bba4e66355612bd0e879da812f06

0x072d75e18b2be4f89a13a7147240477481c4b526d5795802acba59046b426e08

Balance Root

A Merkle-tree summary of all users’ balances at a specific snapshot timestamp.

uint256 coinType,uint64 snapshotAt,uint192 leafCount,uint256 totalAmount,bytes32 root

0xf09c1384d860519bb4ea5bb2a45ab64b00a8d900d47fb79203663be6da21e06c

0x369faa9c2cd261c45be3db5e230b585f5f1abecf8e12be575bb543e917e6db52

Verified Balance

A user’s balance at a specific timestamp has been verified by a trusted issuer.

uint256 balance,bytes32 salt,bytes32[] proofs

0x06c3bd846f5ea60b0b6f5a835ef85fd8253b53f67917d6c690be628d032f841b

0x77bf88ca262cc63e1b185dccd870aacc5320b8987ef6c7169920f265fe6ab5e9

Verified Code

An off-chain authentication code issued to the user by the provider

bytes32 codeHash,string domain

0x68053e055c01ce9b3577f3162b36324bb195ebcb574c48e823480d205f06af9b

0x55ac1369dac97522d062b89ffdc4e752b48fbeba86915fdb956c7c2d0501d280

Contracts

Want to query Dojang data? Start with the DojangScroll contract from the list below.

Name
Description
Address

SchemaRegistry

Contract for querying and registering schemas

EAS

Contract for querying, issuing, and revoking attestations

SchemaBook

Contract that manages the list of schemas

DojangAttesterBook

Contract that manages the list of attesters

AttestationIndexer

Contract that indexes all Dojang attestations. Use this contract when querying.

AddressDojangResolver

Hook contract triggered when Verified Address attestations are issued or revoked

BalanceRootDojangResolver

Hook contract triggered when Balance Root attestations are issued or revoked

BalanceDojangResolver

Hook contract triggered when Verified Balance attestations are issued or revoked

VerifyCodeDojangResolver

Hook contract triggered when Verified Code attestations are issued or revoked

DojangScroll

Contract for easily querying Dojang data

Learn more

You can find the Dojang contract code in giwa-io/dojang repository.

Last updated