You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The smart contract provides a resolver stub that implement CCIP Read (EIP 3668) and ENS wildcard resolution (ENSIP 10). When queried for a name, it directs the client to query the gateway server. When called back with the gateway server response, the resolver verifies the signature was produced by an authorised signer, and returns the response to the client.
The gateway server implements CCIP Read (EIP 3668), and answers requests by looking up the names on the registry Aleph Zero. Once a record is retrieved, it is signed using a user-provided key to assert its validity, and both record and signature are returned to the caller so they can be provided to the contract that initiated the request. It's designed to be deployed as a Cloudflare worker.
34
+
The server serves as both a EVM Registration Proxy (Relayer) and as a CCIP Read Resolver (Gateway) for ENS resolution.
34
35
35
-
### [Demo Client](packages/client)
36
+
-**Gateway**: Implements CCIP Read (EIP 3668), and answers requests by looking up the names on the registry Aleph Zero. Once a record is retrieved, it is signed using a user-provided key to assert its validity, and both record and signature are returned to the caller so they can be provided to the contract that initiated the request. It's designed to be deployed as a Cloudflare worker.
37
+
-**Relayer**: TODO @Nimish
38
+
39
+
### [Demo Client](packages/client/README.md)
36
40
37
41
A simple script that resolves a given domain through the ENS protocol (using the gateway server) and verifies the response with the result from the registry contracts directly on the Aleph Zero network.
38
42
@@ -44,7 +48,7 @@ A simple script that resolves a given domain through the ENS protocol (using the
44
48
> - Install [Bun](https://bun.sh/)
45
49
> - Clone this repository
46
50
47
-
1. Run the gateway server ([packages/gateway/README.md](packages/gateway/README.md))
51
+
1. Run the gateway server ([packages/server/README.md](packages/server/README.md))
48
52
1. Use the worker url as environment variable when deploying the contracts
49
53
2. Deploy the contracts ([packages/contracts/README.md](packages/contracts/README.md))
0 commit comments