🚀
Tonomy Developer Docs
  • Introduction
    • Features
  • Build Web4 Apps
    • Install
    • Register your Web4 App
    • Login
    • User Data and Logout
    • Sign Verifiable Credentials
    • Server Authentication
    • Smart Contracts
      • Develop
      • Deploy
      • 1-Click Transactions
      • Wallet Signing
    • Send P2P Messages
    • Troubleshooting
  • Multi-Chain Transactions + Crypto
    • Wallet Connect
    • Antelope Sigining Request (ESR)
  • Run Tonomy Infrastructure
    • Overview
      • Configuration
      • What software to run?
    • Node Setup
      • Setup
      • Run an API Node
      • Run a Block Producer Node
      • Becoming a Block Producer on Tonomy
    • API Endpoints
    • Hardware Requirement
    • Troubleshooting
  • Connect as an Exchange
  • Run Tonomy Gov OS
    • Technical requirements
    • Deploy Tonomy ID
    • Deploy a web wallet with the SDK
    • Reference
      • Application Interface (API)
      • Software Development Kit (SDK)
    • Troubleshooting
Powered by GitBook
On this page
  • Prerequisites
  • Services to run Tonomy ID
  • Deployment
  • Locally
  • On-site / cloud
  1. Run Tonomy Gov OS

Deploy Tonomy ID

PreviousTechnical requirementsNextDeploy a web wallet with the SDK

Last updated 2 months ago

Deployment of the full Tonomy ID involves several integrated services and is expected to take several hours for someone not familiar with the system

Please for assistance in your on-site deployment, or to help run a fully managed service with updates.

Prerequisites

  • Tonomy ID services run exclusively in Linux, we recommend Ubuntu 20.04 or 22.04.

  • npm with corepack enabled, we recommend v18.12.1. Suggested to install with nvm v0.35+

Services to run Tonomy ID

  • Tonomy ID (React Native mobile wallet) -

  • Tonomy Account Website (Reactjs) -

  • Blockchain and tonomy smart contracts (Antelope protocol) -

  • Tonomy Communication (nestjs) -

Deployment

Locally

The easiest way is to use the automated scripts with the

Check the README.md for dependencies and instructions.

git clone https://github.com/Tonomy-Foundation/Tonomy-ID-Integration
cd Tonomy-ID-Integration
./app.sh gitinit
./app.sh install
./app.sh init
./app.sh start

On-site / cloud

Read the README.md for each of the services before you start!

Then you will need to deploy each service, with configuration so that they connect with each other:

    • For a production grade network, we suggest 3 nodes if run by the same entity, or 5 nodes if run by separate entities

    • For maximum scaleability, run using bare-metal servers.

  1. Create the eosio.token account on the blockchain

  2. Create a new currency with a total supply using the create() function

  3. Issue a specific amount of the newly created currency to the 'eosio.token' account using the issue() function

  4. Create the id.tmy account on the blockchain

  5. Configure the software with the config.json file in the repository so that they are connected correctly using your domains, and to white-label the applications:

    • Copy the following files and use environment variables to change which configuration file is used

  6. Create a new Google Play store and Apple App store listing.

    • You need to use the accounts. subdomain to run the Tonomy Accounts website

    • You need to use the demo. subdomain to run the Tonomy Demo website

(Optional) Sign blockchain transactions in your apps

(Optional) Run the Demo website

  1. Call addperm() function with the account name of the registered Demo application (Step 1)

We suggest that you look at the ./app.sh and ./scripts/helpers.sh files in the to get an idea of how to run and bootstrap the network.

Deploy an and initialize an Antelope blockchain - see the

Please for assistance running a production Antelope network or setting up governance.

Deploy the contract to the eosio.token account on the blockchain

Deploy the contract to the id.tmy account on the blockchain

that you wish to connect to Tonomy ID

Use or to build Tonomy ID and submit it to your app store listings.

Deploy

Deploy

If you want to have your applications sign blockchain transactions, seefor how to configure your smart contracts.

To run the in your network follow these extra steps:

using the domain you wish to run the Demo website from

Deploy the contract to the demo.tmy account (or modify the Demo website to connect to a different account)

Create dummy accounts as shown in the

contact us
Github source
Github source
Github source
Github source
Tonomy-ID-Integration repository
Tonomy-ID-Integration repository
official Antelope node guide
contact us
eosio.token
id.tmy
Register your applications
Tonomy ID config.json
Tonomy App Websites config.json
Tonomy Communication config.json
Expo
Expo Application Services
Tonomy App Websites
Tonomy Communication
Sign a blockchain transaction
Demo website
Register the application
demo.tmy
bootstrap script here