https://github.com/wildonion/wallexerr
RSA (Asymmetric) Crypto Wallet Implementations using ECC Curves
https://github.com/wildonion/wallexerr
crypto cryptography ecdsa ed25519 elliptic-curve-cryptography rsa-cryptography secp256k1 secp256r1 wallet web3
Last synced: about 1 year ago
JSON representation
RSA (Asymmetric) Crypto Wallet Implementations using ECC Curves
- Host: GitHub
- URL: https://github.com/wildonion/wallexerr
- Owner: wildonion
- Created: 2023-08-29T06:30:52.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-21T16:13:38.000Z (about 2 years ago)
- Last Synced: 2025-03-25T09:02:07.268Z (about 1 year ago)
- Topics: crypto, cryptography, ecdsa, ed25519, elliptic-curve-cryptography, rsa-cryptography, secp256k1, secp256r1, wallet, web3
- Language: Rust
- Homepage: https://crates.io/crates/wallexerr
- Size: 154 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
> 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:
```bash
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
```bash
cargo run --bin wallexerr
```
### ๐งช Tests
```bash
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
```