mixbee-ts-sdk
TypeScript SDK For Mixbee blockchain
Last updated 2 years ago by dancyleo1984 .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install mixbee-ts-sdk 
SYNC missed versions from official npm registry.

TypeScript SDK For Mixbee blockchain

Version V1.0.1

Overview

The project is a comprehensive TypeScript library for the Mixbee blockchain. Currently, it supports local wallet management, digital identity management, digital asset management, deployment, and envoke for Smart Contract.

Getting started

Installation

Download

git clone 'ssh://git@code.wenchain.com:23333/mix/mixbee-tx-sdk.git'

Install

  1. create your project root dir
mkdir MIX
cd MIX
  1. must be in your root project dir,here are /MIX
npm install 'mixbee-ts-sdk'

Compile

Get into the 'mixbee-ts-sdk' directory and run:

npm run build:dev // or npm run build:prod

You will get the packaged code under '/lib'

Test

Test code of the project is in directory '/test'. Run:

npm run test

Import

Modules library export by 'mixbee-ts-sdk'

import {Wallet} from 'mixbee-ts-sdk';
var wallet = Wallet.create('test');

Require

var Mbc = require('mixbee-ts-sdk');
var wallet = Mbc.Wallet.create('test');

Web require

The browser.js file under the '/lib' folder need referenced to the page:

<script src="./lib/browser.js"></script>

The use of the code is required under the global namespace of Ont.

var wallet = Mbc.Wallet.create('test');

Current Tags

  • 1.0.1                                ...           latest (2 years ago)

2 Versions

  • 1.0.1                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 2
Dependencies (24)
Dev Dependencies (28)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |