ArchID Name Service for Archway Network

Deployed mainnet contract (archway-1):

archway1275jwjpktae4y4y0cdq274a2m0jnpekhttnfuljm6n59wnpyd62qppqxq0

Deployed testnet contract (constantine-3):

archway1lr8rstt40s697hqpedv2nvt27f4cuccqwvly9gnvuszxmcevrlns60xw4r

Instantiate Registry contract: ```bash

Using Archway Developer CLI

archway instantiate --args '{ "admin": "archway1f395p0gg67mmfd5zcqvpnp9cxnu0hg6r9hfczq", "wallet": "archway1f395p0gg67mmfd5zcqvpnp9cxnu0hg6r9hfczq", "cw721": "tbd", "basecost": "250000000000000000", "baseexpiration": 31536000 }' ```

Configure Registry contract: ```bash

Using archwayd (e.g. add correct "cw721" value)

archwayd tx wasm execute archway1lr8rstt40s697hqpedv2nvt27f4cuccqwvly9gnvuszxmcevrlns60xw4r '{ "updateconfig": { "config": { "admin": "archway1f395p0gg67mmfd5zcqvpnp9cxnu0hg6r9hfczq", "wallet": "archway1f395p0gg67mmfd5zcqvpnp9cxnu0hg6r9hfczq", "cw721": "archway146htsfvftmq8fl26977w9xgdwmsptr2quuf7yyra4j0gttx32z3secq008", "basecost": "250000000000000000", "baseexpiration": 31536000 } } }' --from keplr --chain-id "constantine-3" --node "https://rpc.constantine.archway.tech:443" --broadcast-mode sync --output json -y --gas-prices $(archwayd q rewards estimate-fees 1 --node 'https://rpc.constantine.archway.tech:443' --output json | jq -r '.gasunit_price | (.amount + .denom)') ```

Register a domain: ```bash

Using Archway Developer CLI

archway tx --args '{ "register": {"name": "archid"}}' ```

```bash

Using archwayd

archwayd tx wasm execute archway1lr8rstt40s697hqpedv2nvt27f4cuccqwvly9gnvuszxmcevrlns60xw4r '{"register": {"name": "archid"}}' --from keplr --chain-id "constantine-3" --node "https://rpc.constantine.archway.tech:443" --broadcast-mode sync --output json -y --gas-prices $(archwayd q rewards estimate-fees 1 --node 'https://rpc.constantine.archway.tech:443' --output json | jq -r '.gasunitprice | (.amount + .denom)') ```

Resolve a record: ```bash

Using Archway Developer CLI

archway query contract-state smart --args '{"resolve_record": { "name": "archid.arch" }}' ```

```bash

Using archwayd

archwayd query wasm contract-state smart "archway1lr8rstt40s697hqpedv2nvt27f4cuccqwvly9gnvuszxmcevrlns60xw4r" '{"resolve_record": { "name": "archid.arch" }}' --node "https://rpc.constantine.archway.tech:443" ```