Sign Ed25519
Code Example
The following example will:
- Create a stronghold with a mnemonic.
- Sign foundry metadata.
- Rust
- Nodejs
- Python
sdk/examples/how_tos/sign_and_verify_ed25519/sign_ed25519.rs
loading...
bindings/nodejs/examples/how_tos/sign_and_verify_ed25519/sign-ed25519.ts
loading...
bindings/python/examples/how_tos/sign_and_verify_ed25519/sign_ed25519.py
loading...
Expected Output
Public key: 0x67b7fc3f78763c9394fc4fcdb52cf3a973b6e064bdc3defb40a6cb2c880e6f5c
Signature: 0x5437ee671f182507103c6ae2f6649083475019f2cc372e674be164577dd123edd7a76291ba88732bbe1fae39688b50a3678bce05c9ef32c9494b3968f4f07a01
Address: rms1qpllaj0pyveqfkwxmnngz2c488hfdtmfrj3wfkgxtk4gtyrax0jaxzt70zy