From 18c2887486c69bb6d1bc338b3e9b8bd5a3c4267c Mon Sep 17 00:00:00 2001 From: Robert Zaremba Date: Tue, 30 Jan 2024 20:24:23 +0100 Subject: [PATCH] docs: update deployment information and IAH registry doc reference --- README.md | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index df67254..ca7e812 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,8 @@ Monorepository of contracts for the I am Human: proof of humanity protocol. List of contracts: -- `registry`: implements the SBT Registry, documented in the [NEP-393](https://github.com/near/NEPs/pull/393/) +- `registry`: implements the SBT Registry, documented in the [NEP-393](https://github.com/near/NEPs/pull/393/). + See [Registry README](./contracts/README.md) for a detailed documentation about the I Am Human registry, examples and information about extra queries and methods. Helper crates: @@ -39,34 +40,28 @@ Issuer calls `registry.sbt_mint` to mint new tokens. Each token must have specif Anyone can query registry to check token supply or query tokens by issuer or by owner. -### Additional Queries - -The IAH Registry supports the following extra queries, which are not part of the NEP-393 standard: - -- `is_human(account: AccountId) -> bool`: returns true, if the given account is not human as specified by the registry criteria. - ## Deployed contracts ### Mainnet Production: -- **SBT registry**: `registry.i-am-human.near` @ registry/v1.7.0 -- **Fractal**: `fractal.i-am-human.near` @ oracle/v1.0.1 +- **SBT registry**: `registry.i-am-human.near` @ registry/v1.8.0 +- **Fractal**: `fractal.i-am-human.near` @ oracle/v1.2.0 - verification pubkey base64: `"zqMwV9fTRoBOLXwt1mHxBAF3d0Rh9E9xwSAXR3/KL5E="` -- **Community SBTs**: `community.i-am-human.near` @ community-sbt/v4.3.0 +- **Community SBTs**: `community.i-am-human.near` @ community-sbt/v5.0.0 Max and default [TTL](./contracts/community-sbt/README.md#ttl) = 1year. classes: 1=OG, 2=NDC_Contributor, 3=NDC_Core_Contributors, 4=NDC_Champion, 5=NDC_Mod, 6=NDC_TechWG, 7=Creatives_DAO -- **Regens SBTs**: `issuer.regens.near` @ community-sbt/v4.3.0 +- **Regens SBTs**: `issuer.regens.near` @ community-sbt/v5.0.0 Max and default [TTL](./contracts/community-sbt/README.md#ttl) = 1year. classes: ProofOfRegen=1 -- **Proof of Vibes**: `issuer.proofofvibes.near` @ community-sbt/v4.3.0 +- **Proof of Vibes**: `issuer.proofofvibes.near` @ community-sbt/v5.0.0 Max and default [TTL](./contracts/community-sbt/README.md#ttl) = 1year. classes: Vibes=1 Mainnet Testing: -- `registry-v1.gwg-testing.near` @ registry/v1.7.0 +- `registry-v1.gwg-testing.near` @ registry/v1.8.0 IAH issuer: `(fractal.i-am-human.near, [1])` Deprecated: @@ -78,12 +73,12 @@ Deprecated: - **SBT registry**: Testnet registry is used to test the issuer behavior. For testing other integrations (eg polling, elections) use the testing-unstable version. Consult issuer contracts to validate which issuer is linked to which registry. We may consider adding migration to `registry-1` to make it compatible with the latest version. - - `registry-v2.i-am-human.testnet` @ registry/v1.7.0 (same as the prod version) - - `registry-unstable-v2.i-am-human.testnet` @ registry/v1.7.0 + - `registry-v2.i-am-human.testnet` @ registry/v1.8.0 (same as the prod version) + - `registry-unstable-v2.i-am-human.testnet` @ registry/v1.8.0 - **Demo SBT**: `sbt1.i-am-human.testnet` (the `demo_issuer` contract) -- **Fractal**: `fractal-v2.i-am-human.testnet` @ oracle/v1.0.1 +- **Fractal**: `fractal-v2.i-am-human.testnet` @ oracle/v1.2.0 registry: `registry-1.i-am-human.testnet`; Verification pubkey base64: `FGoAI6DXghOSK2ZaKVT/5lSP4X4JkoQQphv1FD4YRto=`, `claim_ttl`: 3600ms, FV class: 1 -- **Community-SBT**: `community-v2.i-am-human.testnet` @ community-sbt/v4.3.0 +- **Community-SBT**: `community-v2.i-am-human.testnet` @ community-sbt/v5.0.0 registry: `registry-v2.i-am-human.testnet` classes: 1=OG, 2=NDC_Contributor, 3=NDC_Core_Contributors, 4=NDC_Champion, 5=NDC_Mod, 6=NDC_TechWG, 7=Creatives_DAO Max and default [TTL](./contracts/community-sbt/README.md#ttl) = 1year.