Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AzeroID off-chain resolver implementation #1

Merged
merged 14 commits into from
Sep 8, 2024

Conversation

realnimish
Copy link
Collaborator

@realnimish realnimish commented Aug 8, 2024

Usage example:

Installation:
Run the following command from the root directory

yarn && yarn build

Start the gateway server:

  1. Set appropriate TLDs and their target registry in ./packages/gateway/src/supported-tlds.json (optional)
  2. Run the following command from root directory
yarn start:gateway \
--private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 \
--provider-url wss://ws.test.azero.dev

Deploy OffchainResolver (one time only):

  1. cd packages/contracts/
  2. Set the env variables (for more info checkout contracts/README#Deployment Instructions)
export DEPLOYER_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
export SIGNER_ADDR=0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
  1. Execute ./deploy.sh (by default deploys on Sepolia; customisable by NETWORK env variable)
  2. Note down the contract address and set your ENS domain resolver to it.

Copy link
Member

@wottpal wottpal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add a concrete usage example in the PR description or README?

@realnimish realnimish requested a review from wottpal September 6, 2024 19:42
@realnimish realnimish merged commit 260466a into main Sep 8, 2024
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants