Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ddnlink/ddn-javascript-sdk
- Owner: ddnlink
- Created: 2019-09-02T08:12:14.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-06-22T15:55:27.000Z (over 2 years ago)
- Last Synced: 2023-03-03T03:45:47.782Z (almost 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 589 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
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)