JSPM

  • Created
  • Published
  • Downloads 6800
  • Score
    100M100P100Q121953F
  • License MIT

Package Exports

  • @starknet-react/core
  • @starknet-react/core/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@starknet-react/core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@starknet-react/core

StarkNet React is a collection of React hooks for StarkNet.

Installation

npm install @starknet-react/core
# or
yarn add @starknet-react/core

Documentation

Documentation is available online.

Development

Start by installing pnpm, then run the following command from the root of the project:

pnpm install

Running tests requires to have starknet-devnet running locally. The easiest way is to use docker with:

docker run --rm -p 5050:5050 shardlabs/starknet-devnet:latest

After that, you can run tests with pnpm test.