Skip to main content

Sign Ed25519

Code Example

The following example will:

  1. Create a stronghold with a mnemonic.
  2. Sign foundry metadata.
sdk/examples/how_tos/sign_and_verify_ed25519/sign_ed25519.rs
loading...

Expected Output

Public key: 0x67b7fc3f78763c9394fc4fcdb52cf3a973b6e064bdc3defb40a6cb2c880e6f5c
Signature: 0x5437ee671f182507103c6ae2f6649083475019f2cc372e674be164577dd123edd7a76291ba88732bbe1fae39688b50a3678bce05c9ef32c9494b3968f4f07a01
Address: rms1qpllaj0pyveqfkwxmnngz2c488hfdtmfrj3wfkgxtk4gtyrax0jaxzt70zy