Skip to content

Commit

Permalink
Merge 2942c8f into 6982a33
Browse files Browse the repository at this point in the history
  • Loading branch information
jpopesculian committed Nov 9, 2018
2 parents 6982a33 + 2942c8f commit c433b61
Show file tree
Hide file tree
Showing 24 changed files with 20,311 additions and 9 deletions.
19 changes: 11 additions & 8 deletions README.md
Expand Up @@ -16,9 +16,10 @@ Furthermore the library is written in TypeScript which also provide **code assis
## Quick Start

Install using `npm i dpos-offline` and use it with webpack or node by requiring it in your code

```javascript
var dposOffline = require('dpos-offline').dpos
```
var dposOffline = require('dpos-offline').dposOffline
```

Or directly use it in your browser by including it:

Expand All @@ -31,16 +32,18 @@ Or directly use it in your browser by including it:

## What does this library do?

### Create a Send Transaction
### Create a Send Transaction

An example worths more than 100 words.

```javascript
const Lisk = require('dpos-offline').Lisk;
const Rise = require('dpos-offline').Rise;
const tx = Lisk.txs.createAndSign(
{
kind: 'send',
amount: 10, // Satoshi
to: '1L'
amount: 100000000, // Satoshi
recipient: '1L'
},
'my Lisk secret'
);
Expand All @@ -51,8 +54,8 @@ const tx = Lisk.txs.createAndSign(
const riseTx = Rise.txs.createAndSign(
{
kind: 'send',
amount: 10, // Satoshi
to: '1R'
amount: 100000000, // Satoshi
recipient: '1R'
},
'my RISE secret'
)
Expand Down Expand Up @@ -138,7 +141,7 @@ That could be used to sign and verify messages using the format used for such co

**Where can I find the documentation?**

[here](https://github.com/vekexasia/dpos-offline/blob/master/src/codecs/interface.ts)
[vekexasia.github.io/dpos-offline](https://vekexasia.github.io/dpos-offline/)

**Is this library secure**?

Expand Down
Empty file added docs/.nojekyll
Empty file.
865 changes: 865 additions & 0 deletions docs/assets/css/main.css

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions docs/assets/css/main.css.map

Large diffs are not rendered by default.

Binary file added docs/assets/images/icons.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/icons@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/widgets.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/widgets@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions docs/assets/js/main.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions docs/assets/js/search.js

Large diffs are not rendered by default.

2,870 changes: 2,870 additions & 0 deletions docs/globals.html

Large diffs are not rendered by default.

2,871 changes: 2,871 additions & 0 deletions docs/index.html

Large diffs are not rendered by default.

1,231 changes: 1,231 additions & 0 deletions docs/interfaces/ibasetx.html

Large diffs are not rendered by default.

1,332 changes: 1,332 additions & 0 deletions docs/interfaces/icoincodec.html

Large diffs are not rendered by default.

1,249 changes: 1,249 additions & 0 deletions docs/interfaces/icoincodecmsgs.html

Large diffs are not rendered by default.

1,604 changes: 1,604 additions & 0 deletions docs/interfaces/icoincodectxs.html

Large diffs are not rendered by default.

1,147 changes: 1,147 additions & 0 deletions docs/interfaces/ikeypair.html

Large diffs are not rendered by default.

1,177 changes: 1,177 additions & 0 deletions docs/interfaces/iregisterdelegatetx.html

Large diffs are not rendered by default.

1,204 changes: 1,204 additions & 0 deletions docs/interfaces/iregistermultisignature.html

Large diffs are not rendered by default.

1,165 changes: 1,165 additions & 0 deletions docs/interfaces/iregistersecondsignature.html

Large diffs are not rendered by default.

1,215 changes: 1,215 additions & 0 deletions docs/interfaces/isendtx.html

Large diffs are not rendered by default.

1,176 changes: 1,176 additions & 0 deletions docs/interfaces/ivoteitem.html

Large diffs are not rendered by default.

1,177 changes: 1,177 additions & 0 deletions docs/interfaces/ivotetx.html

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -13,7 +13,8 @@
"test-browser": "karma start karma.conf.js",
"test-all": "npm run tslint && npm run test-node && npm run test-browser",
"prepublish": "shx rm -rf ./dist/ && npm run package",
"package": "webpack && tsc --outDir dist/es5 --target es5 -d"
"package": "webpack && tsc --outDir dist/es5 --target es5 -d",
"docs": "shx rm -rf docs ; typedoc --theme node_modules/typedoc-clarity-theme/bin --excludePrivate --disableOutputCheck --hideGenerator --module commonjs --mode file --tsconfig ./tsconfig.json --out docs/ src/; touch docs/.nojekyll "
},
"bugs": {
"url": "https://github.com/vekexasia/dpos-offline/issues"
Expand Down

0 comments on commit c433b61

Please sign in to comment.