Hexadecimal keys
Generating a raw hexadecimal key
Using hexadecimal keys is the easiest and fastest way to configure Hyperlane agents.
Hexadecimal keys are not recommended for production environments, for which AWS KMS keys are recommended.
Generate a hexadecimal key
Keep track of your address and private key for use with your agent.
Using Foundry's cast, you can create a new key pair:
cast wallet new
The output will look something like this:
Successfully created new keypair.
Address: 0x32e6d32E7b1C8691Ef4ad3841003371214a0eebC
Private Key: 0x2958f0eb2ab71bbfb5ea1422835e20e488778b61e3c107f369572e2b53b578f9
Last updated