Skip to content

leovigna/web3-redux

 
 

Repository files navigation

Web3 Redux

NPM Package Version NPM Package Downloads web3-redux-1024x256.svg

A Redux library designed to efficiently sync and normalize blockchain data synced using web3.js and redux.

TL;DR

pnpm install @owlprotocol/web3-redux @owlprotocol/web3-redux-components

Projects

Docs

See the official documentation at owlprotocol.github.io/web3-redux/

Local Development

These instructions are only relevant if you are looking to contribute to web3-redux.

Install

git clone git@github.com:owlprotocol/web3-redux.git
pnpm install
pnpm install #Bug https://github.com/owlprotocol/web3-redux/issues/130

Make sure to run the install twice if running a fresh install (this is due to a bug of how pnpm attempts to link the local dependency before it's transpiled). This is only required on initial install.

Web3 Redux Watch Build

Run a watch build process to automatically re-build Typescript code on change.

cd packages/web3-redux
pnpm run build:watch # Runs tsc:watch typecheck + esbuild:watch build

Web3 Redux Components Storybook

Run storybook with Hot Module Replacement while developing UI Components.

cd packages/web3-redux-components
pnpm run storybook # Runs storybook with Vite

Research

See RESEARCH.md for known issues and challenges.

Storybook

We use StorybookJS for implementing components in an isolated environment. Check out STORYBOOK.md for more info on how to get setup.

License

2021 Owl Protocol MIT License.

About

Web3 Redux Library

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 97.7%
  • JavaScript 1.6%
  • Other 0.7%