csprclick-sdk-integration

Integrate Casper wallet connection and transaction signing via a Web SDK.

1|2|Updated Jan 10, 2024
One-click install
npx skills add https://github.com/make-software/csprclick-examples --skill csprclick-sdk-integration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: csprclick-sdk-integration
Source: https://github.com/make-software/csprclick-examples/tree/main/csprclick-skill
Command: npx skills add https://github.com/make-software/csprclick-examples --skill csprclick-sdk-integration

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

CSPR.click unifies wallet integration for Casper by providing a single Web SDK to connect wallets, sign transactions, and access Casper network features in web apps.

Core Features & Use Cases

  • Wallet connection and account management UI with a single integration point
  • Transaction signing and submission UI, plus off-chain message signing
  • CSPR.cloud API proxy access and fiat-onramp integration for in-app purchases
  • Works across React (both <19 and 19+), Next.js, and Vanilla JS frontends with CDN or npm setups
  • Event handling for signed_in, switched_account, signed_out, and disconnected

Quick Start

Configure window.clickSDKOptions and window.clickUIOptions, then dynamically inject the CDN script to load csprclick into your app.

Frequently Asked Questions about csprclick-sdk-integration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate a Casper blockchain wallet into my React application?

Casper wallet integration is implemented by initializing the csprclick Web SDK to connect wallets, render the connection UI, and manage account state across React, Next.js, and Vanilla JS frontends.

What is the best way to connect Casper wallets and sign transactions across multiple frontend frameworks?

The best way to connect Casper wallets is using a unified Web SDK that standardizes transaction signing, message signing, and account management UI across React, Next.js, and Vanilla JS environments.

How do I initialize the CSPR.click Web SDK in a web app using a CDN?

To initialize the CSPR.click Web SDK using a CDN, configure window.clickSDKOptions and window.clickUIOptions, then dynamically inject the script to load csprclick and manage wallet events.

Does the Casper Web SDK support React 19 and Next.js frontends?

Yes, the Casper Web SDK explicitly supports React versions before 19, React 19+, Next.js, and Vanilla JS frontends, enabling consistent wallet connection and transaction signing flows.

What wallet events need to be handled when connecting Casper wallets via Web SDK?

Wallet integration requires handling signed_in, switched_account, signed_out, and disconnected events to securely manage account state and ensure consistent wallet flows.

Can I access the CSPR.cloud API and fiat-onramp features through the Casper wallet SDK?

Yes, the Casper wallet SDK provides access to the CSPR.cloud API proxy and includes fiat-onramp integration to facilitate in-app cryptocurrency purchases directly.