From 8ff693911b068523f0c959604ef923145faeb194 Mon Sep 17 00:00:00 2001 From: ravinagill15 Date: Fri, 20 Feb 2026 11:52:19 -0800 Subject: [PATCH 1/2] doc updates --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9000ebd..d1ff861 100644 --- a/README.md +++ b/README.md @@ -117,10 +117,14 @@ If a caller address calls a function with role-base access control and does not c. If making changes to optional dvns, ensure `optionalDVNThreshold` within `layerzero-mainnet.config.ts` is updated as well -## Deploy contracts +5. Update `hardhat.config.ts` with the new chain's network configuration, similar to existing chains + +### Deploy contracts Run `npx hardhat lz:deploy --tags FRNTAdapter --networks --ci` +Ensure the newly deployed FRNTAdapter contract is added as a minter on the ERC20F token so that cross-chain transfers can be facilitated + ### Configure contracts First, initialize accounts on Solana: `npx hardhat lz:oft:solana:init-config --oapp-config layerzero-mainnet.config.ts --ci` @@ -128,3 +132,9 @@ First, initialize accounts on Solana: `npx hardhat lz:oft:solana:init-config --o Then to wire, run `npx hardhat lz:oapp:wire --oapp-config layerzero-mainnet.config.ts --ci` To transfer ownership, run `npx hardhat lz:ownable:transfer-ownership --oapp-config layerzero-mainnet.config.ts` + + +### Possible Failure Scenarios +1. Ensure RPCs are reliable. If using private RPCs, you can set it to the respective environment variable within `.env` + +2. Ensure there are enough funds for the deployer address on all chains. For instance, Solana requires at least 0.1 SOL of funds to deploy and configure contracts \ No newline at end of file From 11143285096f77546843d4d7011cfbe20864088c Mon Sep 17 00:00:00 2001 From: ravinagill15 Date: Fri, 20 Feb 2026 13:42:14 -0800 Subject: [PATCH 2/2] corrected role --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d1ff861..bb83d41 100644 --- a/README.md +++ b/README.md @@ -123,7 +123,7 @@ If a caller address calls a function with role-base access control and does not Run `npx hardhat lz:deploy --tags FRNTAdapter --networks --ci` -Ensure the newly deployed FRNTAdapter contract is added as a minter on the ERC20F token so that cross-chain transfers can be facilitated +Ensure the newly deployed FRNTAdapter contract is assigned the ADAPTER_ROLE on the ERC20F token so that cross-chain transfers can be facilitated ### Configure contracts