cic-docs/spec/021_manual_token_creation.md

3.2 KiB
Raw Blame History

Manual Token Creation spec

  • Authors: Will Ruddick willruddick@gmail.com (grassecon.org)
  • Date: 2021.05.11
  • Version: 2
  • Status: Pre-draft

Rationale

Enabeling users to create their own tokens is one of the main goals of CICs. This spec goves of the token creation process

Intro

  • Today users only receive Sarafu created by Grassroots Economics
  • This means Users have very little ownership or feel the need to accept or back the token.
  • We want users to be able to create their tokens to create more ownership and diffusion.
  • A CIC primarliy represents the goods and services committed by the Issuer.

Sarafu Network Sarafu and New Token Minting User Flow:

  1. Users create a token issuance agreement (for Sarafu or their own token) (Sarafu Network Application)
  2. The token creation application is audited and signed by all parties (paper form)
  3. All users in the agreement dial the USSD code and setup an account (with 0 initial balance for new accounts). If they have existing tokens those will simply stay there in their account. *Note that Users with multiple tokens in their account should have an option to switch their active token to trade the other tokens. (see milti-token-env spec)
  4. GE creates the new token (or mints more Sarafu) and sends it to the users as per the agreement. Also changing their Active token to the new token if one was created.
  5. n.b. Initally conversion between tokens will not be allowed

Inputs

  1. Signed Membership Application
  2. if not Sarafu
    1. Accounts (walllet address) of all users in membership application
    2. Token Long Name - 128 character limit
    3. Token short name no more than 6 Character - must be unique
    4. A maximum supply should be set to the token supply.
    5. Demurrage set to accumulate to 2% a month
  3. Token Supply to be minted
  4. All blockchain wallet addresses in application

Token creation process - Backend Command line and In-Person process

  1. Ensure TOKEN_Name is unique
  2. Create / mint the token supply
  3. sarafu-token-deploy
  4. eth-token-index-add
  5. eth-address-declarator-add
  6. to discover the contract addresses on the network you use:
    1. eth-contract-registry-list
  7. Put the TOKEN_NAME tokens into the Users wallet (as per agreement)
  8. All members in the agreement should have their active token set to TOKEN_NAME (see multi-token spec)

Token creation Interface - UX

Command Line - CLI

  1. Process Inputs on command line
  2. Confirmation please type the token name to proceed
  3. Ability to send specific ammounts of the token to addresses in the agreement (csv)

CIC Mgmt Platform - GUI

  1. On a user account there should be a button for Create Token - - this required super admin privlages
  2. The next page comes up with the inputs above
  3. Confirmation please type the token name to proceed

Testing

Action items

Implementation

Workflow

Variables

Interface

Security

Changelog