Skip to content

Commit

Permalink
Feat/dao 843 (#426)
Browse files Browse the repository at this point in the history
* feat: (wip) building block of rns doamin lookup

* feat: (wip) building block of rns doamin lookup

* feat: implement rsn domain resolution for delegation

* chore: lint fix

* fix: fix issue with dep vuln

* chore: dep fix

* chore: dep fix

* fix: include checksum validation

* chore: remove toLowerCase to keep checksum validation

* fix: fix bug with incorrect state reset

* fix: include checksum validation

* fix: lint
  • Loading branch information
LordCheta authored Dec 5, 2024
1 parent f8ef12c commit 466b8c4
Show file tree
Hide file tree
Showing 14 changed files with 5,649 additions and 3,650 deletions.
7 changes: 6 additions & 1 deletion .env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,9 @@ NEXT_PUBLIC_ENV_DATA_URL="https://raw.githubusercontent.com/RootstockCollective/
# OG NFT Contracts
NEXT_PUBLIC_OG_FOUNDERS=0x7E6d9969CAC008bAe5f7b144df3c955515404538
NEXT_PUBLIC_OG_PARTNERS=0x285046a90fb322E6BaCa4F38Bb884e3C0904F7EB
NEXT_PUBLIC_OG_CONTRIBUTORS=0xDC03B8fb7E47E4651f5008bD718a804726424A75
NEXT_PUBLIC_OG_CONTRIBUTORS=0xDC03B8fb7E47E4651f5008bD718a804726424A75

# RNS
NEXT_PUBLIC_RNS_REGISTRY_ADDRESS=0x7d284aaac6e925aad802a53c0c69efe3764597b8

NEXT_PUBLIC_NODE_URL=https://public-node.testnet.rsk.co
5 changes: 5 additions & 0 deletions .env.mainnet
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,8 @@ NEXT_PUBLIC_ENV_DATA_URL="https://raw.githubusercontent.com/RootstockCollective/
NEXT_PUBLIC_OG_FOUNDERS=0x0025e59f281bc06e7A54afe780673bd6A8D3a7E9
NEXT_PUBLIC_OG_PARTNERS=0x8158aBDAEdD7770F372031aC0AaB8FB4BC9ABe75
NEXT_PUBLIC_OG_CONTRIBUTORS=0x5b20eDd661a2B87A9C9AE55d3e3b09281Dc71C48

# RNS
NEXT_PUBLIC_RNS_REGISTRY_ADDRESS=0xcb868aeabd31e2b66f74e9a55cf064abb31a4ad5

NEXT_PUBLIC_NODE_URL=https://public-node.rsk.co
5 changes: 5 additions & 0 deletions .env.qa
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@ NEXT_PUBLIC_ENV_DATA_URL="https://raw.githubusercontent.com/RootstockCollective/
NEXT_PUBLIC_OG_FOUNDERS=0xCFEdEA1785321D4F1EceB7719A4B1a1f2c2Bc1fB
NEXT_PUBLIC_OG_PARTNERS=0x285046a90fb322E6BaCa4F38Bb884e3C0904F7EB
NEXT_PUBLIC_OG_CONTRIBUTORS=0xDC03B8fb7E47E4651f5008bD718a804726424A75

# RNS
NEXT_PUBLIC_RNS_REGISTRY_ADDRESS=0x7d284aaac6e925aad802a53c0c69efe3764597b8

NEXT_PUBLIC_NODE_URL=https://public-node.testnet.rsk.co
6 changes: 6 additions & 0 deletions .env.staging.mainnet
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,9 @@ NEXT_PUBLIC_ENV_DATA_URL="https://raw.githubusercontent.com/RootstockCollective/
NEXT_PUBLIC_OG_FOUNDERS=0x0025e59f281bc06e7A54afe780673bd6A8D3a7E9
NEXT_PUBLIC_OG_PARTNERS=0x8158aBDAEdD7770F372031aC0AaB8FB4BC9ABe75
NEXT_PUBLIC_OG_CONTRIBUTORS=0x5b20eDd661a2B87A9C9AE55d3e3b09281Dc71C48

# RNS
NEXT_PUBLIC_RNS_REGISTRY_ADDRESS=0xcb868aeabd31e2b66f74e9a55cf064abb31a4ad5

NEXT_PUBLIC_NODE_URL=https://public-node.rsk.co

7 changes: 6 additions & 1 deletion .env.testnet
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,9 @@ NEXT_PUBLIC_ENV_DATA_URL="https://raw.githubusercontent.com/RootstockCollective/
# OG NFT Contracts
NEXT_PUBLIC_OG_FOUNDERS=0x7E6d9969CAC008bAe5f7b144df3c955515404538
NEXT_PUBLIC_OG_PARTNERS=0x285046a90fb322E6BaCa4F38Bb884e3C0904F7EB
NEXT_PUBLIC_OG_CONTRIBUTORS=0xDC03B8fb7E47E4651f5008bD718a804726424A75
NEXT_PUBLIC_OG_CONTRIBUTORS=0xDC03B8fb7E47E4651f5008bD718a804726424A75

# RNS
NEXT_PUBLIC_RNS_REGISTRY_ADDRESS=0x7d284aaac6e925aad802a53c0c69efe3764597b8

NEXT_PUBLIC_NODE_URL=https://public-node.testnet.rsk.co
6 changes: 6 additions & 0 deletions .env.testnet.local
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,9 @@ NEXT_PUBLIC_OG_CONTRIBUTORS=0xDC03B8fb7E47E4651f5008bD718a804726424A75
NEXT_PUBLIC_ENABLE_CORS_BYPASS=true
NEXT_PUBLIC_ENABLE_FEATURE_V2_REWARDS=true

# RNS
NEXT_PUBLIC_RNS_REGISTRY_ADDRESS=0x7d284aaac6e925aad802a53c0c69efe3764597b8

NEXT_PUBLIC_NODE_URL=https://public-node.testnet.rsk.co


6 changes: 6 additions & 0 deletions .env.testnet.qa
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,9 @@ NEXT_PUBLIC_ENV_DATA_URL="https://raw.githubusercontent.com/RootstockCollective/
NEXT_PUBLIC_OG_FOUNDERS=0x7E6d9969CAC008bAe5f7b144df3c955515404538
NEXT_PUBLIC_OG_PARTNERS=0x285046a90fb322E6BaCa4F38Bb884e3C0904F7EB
NEXT_PUBLIC_OG_CONTRIBUTORS=0xDC03B8fb7E47E4651f5008bD718a804726424A75

# RNS
NEXT_PUBLIC_RNS_REGISTRY_ADDRESS=0x7d284aaac6e925aad802a53c0c69efe3764597b8

NEXT_PUBLIC_NODE_URL=https://public-node.testnet.rsk.co

6 changes: 6 additions & 0 deletions .env.testnet.staging
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,9 @@ NEXT_PUBLIC_ENV_DATA_URL="https://raw.githubusercontent.com/RootstockCollective/
NEXT_PUBLIC_OG_FOUNDERS=0x7E6d9969CAC008bAe5f7b144df3c955515404538
NEXT_PUBLIC_OG_PARTNERS=0x285046a90fb322E6BaCa4F38Bb884e3C0904F7EB
NEXT_PUBLIC_OG_CONTRIBUTORS=0xDC03B8fb7E47E4651f5008bD718a804726424A75

# RNS
NEXT_PUBLIC_RNS_REGISTRY_ADDRESS=0x7d284aaac6e925aad802a53c0c69efe3764597b8

NEXT_PUBLIC_NODE_URL=https://public-node.testnet.rsk.co

Loading

0 comments on commit 466b8c4

Please sign in to comment.