Comparing version 1.0.19 to 1.0.20
@@ -473,3 +473,3 @@ var CryptoJS = require('crypto-js') | ||
if (window) window.javalon = avalon | ||
if (typeof window != 'undefined') window.javalon = avalon | ||
module.exports = avalon |
{ | ||
"name": "javalon", | ||
"version": "1.0.19", | ||
"version": "1.0.20", | ||
"description": "javascript api for the avalon blockchain", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# Javalon | ||
## Install | ||
#### Require style | ||
Install with `npm install --save javalon` inside your project. Then just | ||
``` | ||
const javalon = require('javalon') | ||
``` | ||
#### CDN style | ||
If you are working in the browser and want to load javalon from a CDN: | ||
``` | ||
<script src="https://unpkg.com/javalon/bin/javalon.min.js"></script> | ||
``` | ||
By default, javalon hits on the main avalon testnet. You can eventually make javalon hit on your local node or any avalon node like so: | ||
By default, javalon hits on the main avalon testnet (https://avalon.d.tube). You can eventually make javalon hit on your local node or any avalon node like so: | ||
@@ -146,2 +152,2 @@ ``` | ||
}) | ||
``` | ||
``` |
317327
153
5