Sui Wallet Integration

Sui Wallet Integration is a skill for Claude Code, Codex from 0x-j/sui-stack-claude-code-plugin. It costs 69 tokens per session (5,217 once invoked), scanned A, original, MIT.

A development guide for adding cryptocurrency-wallet features to Sui dApps. It uses Sui’s dApp Kit to connect wallets, read wallet state, and request transaction signatures.

In plain words
What is it for?
Use it to add wallet connections, support multiple Sui wallets, reconnect sessions, and sign and execute transactions in a React app.
Why use it?
It explains the standard frontend patterns for letting users connect accounts and approve blockchain actions.

Skill for Claude CodeCodex

Part of the sui-stack-dev plugin — 6 skills, 3 commands, 2 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/0x-j/sui-stack-claude-code-plugin/sui-wallet-integration
Any agent
npx skills add 0x-j/sui-stack-claude-code-plugin --skill sui-wallet-integration
Clone the repo
git clone --depth 1 https://github.com/0x-j/sui-stack-claude-code-plugin

Made for: Claude Code, Codex.

Or install sui-stack-dev, the plugin that ships this one along with the rest of its 6 skills, 3 commands, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Sui Wallet Integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/0x-j/sui-stack-claude-code-plugin/sui-wallet-integration.svg)](https://agentmods.dev/skills/0x-j/sui-stack-claude-code-plugin/sui-wallet-integration)
Your own site
<a href="https://agentmods.dev/skills/0x-j/sui-stack-claude-code-plugin/sui-wallet-integration"><img src="https://agentmods.dev/badge/skills/0x-j/sui-stack-claude-code-plugin/sui-wallet-integration.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,217 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.05217
Opus 5 $0.00034 $0.02609
Sonnet 5 $0.00014 $0.01043
Haiku 4.5 $0.00007 $0.00522

Measured 5d ago against content hash df8fe048b0f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

Sui Wallet Integration scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/sui-wallet-integration/SKILL.md · 893 lines

How it starts

The opening of the file, as written. The whole thing — 893 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Sui Wallet Integration

Provides expert guidance for integrating wallet functionality into Sui decentralized applications using the dApp Kit. This skill covers wallet connection, transaction signing, React hooks, and frontend wallet patterns.

Overview

The Sui dApp Kit (@mysten/dapp-kit) is the official library for building wallet-enabled frontend applications on Sui. It provides React components, hooks, and utilities for seamless wallet integration.

Key features:

  • Wallet connection - Connect to multiple wallet providers
  • React hooks - Access wallet state and blockchain data
  • Transaction signing - Sign and execute transactions from frontend
  • Auto-reconnection - Persist wallet sessions across page reloads
  • Multi-wallet support - Compatible with all standard Sui wallets

Official documentation: https://sdk.mystenlabs.com/dapp-kit

Installation

Install Required Packages

# Using npm
npm install @mysten/dapp-kit @mysten/sui @tanstack/react-query

# Using yarn
yarn add @mysten/dapp-kit @mysten/sui @tanstack/react-query

# Using pnpm
pnpm add @mysten/dapp-kit @mysten/sui @tanstack/react-query

Dependencies:

  • @mysten/dapp-kit - Main dApp Kit library
  • @mysten/sui - Sui TypeScript SDK
  • @tanstack/react-query - Required peer dependency for data fetching

Supported Wallets

The dApp Kit automatically supports all Sui standard wallets:

  • Sui Wallet (official)
  • Suiet Wallet
  • Ethos Wallet
  • Martian Wallet
  • Morphis Wallet
  • Surf Wallet
  • Glass Wallet
  • OneKey Wallet

No additional configuration needed - wallets are detected automatically.

Setup

Provider Configuration

Wrap application with required providers:

import { SuiClientProvider, WalletProvider } from '@mysten/dapp-kit';
import { SuiJsonRpcClient } from '@mysten/sui/jsonRpc';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';

const queryClient = new QueryClient();

// Network configuration with BOTH required parameters
const networks = {
  testnet: new SuiJsonRpcClient({
    network: 'testnet', // REQUIRED: Network identifier
    url: 'https://fullnode.testnet.sui.io:443', // REQUIRED: RPC endpoint
  }),
  mainnet: new SuiJsonRpcClient({
    network: 'mainnet',
    url: 'https://fullnode.mainnet.sui.io:443',
  }),
  devnet: new SuiJsonRpcClient({
    network: 'devnet',
    url: 'https://fullnode.devnet.sui.io:443',
  }),
};

function App() {
  return (
    <QueryClientProvider client={queryClient}>
      <SuiClientProvider networks={networks} defaultNetwork="testnet">
        <WalletProvider autoConnect>
          <YourApp />
        </WalletProvider>
      </SuiClientProvider>
    </QueryClientProvider>
  );
}

Read the full file on GitHub · 893 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 893 lines · 69 tokens per session scan A df8fe048b0f4

Subscribe to this mod's changes

Sui Wallet Integration is a skill published in the GitHub repository 0x-j/sui-stack-claude-code-plugin (10 stars, last pushed 7mo ago), licensed MIT. It adds 69 tokens to every session and 5,217 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

nx-run-tasks

Helps with running tasks in an Nx workspace. USE WHEN the user wants to execute build, test, lint, serve, or run any other tasks defined in the workspace.

nrwl/nx · 40 tokens

onchainkit

Build onchain apps with Coinbase's OnchainKit React components - wallets, swaps, NFTs, payments.

alsk1992/CloddsBot · 24 tokens

devtools-event-client

Create typed EventClient for a library. Define event maps with typed payloads, pluginId auto-prepend namespacing, emit()/on()/onAll()/onAllPluginEvents() API. Connection lifecycle (5 retries, 300ms), event queuing, enabled/disabled state, SSR fallbacks, singleton pattern. Unique pluginId requirement to avoid event…

TanStack/devtools · 79 tokens

adding-personhog-rpc

Guide for adding a new RPC to personhog-replica and personhog-router. Covers eligibility checks, proto definition, code generation for Python and Node.js clients, Rust implementation (storage trait, postgres queries, service handler, router wiring), and index compatibility validation. Use when adding a new gRPC…

PostHog/posthog · 88 tokens

adopting-generated-api-types

Use when migrating frontend code from manual API client calls (api.get, api.create, api.surveys.get, api.dashboards.list, new ApiRequest()) and handwritten TypeScript interfaces to generated API functions and types. Triggers on files importing from lib/api, files with api.get . , manual interface definitions that…

PostHog/posthog · 131 tokens

implementing-mcp-tools

Guide for exposing PostHog product endpoints as MCP tools. Use when creating new or updating API endpoints, adding MCP tool definitions, scaffolding YAML configs, or writing serializers with good descriptions. Covers the full pipeline from Django serializer to generated TypeScript tool handler.

PostHog/posthog · 58 tokens