New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

celer-light-client

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

celer-light-client

Celer Light Client

  • 0.16.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Celer Light Client

Build Status

This is a TypeScript implementation of a Celer client capable of sending and receiving conditional payments via state channels. Compared to a full Celer node, the light client does NOT have the capability of relaying payments.

API docs

Auto-generated API docs are available here. The APIs on the client object are listed here.

Try it out

  1. Make sure you have MetaMask installed on your browser and you are on the Ropsten testnet.
  2. Check out the repo.
  3. Run yarn install.
  4. Run yarn demo.
  5. A demo page will be available at localhost:1234. It is a bare-bone static page that implements a simple off-chain wallet.
  6. Click "Connect Celer wallet" and sign one pop-up message.
  7. Click "Open channel", sign one pop-up message, sign one transaction, and sign two pop-up messages after the transaction is mined.

Now you are free to send payments to a recipient that has also opened a channel, or you can send to the Celer Community OSP :)

The code is pretty self-explanatory.

FAQs

Package last updated on 15 May 2020

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