@counterfactual/cf-wallet.js
TypeScript icon, indicating that this package has built-in type declarations

0.2.6 • Public • Published

@counterfactual/cf-wallet.js

cf-wallet.js is a library that enables web applications to communicate with a user's Counterfactual-enabled wallet. It allows developers to install and interact with apps on the Counterfactual network.

  • Minimal Interface — cf-wallet.js exposes a simple set of classes and methods to get the job done easily and quickly, while still allowing for complex behavior.
  • Secure — cf-wallet.js never handles a user's money directly: any request to move money into or out of an app is handled by the user's wallet software and has to be manually approved by the user. That means you don't have to worry about mishandling a user's funds.
  • Powerful — Write complex applications that handle real assets on the Ethereum blockchain with the performance of the web stack.

Note: The API for cf-wallet.js is still highly experimental and is subject to change until a 1.0.0 version is available. This is an active work in progress and the docs will be made available soon.

Experimental Usage

Make sure you have Yarn v1.10.1 installed or higher. Refer to Yarn's installation guide for setup instructions for your operating system.

To install the dependencies:

yarn

Building the package

To build the cf-wallet.js package:

yarn build 

Docs

To generate the docs:

yarn docs 

Readme

Keywords

none

Package Sidebar

Install

npm i @counterfactual/cf-wallet.js

Weekly Downloads

0

Version

0.2.6

License

MIT

Unpacked Size

155 kB

Total Files

45

Last publish

Collaborators

  • alonbukai
  • cf19drofxots
  • ebryn
  • joelalejandro
  • snario