Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@paperxyz/embedded-wallet-service-rainbowkit
Advanced tools
RainbowKit wallet for Embedded Wallets by Paper
Paper is a developer platform for NFT commerce that easily onboards users without a wallet or cryptocurrency.
Install embedded-wallet-service-rainbowkit and peer dependencies (wagmi and ethers):
npm install @paperxyz/embedded-wallet-service-rainbowkit wagmi ethers@^5
yarn add @paperxyz/embedded-wallet-service-rainbowkit wagmi ethers@^5
Wrap your application with the provider:
function App() {
return (
// Wrap your application.
<PaperEmbeddedWalletProvider
appName="Paper RainbowKit Provider Example"
walletOptions={{
clientId: "992d8417-9cd1-443c-bae3-f9eac1d64767",
chain: "Polygon",
}}
>
// ...your app // Add the connect button anywhere in your app. // Make
sure it's wrapped within `PaperEmbeddedWalletProvider`.
<ConnectButton />
</PaperEmbeddedWalletProvider>
);
}
Pass your own button to match your app's branding. Here's an example with Chakra UI.
<ConnectButton>
<Button size="lg" rounded="full">
Sign In
</Button>
</ConnectButton>
The RainbowKit modal is highly customizable and modalOptions
supports all <RainbowKitProvider>
props. See RainbowKit's theme guide for the full list of options.
Here's an example of a few customizations:
import { darkTheme } from "@paperxyz/embedded-wallet-service-rainbowkit";
<PaperEmbeddedWalletProvider
modalOptions={{
modalSize: "wide",
theme: darkTheme({
accentColor: "#7b3fe4",
accentColorForeground: "white",
borderRadius: "small",
fontStack: "system",
overlayBlur: "small",
}),
}}
>
// ...
</PaperEmbeddedWalletProvider>;
FAQs
RainbowKit wallet for Embedded Wallets by Paper
The npm package @paperxyz/embedded-wallet-service-rainbowkit receives a total of 0 weekly downloads. As such, @paperxyz/embedded-wallet-service-rainbowkit popularity was classified as not popular.
We found that @paperxyz/embedded-wallet-service-rainbowkit demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.