Package Exports
- @starknet-react/core
- @starknet-react/core/dist/index.js
- @starknet-react/core/dist/index.module.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/coreDocumentation
Documentation is available online.
Development
Start by installing pnpm, then run the following command from the root of the project:
pnpm installRunning 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:latestAfter that, you can run tests with pnpm test.