Observed since 21 Oct, 11:41 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
} | workspace:* | runtime |
@types/reactEnvironment{
"local_name": "@types/react",
"alias": false,
"peer_metadata": null
} | ^18.0.24 | development |
viemEnvironment{
"local_name": "viem",
"alias": false,
"peer_metadata": {
"optional": true
}
} | ^2.0.0 | peer |
reactEnvironment{
"local_name": "react",
"alias": false,
"peer_metadata": null
} | 17.x.x || 18.x.x | peer |
Source distribution
{
"shasum": "976e17f604150ab76282683838d943159fde1fdc",
"tarball": "https://registry.npmjs.org/@0xsplits/splits-sdk-react/-/splits-sdk-react-4.0.2.tgz",
"fileCount": 71,
"integrity": "sha512-auOorV9nZzpGjLH+dStuNhjTJJXiEEi4U7dwpfW2y4b3hLNxGqGKMN65rBbTzaoeSvByy6cKHM5Rjn8b3jMpJA==",
"signatures": [
{
"sig": "MEUCIQC8W2Q/c1OBugTpoDI2UxpmwjDwa56ArsEcNAOG10NfYQIgCgprEp2Wpv24h3VZYnGW6UD+p3k8naqQI9pa/en6Dx8=",
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
}
],
"unpackedSize": 399743
}Observed since 21 Oct, 11:41 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:2420c308ac8f4fba2030bc81317e71c49257e677bd8d2fcf3608101aa55ffdf9