Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 407 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 407 Bytes

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);