Skip to content

Commit

Permalink
feat: document deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
notrapha committed Apr 3, 2023
1 parent 871871a commit 5de00e0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ In a third terminal, run the demo app:

```bash
cd packages/clients
yarn
yarn build
yarn start -r $ENS_REGISTRY_ADDRESS test.test
```

Expand All @@ -67,9 +69,9 @@ If sucessful, it should show the following output

## Deployed contracts

- Linea goerli resolver = [...]
- Linea goerli resolver = 0x176569440293dF1fA85D0Eb342A92c6470D662f9
- goerli (gateway points to '[...]' ) = [...]
- goerli test domain = [...]
- goerli test domain = linearesolver.eth

## Deploy gateway

Expand All @@ -85,3 +87,5 @@ Deploy to app engine
```
gcloud app deploy goeril.app.yml
```

yarn start --l2_resolver_address $L2_RESOLVER_ADDRESS --helper_address $HELPER_ADDRESS --l1_provider_url https://goerli.infura.io/v3/<INFURA_KEY> --l2_provider_url https://goerli.infura.io/v3/<INFURA_KEY> --l1_chain_id 5 --l2_chain_id 5
6 changes: 4 additions & 2 deletions packages/contracts/scripts/deployL1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ async function main() {
const assertionHelper = await AssertionHelper.deploy();
await assertionHelper.deployed();
console.log(
`AssertionHelper deployed at HELPER_ADDRESS: ${assertionHelper.address}`
`AssertionHelper deployed at, HELPER_ADDRESS: ${assertionHelper.address}`
);

if (process.env.L2_RESOLVER_ADDRESS) {
Expand All @@ -30,7 +30,9 @@ async function main() {
L2_RESOLVER_ADDRESS
);
await lineaResolverStub.deployed();
console.log(`LineaResolverStub deployed to ${lineaResolverStub.address}`);
console.log(
`LineaResolverStub deployed to, ENS_REGISTRY_ADDRESS: ${lineaResolverStub.address}`
);
}

// We recommend this pattern to be able to use async/await everywhere
Expand Down

0 comments on commit 5de00e0

Please sign in to comment.