Decentraland crypto (Rust)
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.
Test
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.
Once configured you can run all tests
Release
:warning: Do not modify
package.version
onCargo.toml
Use Github Releases to create a new version.
TODO
- 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