Server (Python) SDK for CoinView dApps
This repository contains API install package, documentation for CoinView's Python SDK package. We've also included some demo dApps; an airdrop-style token distribution schema, a simple POS app with QR code scanning that can quickly reconcile sales with tokens, and a voting app that uses tokens to vote for speakers at an event.
Client & Server API
Using pip (recommended)
$ pip install -e 'git+https://github.com/coinjinja/coinview-python-sdk@master#egg=coinview'
$ python setup.py install
Update the Documentation
./docs running. The document will also be updated automatically by Travis and hosted on github.io.
$ make html
Here are a few simple and easy understanding examples of how to connect CoinView SDK to your dApp.
Using this dApp developed in just two days, tokens were released exclusively for an event we held. Attendees were able to use them for purchasing goods and voting for their favorite panel speakers.
An airdrop function that can easily distribute tokens. For this event, two types of tokens (for voting and sales) were prepared and distributed.
PoS (Point of Sale) App
A simple POS app with QR code scanning that can quickly reconcile sales with tokens. Commission-free and performs settlement in seconds.
Developed in just one day, this is a dApp remake of the 1970s arcade game, "Snake." We easily enabled it to have virtual currency billing.
Here is the source code for the game, including the billing function.