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);
forked from mosaicdao/mosaic.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Mosaic.js provides a web3 interface to scale DApps on Ethereum
License
pgev/mosaic.js
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Mosaic.js provides a web3 interface to scale DApps on Ethereum
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- JavaScript 94.2%
- Shell 5.8%