A temporary crate for testing out utilities I hope get merged into twilight-util.
- Rust 100%
| src | ||
| .gitignore | ||
| Cargo.toml | ||
| README.md | ||
twilight-signature-validation
This library is meant as a temporary holding place for various approaches to doing ed25519 signature validation for webhook style Discord bots.
It should not be published to crates.io in its current state.
let app = Router::new().route(
"/",
post(post_interaction)
.layer(DiscordVerifierLayer::from_key_hex(b"<paste public key here>").unwrap())
);