A repository to host and manage token negotiator example dapps and web apps
TokenScript is a framework which improves functionality, security and usability of blockchain token. It creates a layer between a blockchain and user devices, adding information, rules and functionalites both onchain and offchain.
For more information please visit: https://tokenscript.org/.
https://tokenscript.github.io/token-negotiator-gh-pages
Each of examples by default are configured for use in a local environment. See the README's inside each example for configuration and deployment.
npm install
to install all dependancies for the examplesnpm run start
which will serve all examples with a single commandthere are also other batch commands supported
npm run link/unlink
to link/unlink local token-negotiator
with the example, local token-negotiator
needs to sit in the same directory as this reponpm run build
to build all the examplesnpm run start-on-chain
which will serve all on-chain examplesnpm run start-off-chain
which will serve all off-chain examplesall the above batch commands support specifying individual examples as the target, e.g.
EXAMPLES=art-gallery-medium-article-website npm run start
to start the specified exampleEXAMPLES=art-gallery-medium-article-website,ecommerce-store-website npm run build
to build multiple examples at the same time (examples are comma separated)Notes:
examples.json
accordingly.https://github.com/TokenScript/token-negotiator
https://github.com/TokenScript/token-negotiator-examples/wiki/quick-start
This uses a custom example of the Token Negotiator (some of the API is not included inside the NPM package at this time).
Using HTTP-Server, or any means you choose to serve this website, inspect the index.html negotiation and authentication steps to read Liscon Tickets and complete full attestation.
Example use cases include; using this example to make a third party website that uses the Liscon Ticket for an entriely different purpose / or extends the functionality of the power of the ticket at the event or virtually e.g. discounts on food, vip entry to a VR Dapp.
sayhi@smarttokenlabs.com
We look forward to hearing your feedback.