Library for Reactive Dapp Development with auto syncing and caching capabilities https://subspace.embarklabs.io
Go to file
acolytec3 5fb93ae998
Fix useSubspace typing issue (#87)
2020-06-03 15:37:29 -04:00
examples Add react hooks demo (#77) 2020-03-30 22:23:18 -04:00
packages Fix useSubspace typing issue (#87) 2020-06-03 15:37:29 -04:00
.editorconfig move simulation to its own file 2019-06-01 10:13:43 -04:00
.eslintignore fix: ignore files 2020-03-04 15:05:23 -04:00
.eslintrc fix: lint (#68) 2020-02-12 15:53:33 -04:00
.gitignore Hexo Integration (#80) 2020-03-20 12:58:02 -04:00
.prettierrc fix: lint (#68) 2020-02-12 15:53:33 -04:00
LICENSE Adding README v0.1 2019-09-02 15:01:59 -04:00
README.md feat: update READMEs for root and core package 2020-03-04 15:12:16 -04:00
lerna.json Adds lerna and receive web3 object instead of provider (#75) 2020-03-04 14:24:51 -04:00
logo.png add logo 2019-10-02 22:31:58 -04:00
package.json package / lerna config 2020-04-03 14:07:30 -04:00
webpack.config.js package / lerna config 2020-04-03 14:07:30 -04:00
yarn.lock package / lerna config 2020-04-03 14:07:30 -04:00

README.md

Subspace

Overview

Subspace is a framework agnostic JS library that embraces reactive programming with RxJS, by observing asynchronous changes in Smart Contracts, and providing methods to track and subscribe to events, changes to the state of contracts and address balances, and react to these changes and events via observables.

Subspace also takes care of syncing under the hood, saving & loading the state in a local database.

Install

Subspace can be used in browser, node and native script environments. You can install it through npm or yarn:

npm install --save @embarklabs/subspace web3 rxjs # RxJS and Web3.js are needed peer-dependencies

Documentation

https://subspace.embarklabs.io

Contribution

Thank you for considering to help out with the source code! We welcome contributions from anyone on the internet, and are grateful for even the smallest of fixes!

If you'd like to contribute to Subspace, please fork, fix, commit and send a pull request for the maintainers to review and merge into the main code base. If you wish to submit more complex changes though, please check up with the core devs first on #embark-status channel to ensure those changes are in line with the general philosophy of the project and/or get some early feedback which can make both your efforts much lighter as well as our review and merge procedures quick and simple.

To build:

  • yarn
  • yarn bootstrap

License

MIT