forked from bitpay/bitcore-lib
-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: provide docsify and improve documentation (#175)
* chore: ignore whitespace trim on markdown docs * docs: Address documentation docsified and improved WIP * docs: removed template file + readme update for badges * docs(Address): fromScript, fromScriptHash, payingTo * fix: jsdoc parameter * docs: fixed Address * docs: Block * docs: BlockHeader * docs: BloomFilter * docs: HDPrivateKey * docs: HDPublicKey * docs: Message * docs: Mnemonic * docs: Transaction * docs: URI * docs: docsify sidebar update * docs: added PrivateKey and PublicKey * docs: added Opcode, Script, Input and Output * docs: fixed jsdoc and typings for opcode * docs(Address): added missing isValid and getValidationError function * docs: fixed typo Co-authored-by: thephez <[email protected]> * docs: fix various issues * typo: fixed Transaction typo Co-authored-by: thephez <[email protected]> * docs: fixed sidebar * fix: wrong description on docs Co-authored-by: thephez <[email protected]> * fix: typo Co-authored-by: thephez <[email protected]>
- Loading branch information
1 parent
5b4afea
commit a936787
Showing
43 changed files
with
2,782 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,6 @@ root = true | |
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
|
||
[*.{md,markdown}] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,6 @@ coverage | |
|
||
# ignore distribution files | ||
dist/ | ||
|
||
# OS_X | ||
.DS_Store |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
## Dashcore-lib | ||
|
||
[![NPM Version](https://img.shields.io/npm/v/@dashevo/dashcore-lib)](https://www.npmjs.com/package/@dashevo/dashcore-lib) | ||
[![Build Status](https://travis-ci.com/dashevo/dashcore-lib.svg?branch=master)](https://travis-ci.com/dashevo/dashcore-lib) | ||
[![Release Date](https://img.shields.io/github/release-date/dashevo/dashcore-lib)](https://github.com/dashevo/dashcore-lib/releases/latest) | ||
[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen)](https://github.com/RichardLitt/standard-readme) | ||
|
||
> A pure and powerful JavaScript Dash library. | ||
Dash is a powerful new peer-to-peer platform for the next generation of financial technology. The decentralized nature of the Dash network allows for highly resilient Dash infrastructure, and the developer community needs reliable, open-source tools to implement Dash apps and services. | ||
|
||
### Install | ||
|
||
### ES5/ES6 via NPM | ||
|
||
In order to use this library in Node, you will need to add it to your project as a dependency. | ||
|
||
Having [NodeJS](https://nodejs.org/) installed, just type in your terminal : | ||
|
||
```sh | ||
npm install @dashevo/dashcore-lib | ||
``` | ||
|
||
### CDN Standalone | ||
|
||
For browser usage, you can also directly rely on unpkg : | ||
|
||
``` | ||
<script src="https://unpkg.com/@dashevo/dashcore-lib"></script> | ||
``` | ||
|
||
|
||
## Licence | ||
|
||
[MIT](https://github.com/dashevo/dashcore-lib/blob/master/LICENCE.md) © Dash Core Group, Inc. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
- Core Concepts | ||
- [Address](core-concepts/Address.md) | ||
- [Block](core-concepts/Block.md) | ||
- [crypto](core-concepts/crypto.md) | ||
- [encoding](core-concepts/encoding.md) | ||
- [hierarchical](core-concepts/hierarchical.md) | ||
- [Mnemonic](core-concepts/Mnemonic.md) | ||
- [Networks](core-concepts/Networks.md) | ||
- [PrivateKey](core-concepts/PrivateKey.md) | ||
- [PublicKey](core-concepts/PublicKey.md) | ||
- [Script](core-concepts/Script.md) | ||
- [Transaction](core-concepts/Transaction.md) | ||
- [Unit](core-concepts/Unit.md) | ||
- [UnspentOutput](core-concepts/UnspentOutput.md) | ||
- [Uri](core-concepts/Uri.md) | ||
- [Examples](examples.md) | ||
- Usage | ||
- [Address](usage/Address.md) | ||
- [Block](usage/Block.md) | ||
- [BlockHeader](usage/BlockHeader.md) | ||
- [BloomFilter](usage/BloomFilter.md) | ||
- [HDPrivateKey](usage/HDPrivateKey.md) | ||
- [HDPublicKey](usage/HDPublicKey.md) | ||
- [PrivateKey](usage/PrivateKey.md) | ||
- [PublicKey](usage/PublicKey.md) | ||
- [Message](usage/Message.md) | ||
- [Mnemonic](usage/Mnemonic.md) | ||
- [Opcode](usage/Opcode.md) | ||
- [Transaction](usage/Transaction.md) | ||
- [Transaction.Input](usage/Transaction_Input.md) | ||
- [Transaction.Output](usage/Transaction_Output.md) | ||
- [URI](usage/URI.md) | ||
- [License](https://github.com/dashevo/dashcore-lib/blob/master/LICENSE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Dashcore-Lib - A pure and powerful JavaScript Dash library</title> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | ||
<meta name="keywords" content="dashcore, dash, javascript, primitives, address, block, HDKeys, PublicKey, PrivateKey, Mnemonic"> | ||
<meta name="description" content="A pure and powerful JavaScript Dash library."> | ||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | ||
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css"> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
<script> | ||
window.$docsify = { | ||
name: 'Dashcore-lib', | ||
repo: 'https://github.com/dashevo/dashcore-lib', | ||
loadSidebar: "_sidebar.md", | ||
maxLevel: 4, | ||
subMaxLevel: 2, | ||
search: { | ||
noData: { | ||
'/': 'No results!' | ||
}, | ||
paths: 'auto', | ||
placeholder: { | ||
'/': 'Search' | ||
} | ||
}, | ||
// search: 'auto', | ||
formatUpdated: '{MM}/{DD} {HH}:{mm}', | ||
themeColor: '#008de4', | ||
} | ||
</script> | ||
<script src="https://cdn.jsdelivr.net/npm/docsify@4"></script> | ||
<script src="//unpkg.com/docsify/lib/plugins/search.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/docsify-tabs@1"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.