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
Copy file name to clipboardExpand all lines: examples/oft-hyperliquid/HYPERLIQUID.CHECKLIST.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,6 +104,7 @@ Block switching is not present in the default oft deploy script.
104
104
-[ ] Follow the [guide](https://github.com/LayerZero-Labs/devtools/blob/main/examples/oft-hyperliquid/HYPERLIQUID.README.md#step-56-createspotdeployment)
105
105
- Step MUST be run even though we set `noHyperliquidity=true` in genesis
106
106
- This can be run even after deployment and linking
107
+
-[ ] Run this step only before market makers are ready to provide liquidity. Otherwise users can trade your token at arbitrary prices.
Copy file name to clipboardExpand all lines: packages/hyperliquid-composer/HYPERLIQUID.README.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,7 @@ The system contracts are:
118
118
and `L1ActionPrecompiles`
119
119
120
120
-`0x0000000000000000000000000000000000000000` is one of the many `L1Read` precompiles.
121
-
-`0x3333333333333333333333333333333333333333` is the `L1WritePrecompile` and is used to send transactions to HyperCore.
121
+
-`0x3333333333333333333333333333333333333333` is the `CoreWriter` and is used to send transactions to HyperCore.
122
122
123
123
More `L1ActionPrecompiles` found [here](https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/hyperevm/interacting-with-hypercore).
124
124
@@ -229,7 +229,7 @@ struct SendParam {
229
229
}
230
230
```
231
231
232
-
Now that the token is with the `Composer` on HyperCore it then performs a `L1WritePrecompile` transaction to `0x33...333` (the `L1WritePrecompile` address) telling it to perform a `spot transfer` of the tokens from it's address to the `receiver`.
232
+
Now that the token is with the `Composer` on HyperCore it then performs a `CoreWriter` transaction to `0x33...333` (the `CoreWriter` address) telling it to perform a `spot transfer` of the tokens from it's address to the `receiver`.
233
233
234
234
It must be noted that due to the token decimal difference between the `EVM::ERC20` and `HyperCore::HIP1` the tokens you see on `HyperCore` would be different with the wei decimal different (`HIP1.decimals()` - `ERC20.decimals()` in range `[-2,18]`). But when converting them back from `HyperCore` to `HyperEVM` the token decimals gets restored.
235
235
@@ -284,11 +284,16 @@ function _sendAssetToHyperCore(
abi.encodePacked(hex"1600", action) // 1600 is the [version][actionId][actionBytes] - https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/hyperevm/interacting-with-hypercore#action-encoding-details
294
+
);
295
+
/// Transfers tokens from the composer address on HyperCore to the _receiver
0 commit comments