Skip to content
Super simple one-click browser wallets, transferring coins over a NOCUST hub.
Branch: master
Clone or download
Latest commit 09d1556 May 13, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Update README.md Mar 31, 2019
alice.js Handle registration timeouts Apr 30, 2019
bob.js Fix post faucet JSON May 13, 2019
bundle.js Rebundle Apr 30, 2019
index.html Closes #2 Apr 13, 2019
index.js Rebundle Apr 30, 2019
settings.js Remove infura key May 13, 2019

README.md

Liquidity Browser App Example

Super simple one-click browser wallets, transferring coins over a NOCUST hub.

Clone, and just execute index.html in your favorite browser!

How is bundle.js generated?

Bundle.js is a browser friendly compilation of all dependencies required to use nocust-client

  1. A dummy npm project with index.js
const Web3 = require('web3') // Web3 1.0.0-beta.36 only for now
const BigNumber = require('bignumber.js')
const { NocustManager } = require('nocust-client')

window.getWeb3 = function(){
    return Web3;
};

window.getBigNumber = function(){
  return BigNumber;
};

window.getNocustManager = function(){
  return NocustManager;
};
  1. package.json including dependencies as in https://docs.liquidity.network

  2. then dependencies are bundled using browserify

browserify index.js -o bundle.js
You can’t perform that action at this time.