biot-core
v0.2.25
Published
```sh $ npm install $ cd examples $ node balance.js ```
Downloads
90
Maintainers
Readme
biot-core
How to experience it?
$ npm install
$ cd examples
$ node balance.js
Docs
$ npm run docs
Steps of channel work.
A -> B
Opening of channel
- A: await_get1Contract_initiator
- B: await_createChannel
- A: waiting_transfers
- B: waiting_transfers
Transfer
- A: waiting_reverse_transfer
- B: waiting_transfer
- B: waiting_reverse_transfer
- A: waiting_transfer
- A: waiting_transfers
- B: waiting_transfers
closeOneSide
- A: waiting_mci
- A: close
closeMutually
- B: await_closing
- A: mutualClose
- B: mutualClose
Messages in channel
Opening of channel
- A: get1Contract
- B: 1Contract
- A: getInputsAndAddresses
- B: inputsAndAddresses
- A: addressesAndContract
Opening of channel
- A: get1Contract
- B: 1Contract
- A: addressesAndContract
Transfer
- A: transfer_start
- B: transfer_end
- A: pass
- B: pass
closeOneSide
Nothing is sent
closeMutually
- A: close