This crate is a port of @dcl/crypto
originally implemented on javascript and provides the necessary tools to create and validate
Decentraland's Authentication Chains.
To run all tests you need to provide a ethereum rpc endpoint.
First, create a .cargo/config.toml
file using the template provided in the repository and set your rpc provider.
cp .cargo/config.toml.example .cargo/config.toml
Once configured you can run all tests
cargo test --doc
⚠️ Do not modifypackage.version
onCargo.toml
Use Github Releases to create a new version.
- serialize and deserialize auth chains
- verify auth chains
- simple
- ephemeral
- verify auth chain expiration
- verify personal signatures
- verify EIP-1271 signatures
- create identity
- create auth chain from identity
- load identity from file
- release process
- build cache
- coverage
- publish cargo