Skip to content

UseCases_regtest_Access Token Management Key.md

FornaxA edited this page Aug 20, 2019 · 2 revisions

Use Cases, Scenario’s, Walkthroughts - for tokens

back to main page

Case "Access the TokenManagementKey"

Scenario: Bootstrap the ATP system

Feature: The TokenManagementKey unlocks Token Management functions

Actor: A tokengroup dev

Summary:

The Token Managment public key is defined in src/chainparams.cpp. Like the spork key, this key is different for Mainnet, Testnet and Regtest. Step by step, the functions managed by this hard coded key will become managed by a limited token (MagicToken), which is easier to secure by using multi signature addresses and key rotation. Token Management Transactions demonstrate that they are performed by somebody with access to the Token Management Key by spending ION from the Token Management Address.

  • The actor needs to import the Token Management Private Key.
  • The actor needs to ensure the Token Management Address has funds (ION).

Preconditions:

  • A running node (See e.g. Case "Start Regtest")
  • The network (Mainnet, Testnet or Regtest) should be past the TokenStart block height
  • The network has not yet switched to the use of the Magic Token

Steps:

Regtest's Token Management Public Key is gAQQQjA4DCT2EZDVK6Jae4mFfB217V43Nt (as defined in src/chainparams.cpp), with the corresponding Token Management Private Key cUnScAFQYLW8J8V9bWr57yj2AopudqTd266s6QuWGMMfMix3Hff4. The Token Management Private Keys for Mainnet and Testnet are not publicly available.

# Get access to the Token Management Key by importing the Token Management Private Key
importprivkey cUnScAFQYLW8J8V9bWr57yj2AopudqTd266s6QuWGMMfMix3Hff4

# Move funds into the Token Management Address
sendtoaddress gAQQQjA4DCT2EZDVK6Jae4mFfB217V43Nt 1

# Mine 6 Regtest blocks to ensure the funds in the Token Management Address are available for spending
generate 6

Postconditions:

  • The actor now has a wallet.dat that has access to the Token Management Key
  • The Token Management Address holds funds (ION) needed to create Token Management Transactions

Related use cases:

ION coin Qt and Daemon Info

Builds

HOW TO: Compile iond Daemon from source

HOW TO: Compile the ION QT wallet on Ubuntu

Snapcraft installs

Install ION client in a snap

Upgrade

HOW TO: Upgrade to ION 5.0

ION Masternodes

ION Masternode FAQ

HOW TO: ION 5.0 Masternode Quickstart Guide

HOW TO: Setup ION 5.0 remote Masternode with Ubuntu remote and local QT wallet(DASH-Rebase)

ION coincore QT wallet ELECTRON MINING

Mining ION coin ELECTRON tokens with Proof of Work

ionomy Sharenodes

ionomy Zendesk hosted Sharenodes and dedicated Masternodes FAQ

ION Chain Token System

Atomic Token Protocol (ATP) Overview

ION Token system Basic Operations

UseCases tokens Create-New-Token

UseCases tokens Send-tokens

UseCases tokens Token-balance

UseCases tokens View-token-information

Testing ION tokens on regtest

UseCases regtest Start-regtest

UseCases regtest Access Token Management Key

ION Token group management

UseCases tokens Key-rotation-with-token-authorities

Create and distribute the XDM token according to the IEO

UseCases tokens Create-Management-Tokens

UseCases tokens Drop-token-mint-capability

UseCases tokens Find-token-authorities

General FAQ

How to backup my wallet and its data

How to: backup ION coin blockchain database

HOW TO: Export Private Keys from ION QT

HOW TO: Import private key to ION 3.0 Wallet

How to generate an onion privacy address

Multisend

User-Documentation

Accounts-Explained

ION-coin-Data-Directory

Raw-Transactions

Running-ION

Gitian

Gitian Building

Gitian-building-create-VM-Debian

Gitian-building-create-Debian-VMware

Gitian-building-create-VM-Fedora

Gitian-building-setup-Gitian-Debian

Gitian-building-setup-Gitian-Debian-Google-Console

Gitian-building-setup-Gitian-Debian-Google-Console-Create-instance-template

Gitian-building-setup-Gitian-Debian-Google-Console-Create-VM-from-template

Gitian-building-setup-Gitian-Fedora

Zerocoin

HOW TO: Convert Zerocoin xION to ION

How to: Backup and restore xION Zerocoin private seed

Developer-Documentation

API-Calls-List

API-Reference-JSON-RPC

Weekly Play to Win ION coin mobile gaming tournaments

How do I get involved

ionomy extra info

XDM DarkMatter IEO

ionomy Support Help Centre

ionomy web links and info

ION coin Technical Whitepaper

ion coin Bounty Procedures

ionomy Bounty Information

ionomy ION current events

Clone this wiki locally