Coti Smart Contracts

Compiles and deploys custom Solidity smart contracts on COTI with privacy features. Use when user asks to 'deploy contract', 'compile Solidity', 'smart contract', 'deploy on COTI', 'privacy contract', 'call contract function', 'encrypt value', or 'decrypt value'. Supports full contract lifecycle from compilation to interaction.

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add coti-io/coti-skills --skill coti-smart-contracts
Manual install
git clone --depth 1 https://github.com/coti-io/coti-skills.git /tmp/coti-skills
mkdir -p ~/.claude/skills
cp -r /tmp/coti-skills/coti-smart-contracts ~/.claude/skills/coti-smart-contracts

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# COTI Smart Contracts

## Overview

This skill handles the full lifecycle of custom Solidity smart contracts on COTI: writing, compiling, deploying, and interacting. COTI extends standard Solidity with **privacy primitives powered by garbled circuits**, allowing developers to build confidential smart contracts using familiar tools.

For pre-built token contracts, use the `coti-private-erc20` or `coti-private-nft` skills instead. This skill is for **custom contracts** that need direct Solidity authoring or COTI-specific privacy types (`itUint64`, `itString`, `itBool`).

## Prerequisites

- The `coti-mcp` MCP server must be connected and running
- A COTI account with AES key must be configured (use `coti-account-setup` skill)
- Native COTI balance for deployment gas costs
- Solidity source code for the contract to deploy

## Workflow

### Compile and Deploy (recommended)

1. Write or provide Solidity source code
   - For privacy features, import `MpcCore` and use `itString`/`itUint64` types
2. Call `compile_and_deploy_contract` with:
   - `solidity_source`: The Solidity source code string
   - `contract_name`: The contract name to deploy (must match `contract Foo` in source)
   - `constructor_params`: Array of constructor arguments, or empty array `[]`
3. Returns the deployed contract address and transaction hash

### Compile Only (inspect before deploying)

1. Call `compile_contract` with `solidity_source`
2. Returns ABI and bytecode without deploying
Read the full skill on GitHub

Details

Skill name
coti-smart-contracts
Path
coti-smart-contracts/SKILL.md
Repo updated
6 April 2026

FAQ

What does the Coti Smart Contracts skill do?

Compiles and deploys custom Solidity smart contracts on COTI with privacy features. Use when user asks to 'deploy contract', 'compile Solidity', 'smart contract', 'deploy on COTI', 'privacy contract', 'call contract function', 'encrypt value', or 'decrypt value'. Supports full contract lifecycle from compilation to interaction.

How do I install the Coti Smart Contracts skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add coti-io/coti-skills --skill coti-smart-contracts. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Coti Smart Contracts popular?

It lives in coti-io/coti-skills, which has 9 GitHub stars and 2 forks.

Related skills

Coti Account Setup

9

coti-io/coti-skills

Creates and configures COTI blockchain wallet accounts with privacy encryption keys. Use when user asks to 'create COTI account', 'set up wallet', 'generate AES key', 'import private key', 'switch network', or 'configure COTI'. Supports account creation, key generation, network switching between testnet and mainnet.

Finance & Crypto

Coti Private Erc20

9

coti-io/coti-skills

Deploys and manages privacy-preserving ERC20 tokens on COTI blockchain. Use when user asks to 'deploy token', 'create private token', 'mint tokens', 'transfer tokens', 'token balance', 'ERC20', 'private ERC20', 'approve spender', or 'token allowance'. Handles encrypted balances and confidential transfers.

DevOps & Cloud

Coti Private Messaging

9

coti-io/coti-skills

Sends and reads encrypted private messages between agents on COTI blockchain. Use when user asks to 'send a message', 'check inbox', 'read messages', 'private message', 'encrypted message', 'agent messaging', 'list sent messages', or 'message an agent'. Supports auto-chunking for long messages.

AI, LLMs & Agents

Event Sourcing

9

eralmansouri/skills

Use for event sourcing, event streams, event-sourced aggregates, business intent events, projections, replay, snapshots, optimistic stream concurrency, event schema evolution, and deciding whether event sourcing fits.

Marketing, Sales & Business

Token Info

8

KyberNetwork/kyberswap-skills

This skill should be used when the user asks to "check token price", "get token info", "token details", "what is the price of", "current price of", "look up token", "token lookup", "market cap of", "is this token safe", or wants to know the current price, market cap, safety status, or contract address of a token before placing a limit order, swapping, or zapping into a pool. Fetches token metadata and live USD price from KyberSwap APIs across 18 EVM chains.

Marketing, Sales & BusinessIn 1 list

Kagi Search

6

hffmnnj/kagi-skill

Search the web using Kagi's premium ad-free search engine, summarize web pages/PDFs/videos, and get AI-powered answers. Use when the user needs current information, wants to summarize a URL, or asks questions requiring web research. Kagi provides high-quality, unbiased results without SEO spam.

Marketing, Sales & Business

Browse the most popular Claude skills, all marketing, sales & business skills, or write your own with the skills generator.