diff --git a/README.md b/README.md index 84b5290..6de5440 100644 --- a/README.md +++ b/README.md @@ -269,6 +269,8 @@ npm install -g grunt-cli grunt browserify ``` +You can check a usage example at examples/example.html + #License diff --git a/examples/example.html b/examples/example.html new file mode 100644 index 0000000..c971798 --- /dev/null +++ b/examples/example.html @@ -0,0 +1,43 @@ + + + + Bitcore browser examples + + + + +
+ + + + + diff --git a/test/test.basic.js b/test/test.basic.js index ea7b48f..4863160 100644 --- a/test/test.basic.js +++ b/test/test.basic.js @@ -9,7 +9,7 @@ var PrivateKey = bitcore.PrivateKey.class(); var networks = bitcore.networks; var KeyModule = bitcore.KeyModule; -var test_data = require('../browser/testdata'); +var test_data = require('./testdata'); function test_encode_priv(b58, payload, isTestnet, isCompressed) {