README.md
April 3, 2023 ยท View on GitHub
Tesseract Developer Wallet is designed to help you test your dApp integration with Wallets through Tesseract dApp/Wallet integration protocol
How to use
Install the wallet, by providing prerequisites and following the installation instructions.
Once the wallet is installed, you can just call Tesseract methods from within your dApp and it will show you the option to choose Developer Wallet when you try to request a public key or sign a transaction.
Supported protocols
- Substrate/Polkadot
- Tesseract Test Protocol
- Please, crate a github issue to request your blockchain support or contact us by e-mail
Prerequisites
Common prerequisites
Install Rust Environment (nightly) from here.
Android prerequisites
- Install Android toolchanins:
rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android
- Install Android Studio
- Install Android NDK (no need for CMAKE)
iOS prerequisites
- Install iOS toolchanins:
rustup target add aarch64-apple-ios-sim aarch64-apple-ios x86_64-apple-ios
- Install Xcode from the App Store
Installation
Installation on Android
- Checkout this repo and Tesseract.android side by side.
- Open dev-waller folder in Android Studio.
- Check
local.properties.exampleand copy the ones you need for your environment (i.e. your NDK version) into yourlocal.properties. - Run it on a desired device (or emulator).
Installation on iOS
- Checkout this repo.
- Open
ios/Developer Wallet.xcodeprojin Xcode. - Run the Developer Wallet.
Setting up VSCode
The way to make things workable in VSCode, use these settings (.vscode/settings.json):
{
"rust-analyzer.cargo.target": "x86_64-apple-ios",
"rust-analyzer.cargo.features": [
"substrate"
]
}
or alternatively use one of the other targets depending on your needs:
#Android
aarch64-linux-android
armv7-linux-androideabi
i686-linux-android
x86_64-linux-android
#iOS
aarch64-apple-ios-sim
aarch64-apple-ios
x86_64-apple-ios
Also, you can switch off the protocol features when not working on them.
License
Tesseract.rs can be used, distributed and modified under the Apache 2.0 license.