Skip to content

Commit

Permalink
update to v0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
qywang2012 committed Jun 13, 2018
1 parent fa3305d commit c18db81
Show file tree
Hide file tree
Showing 12 changed files with 42 additions and 23 deletions.
28 changes: 21 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ Here you should see a bunch of js files.
* `neb-light.js`:Used in Repl console. Not including outside dependency.
* `nebulas.js`: Fully functional in the browser. Users can create an address, sign a transaction, and deploy/call a smart contract.

###### CDN Support
neb.js has been released to [NPM](https://www.npmjs.com/package/nebulas), and developers can use the following code through [CDN](https://www.jsdelivr.com/package/npm/nebulas) addition.

```html
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/nebulas.js"></script>
```

## Documentation


Expand All @@ -44,20 +51,27 @@ Generated documentation you can check in `/documentation` folder.
* The RPC interface for the nebulas node is encapsulated;
* Create and manage the private key and address of the nebulas;
* Generate the transaction object and sign the transaction.
* Deploy/call smart contract, breakpoint debugging support.

The use of neb.js can be used as examples:

* [web-example](example/example.html)
* [nodejs-example](example/node-example.js)
* [node-nvm](example/node-nvm.js)

## Extra
Rollup is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.
## Contribution

Next step go to the neb.js folder in your Nebulas dir and
Build neb-node.js by using [rollup](https://rollupjs.org/):
We are very glad that you are considering to help Nebulas Team or go-nebulas project, including but not limited to source code, documents or others.

```
rollup -c
```
If you'd like to contribute, please fork, fix, commit and send a pull request for the maintainers to review and merge into the main code base. If you wish to submit more complex changes though, please check up with the core devs first on our [slack channel](http://nebulasio.herokuapp.com) to ensure those changes are in line with the general philosophy of the project and/or get some early feedback which can make both your efforts much lighter as well as our review and merge procedures quick and simple.

Please refer to our [contribution guideline](https://github.com/nebulasio/wiki/blob/master/contribute.md) for more information.

Thanks.

## License

The go-nebulas project is licensed under the [GNU Lesser General Public License Version 3.0 (“LGPL v3”)](https://www.gnu.org/licenses/lgpl-3.0.en.html).

For the more information about licensing, please refer to [Licensing](https://github.com/nebulasio/wiki/blob/master/licensing.md) page.

2 changes: 1 addition & 1 deletion docs/API.html
Original file line number Diff line number Diff line change
Expand Up @@ -2908,7 +2908,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>

on 2018-06-13T15:15:02+08:00
on 2018-06-13T16:16:04+08:00

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/Account.html
Original file line number Diff line number Diff line change
Expand Up @@ -2117,7 +2117,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>

on 2018-06-13T15:15:02+08:00
on 2018-06-13T16:16:04+08:00

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/Admin.html
Original file line number Diff line number Diff line change
Expand Up @@ -2340,7 +2340,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>

on 2018-06-13T15:15:02+08:00
on 2018-06-13T16:16:04+08:00

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/Neb.html
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>

on 2018-06-13T15:15:02+08:00
on 2018-06-13T16:16:04+08:00

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/Transaction.html
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>

on 2018-06-13T15:15:02+08:00
on 2018-06-13T16:16:04+08:00

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/classes.list.html
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>

on 2018-06-13T15:15:02+08:00
on 2018-06-13T16:16:04+08:00

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/global.html
Original file line number Diff line number Diff line change
Expand Up @@ -1890,7 +1890,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>

on 2018-06-13T15:15:01+08:00
on 2018-06-13T16:16:04+08:00

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
17 changes: 11 additions & 6 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,24 +107,29 @@ <h2>Install &amp;&amp; Package</h2><p>Use the <code>npm</code> installation depe
<li><code>neb-light.js</code>:Used in Repl console. Not including outside dependency.</li>
<li><code>nebulas.js</code>: Fully functional in the browser. Users can create an address, sign a transaction, and deploy/call a smart contract.</li>
</ul>
<h2>Documentation</h2><p><a target="_blank" href="https://nebulasio.github.io/neb.js/index.html">Public API documentation link</a></p>
<h6>CDN Support</h6><p>neb.js has been released to <a href="https://www.npmjs.com/package/nebulas">NPM</a>, and developers can use the following code through <a href="https://www.jsdelivr.com/package/npm/nebulas">CDN</a> addition.</p>
<pre class="prettyprint source lang-html"><code>&lt;script src=&quot;https://cdn.jsdelivr.net/npm/[email protected]/nebpay.min.js&quot;>&lt;/script></code></pre><h2>Documentation</h2><p><a target="_blank" href="https://nebulasio.github.io/neb.js/index.html">Public API documentation link</a></p>
<p>For build API documentation run <code>gulp documentation</code> task.</p>
<p>Generated documentation you can check in <code>/documentation</code> folder.</p>
<h2>Usage</h2><p><code>neb.js</code> is a useful library for nebulas developers. It provides rich underlying support in web and node.js's dapp. It implements the following functions.</p>
<ul>
<li>The RPC interface for the nebulas node is encapsulated;</li>
<li>Create and manage the private key and address of the nebulas;</li>
<li>Generate the transaction object and sign the transaction.</li>
<li>Deploy/call smart contract, breakpoint debugging support.</li>
</ul>
<p>The use of neb.js can be used as examples:</p>
<ul>
<li><a href="example/example.html">web-example</a> </li>
<li><a href="example/node-example.js">nodejs-example</a></li>
<li><a href="example/node-nvm.js">node-nvm</a></li>
</ul>
<h2>Extra</h2><p>Rollup is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application.</p>
<p>Next step go to the neb.js folder in your Nebulas dir and
Build neb-node.js by using <a href="https://rollupjs.org/">rollup</a>:</p>
<pre class="prettyprint source"><code>rollup -c</code></pre></article>
<h2>Contribution</h2><p>We are very glad that you are considering to help Nebulas Team or go-nebulas project, including but not limited to source code, documents or others.</p>
<p>If you'd like to contribute, please fork, fix, commit and send a pull request for the maintainers to review and merge into the main code base. If you wish to submit more complex changes though, please check up with the core devs first on our <a href="http://nebulasio.herokuapp.com">slack channel</a> to ensure those changes are in line with the general philosophy of the project and/or get some early feedback which can make both your efforts much lighter as well as our review and merge procedures quick and simple.</p>
<p>Please refer to our <a href="https://github.com/nebulasio/wiki/blob/master/contribute.md">contribution guideline</a> for more information.</p>
<p>Thanks.</p>
<h2>License</h2><p>The go-nebulas project is licensed under the <a href="https://www.gnu.org/licenses/lgpl-3.0.en.html">GNU Lesser General Public License Version 3.0 (“LGPL v3”)</a>.</p>
<p>For the more information about licensing, please refer to <a href="https://github.com/nebulasio/wiki/blob/master/licensing.md">Licensing</a> page.</p></article>
</section>


Expand Down Expand Up @@ -175,7 +180,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>

on 2018-06-13T15:15:02+08:00
on 2018-06-13T16:16:04+08:00

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/quicksearch.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "0.5.0"
"version": "0.5.1"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nebulas",
"version": "0.5.0",
"version": "0.5.1",
"copyright": "Copyright © 2017-2018 Nebulas.io",
"description": "Nebulas JavaScript API",
"main": "index.js",
Expand Down

0 comments on commit c18db81

Please sign in to comment.