Skip to content
/ mosaic.js Public
forked from mosaicdao/mosaic.js

Mosaic.js provides a web3 interface to scale DApps on Ethereum

License

Notifications You must be signed in to change notification settings

pgev/mosaic.js

 
 

Repository files navigation

Developer guide

Mosaic = require('./index');
Mosaic.ValueChainId = '0x0000000000000000000000000000000000000001';

mosaic = new Mosaic("ws://localhost:8020");

mosaic.eth.getBlockNumber().then(console.log);


mosaic.aux('0x0000000000000000000000000000000000000002').getBlockNumber().then(console.log);

mosaic.aux('0x0000000000000000000000000000000000000001').getBlockNumber().then(console.log);

About

Mosaic.js provides a web3 interface to scale DApps on Ethereum

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.2%
  • Shell 5.8%