Coder Social home page Coder Social logo

uplink-asset-trading-webapp's Introduction

Uplink Asset Trading Web application

This is a Django application for managing tradeable Uplink assets.

Requirements

Getting started

./scripts/setup.sh

This sets up a Python environment with pipenv (which it also installs as needed). You can run commands in this environment either by prefixing them with pipenv run, or by starting a sub-shell with pipenv shell and then running commands in the sub-shell. For brevity, the rest of this documentation assumes that you have taken the latter option.

./scripts/run-server.sh

Once the development server and the uplink node are running, start up the webapp. This will list the addresses of any accounts you create.

You can use the Uplink block explorer for a “behind-the-scenes” look.

To avoid needing to prefix commands with pipenv run, you can start a sub-shell with pipenv shell.

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:

./scripts/create-test-asset.py [address of issuing account] [private key of issuing account]

Use the Uplink block explorer to view assets.

uplink-asset-trading-webapp's People

Contributors

digitalronin avatar rrthomas avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.