Skip to content

mmirg/uplink-asset-trading-webapp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Uplink Asset Trading Web application

This is a Django application for managing tradeable Uplink assets.

Requirements

Getting started

./scripts/setup.sh ./scripts/run-server.sh

Use the Uplink block explorer, or the webapp, to view accounts.

Once the development server and the uplink node are running, visit http://localhost:8888/accounts/ You should see the addresses of all the accounts you created

Create accounts

Use the included utility script to create some accounts (when the uplink node is running):

pipenv run python scripts/create-test-accounts.py | tee test-accounts.txt

You need to capture the output so that you have the private keys and account addresses for subsequent transactions.

Create assets

The utility script scripts/create-test-asset.py can be used to create an asset so that tokens can be transferred between accounts. The script needs an account address and a private key - see the script for details.

export ACCOUNT_ADDRESS=[address of issuing account]
export SIGNING_KEY_HEX=[private key of issuing account]
pipenv run python scripts/create-test-asset.py

Use the Uplink block explorer to view assets.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 86.8%
  • Shell 10.0%
  • HTML 3.2%