23 releases

new 0.3.3 Apr 21, 2024
0.3.2 Mar 21, 2024
0.3.1 Dec 27, 2023
0.2.8 Dec 2, 2023
0.1.7 Sep 18, 2023

#1610 in Magic Beans

Download history 7/week @ 2023-12-24 4/week @ 2024-01-07 6/week @ 2024-01-21 1/week @ 2024-01-28 20/week @ 2024-02-25 32/week @ 2024-03-10 129/week @ 2024-03-17 5/week @ 2024-03-24 54/week @ 2024-03-31

209 downloads per month
Used in hadead

MIT/Apache

98KB
1.5K SLoC

Rust 823 SLoC // 0.3% comments JavaScript 561 SLoC // 0.1% comments

Crypto Contract Wallets.

๐Ÿ–ฒ Algorithms

  • ed25519 -> EdDSA
  • secp256k1 -> EC (compatible with all EVM based chains)
  • secp256r1 -> ECDSA

๐Ÿ› ๏ธ Setup on local

refer to https://docs.cossacklabs.com/themis/installation/installation-from-packages/ if you don't want to build themis from source.

wallet infos are inside wallexerr-keys folder in the root of the project.

refer to themis-wasm to see how to use themis inside js.

first clone the repo then install the followings:

wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb
sudo apt update -y && sudo apt upgrade && sudo apt install -y libpq-dev pkg-config build-essential libudev-dev libssl-dev librust-openssl-dev
git clone https://github.com/cossacklabs/themis.git
cd themis
make
sudo make install
# install themis on MacOS M1
brew install libthemis

๐ŸŽฏ Run

cargo run --bin wallexerr

๐Ÿงช Tests

cargo test # test all wallets
cargo test ed25519_test # test ed25519 wallet
cargo test secp256r1_test # test secp256r1 wallet
cargo test secp256k1_test # test secp256k1 wallet

Dependencies

~21โ€“33MB
~543K SLoC