Concordium / concordium-rust-smart-contracts

Libraries and tools for writing and testing smart contracts on Concordium
https://docs.rs/concordium-std/latest/concordium_std/
Mozilla Public License 2.0
57 stars 35 forks source link

Add example how to generate Ed25519 signature in the test case #357

Closed DOBEN closed 11 months ago

DOBEN commented 11 months ago

Purpose

It would be useful if we have test cases in our example smart contracts that showcase how to generate signatures in the test case directly side by side with our current approach of using external tools to create such signatures (e.g. https://cyphr.me/ed25519_tool/ed.html). This in-code signature generation would have simplified the umbrella smart contracts tests (checking ed25519 signatures) as well as simplified some of the cis3-sponsored-transaction smart contract tests (checking account signatures).

Changes