How to use the TribeToken’s charity platform (Concept Demo)

TribeToken
4 min readJul 22, 2017

--

In this document we are explaining on how to use the concept demo of TribeToken. Remember that this is a pre-alpha version, we are showing a prototype of the smart contract usage on the platform on the Ethereum test-net.

1. Start up the test-net version of Mist Ethereum Wallet.

Now I will show you how to add the contract for this demo to your test-net wallet:

2. Click on “Contracts” and then click on “Watch Contract”.

A pop-up should come up asking you to type in the details of the smart contract.

3. Type in the following:

Name:
TribeToken Platform

Address:
0x541a41E503Fe4389e8c4Ac9018E6b454CD3f96c0

JSON:

[ { “constant”: true, “inputs”: [], “name”: “active”, “outputs”: [ { “name”: “”, “type”: “bool”, “value”: true } ], “payable”: false, “type”: “function” }, { “constant”: true, “inputs”: [], “name”: “coin”, “outputs”: [ { “name”: “”, “type”: “address”, “value”: “0xcab9e753434c3c5dd1228c815bd079505220e679” } ], “payable”: false, “type”: “function” }, { “constant”: false, “inputs”: [], “name”: “setState”, “outputs”: [], “payable”: false, “type”: “function” }, { “constant”: false, “inputs”: [ { “name”: “project”, “type”: “uint256” }, { “name”: “amount”, “type”: “uint256” } ], “name”: “project”, “outputs”: [], “payable”: false, “type”: “function” }, { “constant”: true, “inputs”: [], “name”: “owner”, “outputs”: [ { “name”: “”, “type”: “address”, “value”: “0x5ccac752a40fb784d77a913add09c531efe5251e” } ], “payable”: false, “type”: “function” }, { “constant”: false, “inputs”: [ { “name”: “charity”, “type”: “uint256” }, { “name”: “amount”, “type”: “uint256” } ], “name”: “charity”, “outputs”: [], “payable”: false, “type”: “function” }, { “constant”: false, “inputs”: [ { “name”: “newOwner”, “type”: “address” } ], “name”: “transferOwnership”, “outputs”: [], “payable”: false, “type”: “function” }, { “inputs”: [ { “name”: “_TRIBEAddress”, “type”: “address”, “index”: 0, “typeShort”: “address”, “bits”: “”, “displayName”: “&thinsp;<span class=\”punctuation\”>_</span>&thinsp; T R I B E Address”, “template”: “elements_input_address”, “value”: “0xcAB9e753434C3c5dD1228C815Bd079505220e679” } ], “payable”: false, “type”: “constructor” }, { “anonymous”: false, “inputs”: [ { “indexed”: false, “name”: “project_id”, “type”: “uint256” }, { “indexed”: false, “name”: “tokens”, “type”: “uint256” } ], “name”: “projectLog”, “type”: “event” }, { “anonymous”: false, “inputs”: [ { “indexed”: false, “name”: “charity_id”, “type”: “uint256” }, { “indexed”: false, “name”: “tokens”, “type”: “uint256” } ], “name”: “charityTransfer”, “type”: “event” } ]

“TribeToken Platform” will be visible in the “Custom Contracts” column after adding this smart contract.

4. Select “TribeToken Platform” contract and scroll down to the bottom when your wallet is fully synced, then go to “Select Function” and select “Project”.

5. Press “Execute”.

Sending is limited to an amount of 500 TribeTokens per transaction for testing purposes.

Project = The ID of the project.

Amount = number of TribeTokens to be sent.

In this example we are going to send 250 TribeTokens to Project 10001.

The URL of the project is — http://demo.tribetoken.org/project.php?id=10001

The total amount that is raised will refresh every 10 minutes to give an idea about smart contract usage for project donation:

Charity functions are disabled currently.

The platform demo is going to be constantly updated and expanded throughout the ICO and of course after the ICO.

Remember we are using the test-net version in this demo, do NOT use any real Ethereum from your normal wallet. You will always see this at the top indicating that you are running on the test-net blockchain (Mist Ethereum Wallet):

Have some feedback? Join us on Slack to discuss technical things with Alexander Kozhukhov https://tribetoken.org/#slack

--

--