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
Composer can be deployed after the core spot is deployed (Step 4). It will not work until the two are linked.
Composer has default error handling mentioned in the docs
Path 2 - Existing repo with OFT
Block switching is not present in the default oft deploy script.
Switch to big block before deploying the oft - npx @layerzerolabs/hyperliquid-composer set-block --size big --network <testnet/mainnet> --log-level verbose --private-key $PRIVATE_KEY
Deploy the oft
Switch to small block after deploying the oft - npx @layerzerolabs/hyperliquid-composer set-block --size small --network <testnet/mainnet> --log-level verbose --private-key $PRIVATE_KEY
⚠️ If you are only doing HyperEVM you are done. Following is only for HyperCore deployments.
HyperCore balances are u64 - the max balance is 2.pow(64) - 1 = 18446744073709551615
Make sure the total balances in the json does not exceed this value.
Re-runnable until the next step is executed.
UserGenesis transactions stack : If you set the balance of address X to 18446744073709551615 and then set the balance of address Y to 18446744073709551615 after removing X from the json, the net effect is that both X and Y will have 18446744073709551615 tokens.
You can either mint the entire amount to the asset bridge address or the deployer address.
You can read more about the asset bridge address - in the docs
Trading fee share is usually 100% (default value) - this allocates the trading fees to the token deployer instead of burning it.
Do not lose or burn your deployer address as it collects tokens.
Step can be re-run as long as the new fee% is lower than the current one.
Important: If you plan to enable quote token capability (Step 2.8), read the Permissionless Spot Quote Assets documentation before setting this value as it requires a specific trading fee share
Even though the default value is 100%, it is recommended that you set it
Deployer script in the oft repo will deploy the composer - it also handles block switching.
Make sure the Composer's address is activated on HyperCore - transferring any spot amount on app.hyperliquid.xyz to the address will prompt you that you are paying $1 as an activation fee. app.hyperliquid-testnet.xyz should be used for a testnet deployment.
Composer is re-deployable and independent of the oft and does not need to be linked with anything.
Step 5 : Listing on spot order books
Action
Performed by
Actionable with
Required for
Spot Book Listing
Automatic
npx @layerzerolabs/hyperliquid-composer
HyperCore
Blocked by
CoreSpot Deployer
Step 2
none
This is automatically completed when all steps in Step 2 are completed.
Step 6 : Listing on perp order books
Action
Performed by
Actionable with
Required for
Perp Book Listing
Automatic
npx @layerzerolabs/hyperliquid-composer
HyperCore
Blocked by
CoreSpot Deployer
Step 2
none
This is controlled by the hyperliquid community - source
Hyperliquid currently supports trading of 100+ assets. Assets are added according to community input.