Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ddnlink/ddn-javascript-sdk

javascript sdk for ddn blockchain
https://github.com/ddnlink/ddn-javascript-sdk

Last synced: about 2 months ago
JSON representation

javascript sdk for ddn blockchain

Awesome Lists containing this project

README

        

# DDN Javascript Library

## Install

```
npm install ddn-js --save
```

## Import

CommonJS

```
var DdnJS = require('ddn-js');
DdnJS.options.set('nethash','aaaaaa')
```

Front end

```

# or

window.DdnJS.options.set('nethash','aaaaaa')
console.log(window.DdnJS)
```

## Usage

Please reference the [ddn http interface documents](https://github.com/DDNlink/ddn-docs/blob/master/ddn_http_interface.md)