Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

biot-core

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

biot-core

```sh $ npm install $ cd examples $ node balance.js ```

  • 0.2.25
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
10
decreased by-84.13%
Maintainers
1
Weekly downloads
 
Created
Source

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
  1. A: await_get1Contract_initiator
  2. B: await_createChannel
  3. A: waiting_transfers
  4. B: waiting_transfers
Transfer
  1. A: waiting_reverse_transfer
  2. B: waiting_transfer
  3. B: waiting_reverse_transfer
  4. A: waiting_transfer
  5. A: waiting_transfers
  6. B: waiting_transfers
closeOneSide
  1. A: waiting_mci
  2. A: close
closeMutually
  1. B: await_closing
  2. A: mutualClose
  3. B: mutualClose

Messages in channel

Opening of channel
  1. A: get1Contract
  2. B: 1Contract
  3. A: getInputsAndAddresses
  4. B: inputsAndAddresses
  5. A: addressesAndContract
Opening of channel
  1. A: get1Contract
  2. B: 1Contract
  3. A: addressesAndContract
Transfer
  1. A: transfer_start
  2. B: transfer_end
  3. A: pass
  4. B: pass
closeOneSide

Nothing is sent

closeMutually
  1. A: close

Keywords

FAQs

Package last updated on 09 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc