mixbee-ts-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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');

Package Sidebar

Install

npm i mixbee-ts-sdk

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

903 kB

Total Files

56

Last publish

Collaborators

  • dancyleo1984