Skip to content

Instantly share code, notes, and snippets.

$ hyperlane warp deploy
Hyperlane CLI
Hyperlane warp route deployment
------------------------------------------------
Using warp route deployment config at ./configs/warp-route-deployment.yaml
Warp route deployment plan
Deployment plan
===============
Using token standard ERC20
@0xmichalis
0xmichalis / router_storage_layout.md
Last active November 9, 2023 21:16
Hyperlane client router storage layout analysis

v1 storage layout:

├──OwnerUpgradeable
├──AbacusConnectionClient
│  ├──IAbacusConnectionManager public abacusConnectionManager;  <--|
│  ├──IInterchainGasPaymaster public interchainGasPaymaster;       |  50 slots
│  └──uint256[48] private __GAP;                                <--|
|
├──mapping(uint32 => bytes32) public routers;                   <--|
|                                                                  |  50 slots
@0xmichalis
0xmichalis / hmac.go
Created June 28, 2017 11:42
Create an HMAC secret
package main
import (
"crypto/rand"
"encoding/base64"
"fmt"
"os"
)
func GenerateRandomBytes(n int) ([]byte, error) {