Skip to content

liquidity-network/liquidity-browser-app

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.37 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 here

  2. then dependencies are bundled using browserify

browserify index.js -o bundle.js

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •