Midnight SDK Guide
TypeScript SDK integration guide for Midnight dApps. Use this skill when building frontends, connecting wallets, or calling contracts from TypeScript. Triggers on "SDK", "TypeScript", "wallet integration", "connect dApp", "call contract".
Install
npx skills add UvRoxx/midnight-agent-skills --skill midnight-sdk-guidegit clone --depth 1 https://github.com/UvRoxx/midnight-agent-skills.git /tmp/midnight-agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/midnight-agent-skills/skills/midnight-sdk-guide ~/.claude/skills/midnight-sdk-guidePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Midnight TypeScript SDK Quick Reference
Guide for integrating Midnight contracts with TypeScript applications.
## When to Use
Reference this guide when:
- Building a frontend for a Midnight dApp
- Connecting the Lace wallet
- Deploying or calling contracts from TypeScript
- Handling errors from the SDK
- Building transaction flows
---
## Installation
```bash
npm install @midnight-ntwrk/midnight-js-contracts
```
---
## Core Types
### Contract Deployment
```typescript
import { deployContract, ContractDeployment } from '@midnight-ntwrk/midnight-js-contracts';
const deployment: ContractDeployment = await deployContract({
contract: compiledContract,
privateState: initialPrivateState,
args: constructorArgs,
});
const { contractAddress, initialState } = deployment;
```
### Contract Interaction
```typescript
import { callContract } from '@midnight-ntwrk/midnight-js-contracts';
// Call a circuit
const result = await callContract({
contractAddress,
circuitName: 'increment',
args: [amount],
privateState: currentPrivateState,
});
// Result contains new state and return value
const { newPrivateState, returnValue, proof } = result;
```
### ProvidersDetails
- Skill name
midnight-sdk-guide- Repository
- UvRoxx/midnight-agent-skills
- Path
skills/midnight-sdk-guide/SKILL.md- License
- MIT
- Repo updated
- 29 March 2026
FAQ
What does the Midnight SDK Guide skill do?
TypeScript SDK integration guide for Midnight dApps. Use this skill when building frontends, connecting wallets, or calling contracts from TypeScript. Triggers on "SDK", "TypeScript", "wallet integration", "connect dApp", "call contract".
How do I install the Midnight SDK Guide skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add UvRoxx/midnight-agent-skills --skill midnight-sdk-guide. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Midnight SDK Guide popular?
It lives in UvRoxx/midnight-agent-skills, which has 9 GitHub stars and 2 forks.
Related skills
Midnight Compact Guide
9UvRoxx/midnight-agent-skills
Comprehensive guide to writing Compact smart contracts for Midnight Network. Use this skill when writing, reviewing, debugging, or learning Compact code. Triggers on "write a contract", "Compact syntax", "Midnight smart contract", "ledger state", "circuit function", or "ZK proof".
Midnight Deploy
9UvRoxx/midnight-agent-skills
Deploy and manage Midnight smart contracts to local or preview network. Use this skill when deploying contracts, starting local infrastructure, or connecting to testnet. Triggers on "deploy contract", "start local node", "setup standalone", "deploy to preview", or "midnight infrastructure".
Midnight Infra Setup
9UvRoxx/midnight-agent-skills
Set up and run Midnight infrastructure locally using official dev tools. Use this skill when setting up local development environment, starting node/indexer/proof-server, troubleshooting infrastructure, or syncing components. Triggers on "setup infrastructure", "start local node", "run indexer", "proof server", "midnight-infra-dev-tools", or "local development".
Safe Encryption
5grittygrease/safe-encryption-skill
Encrypt, decrypt, and manage keys with the SAFE CLI — a modern GPG alternative with post-quantum support.
Sandbox
9ggozad/haiku.skills
Writes and executes Python code in a Docker sandbox with filesystem access and pre-installed data science packages.
Scylladb Alternator
9scylladb/agent-skills
Guide users building against ScyllaDB's DynamoDB-compatible API (Alternator). Use this skill when a user is porting a DynamoDB application to ScyllaDB, using boto3/AWS SDK clients against ScyllaDB, or asking about Alternator setup, write isolation, or load balancing. CQL schema design goes to scylladb-data-modeling. Triggers on "Alternator", "DynamoDB API", "DynamoDB compatible", "boto3 with ScyllaDB", "migrate from DynamoDB", "aws-sdk against ScyllaDB", "alternator_port", "alternator_write_isolation".
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.