Giter Site home page Giter Site logo

w3f-grants-archive / dev-wallet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tesseract-one/dev-wallet

0.0 0.0 0.0 1.34 MB

Wallet for testing Tesseract compatible dApps

License: Apache License 2.0

Shell 2.44% Rust 45.87% Kotlin 21.79% Swift 29.90%

dev-wallet's Introduction

Tesseract

Tesseract Developer Wallet is designed to help you test your dApp integration with Wallets through Tesseract dApp/Wallet integration protocol

Wallet choosing on iOS Wallet requested on iOS

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

Prerequisites

Common prerequisites

Install Rust Environment (nightly) from here.

Android prerequisites

  1. Install Android toolchanins:
rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android
  1. Install Android Studio
  2. Install Android NDK (no need for CMAKE)

iOS prerequisites

  1. Install iOS toolchanins:
rustup target add aarch64-apple-ios-sim aarch64-apple-ios x86_64-apple-ios
  1. Install Xcode from the App Store

Installation

Installation on Android

  1. Checkout this repo and Tesseract.android side by side.
  2. Open dev-waller folder in Android Studio.
  3. Check local.properties.example and copy the ones you need for your environment (i.e. your NDK version) into your local.properties.
  4. Run it on a desired device (or emulator).

Installation on iOS

  1. Checkout this repo.
  2. Open ios/Developer Wallet.xcodeproj in Xcode.
  3. 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.

dev-wallet's People

Contributors

dileping avatar ypopovych avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.