Skip to content

Commit aa68dda

Browse files
fix(docs): FXRP — Firelight, Upshift, OFT auto-redeem, token interactions
1 parent f544ae6 commit aa68dda

17 files changed

Lines changed: 129 additions & 80 deletions

docs/fxrp/firelight/01-status.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ The `main()` function executes the following steps:
3737
3. **Get asset token information:** Retrieves the asset token's symbol and decimals for formatting.
3838
4. **Log asset information:** Displays the asset address, symbol, and decimals.
3939
5. **Log vault balances and exchange rate:** Shows total assets, total supply, and the current exchange rate.
40-
6. **Log period configuration:** Displays period timing and configuration. Firelight vaults operate on [period-based logic](https://docs.firelight.finance/technical-documents#period-based-logic).
40+
6. **Log period configuration:** Displays period timing and configuration.
41+
Firelight vaults operate on [period-based logic](https://docs.firelight.finance/technical-documents#period-based-logic).
4142
7. **Get and log user information:** Shows user balances and maximum limits for deposit, mint, withdraw, and redeem.
4243
8. **Log user withdrawals:** Displays pending withdrawals for current and previous periods.
4344

@@ -50,7 +51,7 @@ To run the Firelight vault status script:
5051
3. Run the script using Hardhat:
5152

5253
```bash
53-
npx hardhat run scripts/firelight/status.ts --network coston2
54+
yarn hardhat run scripts/firelight/status.ts --network coston2
5455
```
5556

5657
## Output

docs/fxrp/firelight/02-deposit.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ To run the Firelight vault deposit script:
4949

5050
1. Ensure you have the [Flare Hardhat Starter Kit](/network/guides/hardhat-foundry-starter-kit) set up.
5151
2. Update the `FIRELIGHT_VAULT_ADDRESS` constant with the correct vault address for your network.
52-
3. Adjust the `DEPOSIT_AMOUNT` constant to the desired number of tokens.
52+
3. Adjust the `tokensToDeposit` constant to the desired number of tokens.
5353
4. Ensure your account has sufficient asset balance (e.g., FXRP) to cover the deposit.
5454
5. Run the script using Hardhat:
5555

5656
```bash
57-
npx hardhat run scripts/firelight/deposit.ts --network coston2
57+
yarn hardhat run scripts/firelight/deposit.ts --network coston2
5858
```
5959

6060
## Output

docs/fxrp/firelight/03-mint.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ To run the Firelight vault mint script:
5050

5151
1. Ensure you have the [Flare Hardhat Starter Kit](/network/guides/hardhat-foundry-starter-kit) set up.
5252
2. Update the `FIRELIGHT_VAULT_ADDRESS` constant with the correct vault address for your network.
53-
3. Adjust the `SHARES_TO_MINT` constant to the desired number of shares.
53+
3. Adjust the `sharesToMint` constant to the desired number of shares.
5454
4. Ensure your account has sufficient asset balance (e.g., FXRP) to cover the minting cost.
5555
5. Run the script using Hardhat:
5656

5757
```bash
58-
npx hardhat run scripts/firelight/mint.ts --network coston2
58+
yarn hardhat run scripts/firelight/mint.ts --network coston2
5959
```
6060

6161
## Output

docs/fxrp/firelight/04-withdraw.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ To run the Firelight vault withdraw script:
6060

6161
1. Ensure you have the [Flare Hardhat Starter Kit](/network/guides/hardhat-foundry-starter-kit) set up.
6262
2. Update the `FIRELIGHT_VAULT_ADDRESS` constant with the correct vault address for your network.
63-
3. Adjust the `WITHDRAW_AMOUNT` constant to the desired number of tokens.
63+
3. Adjust the `tokensToWithdraw` constant to the desired number of tokens.
6464
4. Ensure your account has sufficient vault shares to cover the withdrawal.
6565
5. Run the script using Hardhat:
6666

6767
```bash
68-
npx hardhat run scripts/firelight/withdraw.ts --network coston2
68+
yarn hardhat run scripts/firelight/withdraw.ts --network coston2
6969
```
7070

7171
## Output

docs/fxrp/firelight/05-redeem.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ import FirelightRedeem from "!!raw-loader!/examples/developer-hub-javascript/fir
1313
This guide demonstrates how to create a redemption request from a Firelight vault.
1414
The Firelight vault implements the [ERC-4626](https://eips.ethereum.org/EIPS/eip-4626) standard and uses a [period-based logic](https://docs.firelight.finance/technical-documents#period-based-logic) for redemptions.
1515

16-
Redeeming shares burns vault shares and allows assets to be withdrawn. Redemptions create a withdrawal request that is processed after the current period ends.
16+
Redeeming shares burns vault shares and allows assets to be withdrawn.
17+
Redemptions create a withdrawal request that is processed after the current period ends.
1718
The assets are not immediately transferred; they must be claimed once the period has ended.
1819

1920
## Prerequisites
@@ -60,12 +61,12 @@ To run the Firelight vault redeem script:
6061

6162
1. Ensure you have the [Flare Hardhat Starter Kit](/network/guides/hardhat-foundry-starter-kit) set up.
6263
2. Update the `FIRELIGHT_VAULT_ADDRESS` constant with the correct vault address for your network.
63-
3. Adjust the `SHARES_TO_REDEEM` constant to the desired number of shares.
64+
3. Adjust the `sharesToRedeem` constant to the desired number of shares.
6465
4. Ensure your account has sufficient vault shares to cover the redemption.
6566
5. Run the script using Hardhat:
6667

6768
```bash
68-
npx hardhat run scripts/firelight/redeem.ts --network coston2
69+
yarn hardhat run scripts/firelight/redeem.ts --network coston2
6970
```
7071

7172
## Output

docs/fxrp/firelight/06-claim.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ To run the Firelight vault claim script:
6666
4. Run the script using Hardhat:
6767

6868
```bash
69-
npx hardhat run scripts/firelight/claim.ts --network coston2
69+
yarn hardhat run scripts/firelight/claim.ts --network coston2
7070
```
7171

7272
## Output

docs/fxrp/oft/fassets-autoredeem.mdx

Lines changed: 40 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ This guide covers four key functionalities:
3333
- [LayerZero Composer](https://docs.layerzero.network/v2/developers/evm/oft/composing) pattern for executing custom logic (like FAsset redemption) automatically when tokens arrive on the destination chain.
3434
- [Hyperliquid spotSend API](https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#spot-transfer) for transferring tokens between HyperCore and HyperEVM.
3535

36-
A shared [`FAssetRedeemComposer`](https://coston2-explorer.flare.network/address/0x80c5ebBD65b4857CA2f917EAB1e9F83bcC947c52?tab=contract) contract is pre-deployed on Coston2, so users do not need to deploy their own. This guide includes four TypeScript scripts (`bridgeToHyperEVM.ts`, `bridgeToHyperCore.ts`, `autoRedeemFromHyperEVM.ts`, and `autoRedeemFromHyperCore.ts`) that demonstrate the complete workflows.
36+
A shared [`FAssetRedeemComposer`](https://coston2-explorer.flare.network/address/0xa10569DFb38FE7Be211aCe4E4A566Cea387023b0?tab=contract) contract is pre-deployed on Coston2, so users do not need to deploy their own.
37+
This guide includes four TypeScript scripts (`bridgeToHyperEVM.ts`, `bridgeToHyperCore.ts`, `autoRedeemFromHyperEVM.ts`, and `autoRedeemFromHyperCore.ts`) that demonstrate the complete workflows.
3738

3839
Clone the [Flare Hardhat Starter](https://github.com/flare-foundation/flare-hardhat-starter) to follow along.
3940

@@ -77,7 +78,7 @@ yarn hardhat run scripts/fassets/autoRedeemFromHyperEVM.ts --network hyperliquid
7778

7879
### What It Is
7980

80-
The [`FAssetRedeemComposer`](https://coston2-explorer.flare.network/address/0x80c5ebBD65b4857CA2f917EAB1e9F83bcC947c52?tab=contract) is a shared LayerZero Composer contract **pre-deployed on Coston2** that automatically redeems FAssets to their underlying assets when tokens arrive via LayerZero's compose message feature.
81+
The [`FAssetRedeemComposer`](https://coston2-explorer.flare.network/address/0xa10569DFb38FE7Be211aCe4E4A566Cea387023b0?tab=contract) is a shared LayerZero Composer contract **pre-deployed on Coston2** that automatically redeems FAssets to their underlying assets when tokens arrive via LayerZero's compose message feature.
8182

8283
### How It Works
8384

@@ -114,15 +115,16 @@ const composeMsg = web3.eth.abi.encodeParameters(
114115

115116
### Executor Fee
116117

117-
The `lzCompose` call must include native value to cover the executor fee on Coston2. This is set via `addExecutorLzComposeOption`:
118+
The `lzCompose` call must include native value to cover the executor fee on Coston2.
119+
This is set via `addExecutorLzComposeOption`:
118120

119121
```typescript
120122
const options = Options.newOptions()
121123
.addExecutorLzReceiveOption(EXECUTOR_GAS, 0)
122124
.addExecutorComposeOption(0, COMPOSE_GAS, COMPOSE_VALUE);
123125
```
124126

125-
The current executor fee can be queried via `getExecutorData()` on the [composer contract](https://coston2-explorer.flare.network/address/0x80c5ebBD65b4857CA2f917EAB1e9F83bcC947c52?tab=contract).
127+
The current executor fee can be queried via `getExecutorData()` on the [composer contract](https://coston2-explorer.flare.network/address/0xa10569DFb38FE7Be211aCe4E4A566Cea387023b0?tab=contract).
126128

127129
### Contract Source
128130

@@ -133,7 +135,7 @@ The current executor fee can be queried via `getExecutorData()` on the [composer
133135
{FassetRedeemComposer}
134136
</CodeBlock>
135137

136-
The full verified source is available on the [Coston2 explorer](https://coston2-explorer.flare.network/address/0x80c5ebBD65b4857CA2f917EAB1e9F83bcC947c52?tab=contract).
138+
The full verified source is available on the [Coston2 explorer](https://coston2-explorer.flare.network/address/0xa10569DFb38FE7Be211aCe4E4A566Cea387023b0?tab=contract).
137139

138140
</details>
139141

@@ -168,7 +170,7 @@ You must successfully complete this step before running the `autoRedeemFromHyper
168170
- Approves OFT Adapter to spend FTestXRP.
169171
- Approves Composer (if needed for future operations).
170172
4. **Build Send Parameters**:
171-
- Destination: Hyperliquid EVM Testnet (EndpointID for Hyperliquid Testnet: `40294`).
173+
- Destination: Hyperliquid EVM Testnet (EndpointID for Hyperliquid Testnet: `40362`).
172174
- Recipient: Same address on destination chain.
173175
- Amount: Calculated from configured lots (default 1 lot, with 10% buffer for safety).
174176
- LayerZero options: Executor gas limit set to 200,000.
@@ -216,7 +218,7 @@ This gets your FXRP tokens onto Hyperliquid EVM.
216218
# .env file
217219
COSTON2_RPC_URL=https://coston2-api.flare.network/ext/C/rpc
218220
DEPLOYER_PRIVATE_KEY=your_private_key_here
219-
COSTON2_COMPOSER=0x80c5ebBD65b4857CA2f917EAB1e9F83bcC947c52
221+
COSTON2_COMPOSER=0xa10569DFb38FE7Be211aCe4E4A566Cea387023b0
220222
```
221223

222224
3. **Run the Script on Flare Testnet Coston2**:
@@ -341,7 +343,7 @@ sequenceDiagram
341343
- Executor gas for `lzReceive()`: 200,000
342344
- Compose gas for `lzCompose()`: 300,000
343345
7. **Build Send Parameters**:
344-
- Destination: HyperEVM (EndpointID for Hyperliquid Testnet: `40294`).
346+
- Destination: HyperEVM (EndpointID for Hyperliquid Testnet: `40362`).
345347
- Recipient: HyperliquidComposer contract (not user address).
346348
- Amount: Calculated from configured lots (default 1 lot, with 10% buffer).
347349
8. **Quote Fee**: Calculates the LayerZero cross-chain messaging fee.
@@ -355,8 +357,8 @@ sequenceDiagram
355357
- C2FLR tokens (for gas fees + LayerZero fees).
356358
You can get some from the Flare Testnet [faucet](https://faucet.flare.network/).
357359
- **Deployed Contracts**:
358-
- HyperliquidComposer must be deployed on HyperEVM Testnet.
359-
- Set `COSTON2_COMPOSER=0x80c5ebBD65b4857CA2f917EAB1e9F83bcC947c52` in `.env`.
360+
- HyperliquidComposer must be deployed on HyperEVM Testnet by you (see [Bridge FXRP to HyperCore](#bridge-fxrp-to-hypercore)).
361+
- Set `HYPERLIQUID_COMPOSER=0x...` in `.env` (your HyperEVM composer address).
360362

361363
### Configuration
362364

@@ -488,7 +490,7 @@ It uses LayerZero's compose feature to trigger the `FAssetRedeemComposer` contra
488490

489491
- You must have FXRP OFT tokens on Hyperliquid EVM Testnet.
490492
- If you don't have FXRP on Hyperliquid, run `bridgeToHyperEVM.ts` first ([Step 1](#step-1-bridge-fxrp-to-hyperliquid-evm-required-first)).
491-
- The shared FAssetRedeemComposer is pre-deployed on Coston2 at `0x80c5ebBD65b4857CA2f917EAB1e9F83bcC947c52`.
493+
- The shared FAssetRedeemComposer is pre-deployed on Coston2 at `0xa10569DFb38FE7Be211aCe4E4A566Cea387023b0`.
492494

493495
### How It Works
494496

@@ -531,7 +533,7 @@ sequenceDiagram
531533
- Executor gas for `lzReceive()`: 1,000,000
532534
- Compose gas for `lzCompose()`: 1,000,000
533535
6. **Build Send Parameters**:
534-
- Destination: Coston2 (Endpoint ID: `40296`).
536+
- Destination: Coston2 (Endpoint ID: `40294`).
535537
- Recipient: FAssetRedeemComposer contract.
536538
- Amount: Calculated from configured lots (default 1 lot).
537539
- Compose message included
@@ -547,8 +549,8 @@ sequenceDiagram
547549
- FXRP OFT tokens on Hyperliquid (amount you want to redeem).
548550
- HYPE tokens (for gas fees + LayerZero fees).
549551
- **Deployed Contracts**:
550-
- The shared FAssetRedeemComposer is pre-deployed on Coston2 at `0x80c5ebBD65b4857CA2f917EAB1e9F83bcC947c52`.
551-
- Set `COSTON2_COMPOSER=0x80c5ebBD65b4857CA2f917EAB1e9F83bcC947c52` in `.env`.
552+
- The shared FAssetRedeemComposer is pre-deployed on Coston2 at `0xa10569DFb38FE7Be211aCe4E4A566Cea387023b0`.
553+
- Set `COSTON2_COMPOSER=0xa10569DFb38FE7Be211aCe4E4A566Cea387023b0` in `.env`.
552554

553555
### Configuration
554556

@@ -562,7 +564,7 @@ const CONFIG = {
562564
// Shared FAssetRedeemComposer (pre-deployed on Coston2)
563565
COSTON2_COMPOSER:
564566
process.env.COSTON2_COMPOSER ||
565-
"0x80c5ebBD65b4857CA2f917EAB1e9F83bcC947c52",
567+
"0xa10569DFb38FE7Be211aCe4E4A566Cea387023b0",
566568
COSTON2_EID: EndpointId.FLARE_V2_TESTNET,
567569
EXECUTOR_GAS: 1_000_000, // Gas for receiving on Coston2
568570
COMPOSE_GAS: 1_000_000, // Gas for compose execution
@@ -585,17 +587,15 @@ If you don't have FXRP on Hyperliquid yet:
585587

586588
Once you have FXRP on Hyperliquid:
587589

588-
````
589-
590590
2. **Configure Environment**:
591591

592592
```bash
593593
# .env file
594594
HYPERLIQUID_TESTNET_RPC_URL=https://api.hyperliquid-testnet.xyz/evm
595595
DEPLOYER_PRIVATE_KEY=your_private_key_here
596-
COSTON2_COMPOSER=0x80c5ebBD65b4857CA2f917EAB1e9F83bcC947c52
596+
COSTON2_COMPOSER=0xa10569DFb38FE7Be211aCe4E4A566Cea387023b0
597597
HYPERLIQUID_FXRP_OFT=0x14bfb521e318fc3d5e92A8462C65079BC7d4284c
598-
````
598+
```
599599

600600
3. **Update XRP Address**:
601601
- Edit `CONFIG.XRP_ADDRESS` in the script to your XRP ledger address
@@ -678,7 +678,7 @@ Tokens must be transferred from HyperCore to HyperEVM before they can be bridged
678678

679679
- You must have FXRP tokens in your HyperCore spot wallet.
680680
- You need HYPE tokens on HyperEVM for LayerZero fees.
681-
- The shared FAssetRedeemComposer is pre-deployed on Coston2 at `0x80c5ebBD65b4857CA2f917EAB1e9F83bcC947c52`.
681+
- The shared FAssetRedeemComposer is pre-deployed on Coston2 at `0xa10569DFb38FE7Be211aCe4E4A566Cea387023b0`.
682682

683683
### How It Works
684684

@@ -775,8 +775,8 @@ FXRP_SYSTEM_ADDRESS: "0x20000000000000000000000000000000000005a3";
775775
- FXRP tokens in your HyperCore spot wallet (amount you want to redeem).
776776
- HYPE tokens on HyperEVM (for gas fees + LayerZero fees).
777777
- **Deployed Contracts**:
778-
- The shared FAssetRedeemComposer is pre-deployed on Coston2 at `0x80c5ebBD65b4857CA2f917EAB1e9F83bcC947c52`.
779-
- Set `COSTON2_COMPOSER=0x80c5ebBD65b4857CA2f917EAB1e9F83bcC947c52` in `.env`.
778+
- The shared FAssetRedeemComposer is pre-deployed on Coston2 at `0xa10569DFb38FE7Be211aCe4E4A566Cea387023b0`.
779+
- Set `COSTON2_COMPOSER=0xa10569DFb38FE7Be211aCe4E4A566Cea387023b0` in `.env`.
780780

781781
### Configuration
782782

@@ -796,7 +796,7 @@ const CONFIG = {
796796
// Shared FAssetRedeemComposer (pre-deployed on Coston2)
797797
COSTON2_COMPOSER:
798798
process.env.COSTON2_COMPOSER ||
799-
"0x80c5ebBD65b4857CA2f917EAB1e9F83bcC947c52",
799+
"0xa10569DFb38FE7Be211aCe4E4A566Cea387023b0",
800800
COSTON2_EID: EndpointId.FLARE_V2_TESTNET,
801801
EXECUTOR_GAS: 1_000_000, // Gas for receiving on Coston2
802802
COMPOSE_GAS: 1_000_000, // Gas for compose execution
@@ -812,18 +812,16 @@ const CONFIG = {
812812

813813
**PREREQUISITE: You must have FXRP tokens in your HyperCore spot wallet before running this script.**
814814

815-
````
816-
817815
2. **Configure Environment**:
818816

819817
```bash
820818
# .env file
821819
HYPERLIQUID_TESTNET_RPC_URL=https://api.hyperliquid-testnet.xyz/evm
822820
DEPLOYER_PRIVATE_KEY=your_private_key_here
823-
COSTON2_COMPOSER=0x80c5ebBD65b4857CA2f917EAB1e9F83bcC947c52
821+
HYPERLIQUID_COMPOSER=0x... # Composer deployed on HyperEVM by you (see Step 1.1)
824822
HYPERLIQUID_FXRP_OFT=0x14bfb521e318fc3d5e92A8462C65079BC7d4284c
825823
XRP_ADDRESS=rYourXRPAddressHere # Your XRP ledger address
826-
````
824+
```
827825

828826
3. **Ensure you have FXRP on HyperCore**:
829827
- Bridge FXRP to HyperCore using `bridgeToHyperEVM.ts` followed by a transfer to HyperCore.
@@ -843,7 +841,7 @@ FXRP Auto-Redemption from HyperCore
843841
HyperCore → HyperEVM → Coston2 → XRP Ledger
844842
============================================================
845843
Using account: 0x742d35Cc6634C0532925a3b844Bc454e4438f44e
846-
✓ Coston2 Composer configured: 0x80c5ebBD65b4857CA2f917EAB1e9F83bcC947c52
844+
✓ Coston2 Composer configured: 0xa10569DFb38FE7Be211aCe4E4A566Cea387023b0
847845
848846
📊 Checking HyperCore spot balance...
849847
HyperCore FXRP balance: 25.0
@@ -873,7 +871,7 @@ Compose message encoded for auto-redemption
873871
874872
📤 Step 2: Sending FXRP from HyperEVM to Coston2 with auto-redeem...
875873
Amount: 10.0 FXRP
876-
Target composer: 0x80c5ebBD65b4857CA2f917EAB1e9F83bcC947c52
874+
Target composer: 0xa10569DFb38FE7Be211aCe4E4A566Cea387023b0
877875
XRP destination: rpHuw4bKSjonKRrKKVYYVedg1jyPrmp
878876
879877
✓ Transaction sent: 0xabc123...
@@ -928,16 +926,19 @@ XRP will be sent to: rpHuw4bKSjonKRrKKVYYVedg1jyPrmp
928926
A: Typically 2-5 minutes for LayerZero message delivery + execution time.
929927

930928
**Q: What's the minimum amount I can bridge?**
931-
A: Any amount for bridging to Hyperliquid. For auto-redeem, minimum is 1 [lot](https://dev.flare.network/fassets/minting#lots) (10 FXRP for XRP).
929+
A: Any amount for bridging to Hyperliquid.
930+
For auto-redeem, minimum is 1 [lot](https://dev.flare.network/fassets/minting#lots) (10 FXRP for XRP).
932931

933932
**Q: Can I bridge to a different address?**
934933
A: Yes, edit the `recipientAddress` parameter in the scripts.
935934

936935
**Q: What happens if compose execution fails?**
937-
A: Tokens will be stuck in the composer. Owner can recover using `recoverTokens()`.
936+
A: Tokens will be stuck in the composer.
937+
Owner can recover using `recoverTokens()`.
938938

939939
**Q: Can I use this on mainnet?**
940-
A: This is designed for testnet. For mainnet, update contract addresses, thoroughly test, and audit all code.
940+
A: This is designed for testnet.
941+
For mainnet, update contract addresses, thoroughly test, and audit all code.
941942

942943
**Q: How do I get FTestXRP on Flare Testnet Coston2?**
943944
A: Use Flare's FAsset minting process via the AssetManager contract.
@@ -946,10 +947,13 @@ A: Use Flare's FAsset minting process via the AssetManager contract.
946947
A: Get them from Hyperliquid testnet [faucet](https://hyperliquid.gitbook.io/hyperliquid-docs/onboarding/testnet-faucet) or DEX.
947948

948949
**Q: What's the difference between HyperCore and HyperEVM?**
949-
A: HyperCore is Hyperliquid's high-performance spot trading layer where tokens are held in spot wallets. HyperEVM is Hyperliquid's EVM-compatible execution environment where tokens exist as ERC-20s. You need to transfer tokens from HyperCore to HyperEVM before bridging via LayerZero.
950+
A: HyperCore is Hyperliquid's high-performance spot trading layer where tokens are held in spot wallets.
951+
HyperEVM is Hyperliquid's EVM-compatible execution environment where tokens exist as ERC-20s.
952+
You need to transfer tokens from HyperCore to HyperEVM before bridging via LayerZero.
950953

951954
**Q: Why does the HyperCore transfer use Arbitrum's chainId?**
952-
A: Hyperliquid's API requires Arbitrum's chainId (42161) for all EIP-712 signatures. This is a legacy requirement from when Hyperliquid settled on Arbitrum.
955+
A: Hyperliquid's API requires Arbitrum's chainId (42161) for all EIP-712 signatures.
956+
This is a legacy requirement from when Hyperliquid settled on Arbitrum.
953957

954958
## Discovering Available Bridge Routes
955959

@@ -974,7 +978,7 @@ This script:
974978
#### How to Run
975979

976980
```bash
977-
yarn hardhat run scripts/layerzero/getOFTPeers.ts --network coston2
981+
yarn hardhat run scripts/layerZero/getOFTPeers.ts --network coston2
978982
```
979983

980984
#### Expected Output
@@ -1020,7 +1024,7 @@ Once you've identified available peers, you can:
10201024
<details>
10211025
<summary>View `getOftPeers.ts` source code</summary>
10221026

1023-
<CodeBlock language="typescript" title="scripts/layerzero/getOFTPeers.ts">
1027+
<CodeBlock language="typescript" title="scripts/layerZero/getOFTPeers.ts">
10241028
{getOftPeers}
10251029
</CodeBlock>
10261030

0 commit comments

Comments
 (0)