A React Native wrapper for the PlutoSwiftSDK that enables Pluto proof generation and attestation capabilities in React Native applications.
Note: This module currently supports iOS only. Android support is planned for future releases.
Full documentation is available in the docs directory:
npm install @plutoxyz/react-native-sdk
Note: Requires iOS 17.0 or higher
After installing the package, run pod install in your iOS directory:
cd ios && pod install
For more information on manifest and prepareJS, visit our official docs
import React from "react";
import { ProofGenerator } from "@plutoxyz/react-native-sdk";
const MyComponent = () => {
const myManifest: ManifestFile = {
// Your manifest object structure
};
const handleProofGenerated = (proof: string) => {
console.log("Proof generated:", proof);
};
return (
<ProofGenerator
manifest={myManifest}
// if using prepareJS it would be hosted at https://example.com/prepare.js
onProofGenerated={handleProofGenerated}
/>
);
};
This project is licensed under the MIT License - see the LICENSE file for details.