[package]
name = "molpha-verifier"
version = "0.2.1"
description = "Solana program library for verifying Molpha threshold-signed oracle updates"
edition = "2021"
license = "MIT"
readme = "README.md"
repository = "https://github.com/Molpha/molpha-verifier"
homepage = "https://molpha.io"
keywords = ["schnorr", "secp256k1", "oracle", "solana", "cryptography"]
categories = ["cryptography"]
[lib]
name = "molpha_verifier"
[features]
default = []
borsh = ["dep:borsh"]
[dependencies]
solana-keccak-hasher = { version = "3.1.0", features = ["sha3"] }
solana-secp256k1-recover = "3.1.1"
libsecp256k1 = { version = "0.6.0", default-features = false }
ethnum = { version = "1.5", default-features = false }
borsh = { version = "0.10.3", optional = true }
[dev-dependencies]
num-bigint = "0.4.6"
proptest = "1.6"
[[example]]
name = "verify_data_update"
required-features = ["borsh"]