1.0.1 • Published 1 year ago

smartswap-redux-multicall v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

MultiCall

A React + Redux library for fetching, batching, and caching chain state via the MultiCall contract.

Setup

yarn add smartswap-redux-multicall or npm install smartswap-redux-multicall

// Somewhere in your app
export const multicall = createMulticall({ reducerPath: 'multicall' })

// In your store's root reducer
export const rootReducer = combineReducers({
  // Other reducers
  [multicall.reducerPath]: multicall.reducer
})
1.0.1

1 year ago

1.0.0

1 year ago