Observed since 21 Oct, 11:40 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
@0xsplits/splits-sdk-react
React wrapper for the 0xSplits SDK
This is the react wrapper for the core splits sdk. It provides convenient hooks for easily displaying 0xSplits data in a React app. The core sdk client is also available for performing all contract transactions.
yarn add @0xsplits/splits-sdk-react
npm install @0xsplits/splits-sdk-react
Detailed documentation for the SDK can be found here
The Splits SDK uses Viem under the hood. There is an older version of the SDK that uses ethers-v5. If you would like to use that instead, you can install it with:
yarn add @0xsplits/splits-sdk-react@0
npm install @0xsplits/splits-sdk-react@0
Documentation for the old Ethers version can be found here
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
@0xsplits/splits-sdkEnvironment{
"local_name": "@0xsplits/splits-sdk",
"alias": false,
"peer_metadata": null
} | ^2.12.0-alpha.1 | runtime |
@types/reactEnvironment{
"local_name": "@types/react",
"alias": false,
"peer_metadata": null
} | ^18.0.24 | development |
reactEnvironment{
"local_name": "react",
"alias": false,
"peer_metadata": null
} | 17.x.x || 18.x.x | peer |
Source distribution
{
"shasum": "843a2e4665c415bc960c2bf04603471e128de729",
"tarball": "https://registry.npmjs.org/@0xsplits/splits-sdk-react/-/splits-sdk-react-0.12.0-alpha.1.tgz",
"fileCount": 59,
"integrity": "sha512-4UIRbtLEQq/Vs4onxevunfQg3TGfyMuLY/BeVLJyYk9yHjkky8dj4eNK2vPZvQv2op4baezkvC/dtWb49k10ZQ==",
"signatures": [
{
"sig": "MEUCIGJT2L6BABKUyAAHJAHxFOWwqX82J01FZQhn8el7BZOdAiEAnReCVRtJvz98HU4rCvoDPAuuw2pUgqSNAMJLTY+4xC8=",
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
}
],
"unpackedSize": 275767
}Observed since 21 Oct, 11:40 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:d9b125cc2beb5d376e8ac0994336e103bc760fb5720721bb2e0fc834ce73febe