dclib

0.2.4536 • Public • Published

DCLib

DCLib is javascript library for integrate dao.casino blockchain protocol. Interact with bankroller, use Signidice random algorithm, and paymentchannels.

DCLib has two part:

  • browser/frontend library
  • bankroller side API

DCLIb methods available inside bankroller application.

IMPORTANT: now lib work only in ropsten test network.

Get startted

See short video 2

Download and install last BankRollerApp

See DApp example

Usage

Include JS in your DApp

<script src="https://platform.dao.casino/api/lib/v2/DC.js"></script>

or use npm

npm install --save dclib
import 'dclib' // or require('dclib')

console.log(DCLib.version)

Open it in browser and see console.

Docs

Tutorials

More about DApps

[RU] Minimal Game

[RU] Game with PayChannels

DCLib References

Readme

Keywords

Package Sidebar

Install

npm i dclib

Homepage

./

Weekly Downloads

1

Version

0.2.4536

License

none

Unpacked Size

8.88 MB

Total Files

23

Last publish

Collaborators

  • fanyshu