starknet-tongo

Solid

Confidential ERC20 payments on Starknet using Tongo protocol. Fund, transfer, withdraw, and rollover encrypted token balances with zero-knowledge proofs. Use when the user needs privacy-preserving transactions, confidential payments, encrypted balances, or auditable private transfers on Starknet.

AI & Automation 80 stars 25 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
64
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Starknet Tongo Skill Confidential ERC20 payments on Starknet using the [Tongo protocol](https://github.com/fatlabsxyz/tongo). Tongo wraps any ERC20 token into encrypted balances using ElGamal encryption and zero-knowledge proofs. No trusted setup required. ## When to Use - Confidential ERC20 payment flows that require encrypted balances or private transfers. - Compliance or auditor-enabled privacy flows built on top of Tongo accounts. ## When NOT to Use - Standard transparent ERC20 transfers, swaps, or wallet management without privacy requirements. - Cairo contract authoring, deployment-only tasks, or security auditing of unrelated code. ## Quick Start 1. Install the Tongo SDK, configure the Starknet/Tongo keys, and connect a funded Starknet account. 2. Use [skills catalog](../README.md) if the flow expands into wallet setup, deployment, or auditing. ## Prerequisites ```bash npm install @fatsolutions/tongo-sdk starknet@^9.2.1 ``` To run the demo script (`scripts/demo-e2e.ts`): ```bash npm install dotenv && npm install -D tsx ``` Environment variables: ```dotenv STARKNET_RPC_URL=https://starknet-mainnet.g.alchemy.com/v2/YOUR_KEY STARKNET_ACCOUNT_ADDRESS=0x... STARKNET_PRIVATE_KEY=0x... TONGO_CONTRACT_ADDRESS=0x... TONGO_PRIVATE_KEY=0x... TONGO_AUDITOR_PRIVATE_KEY=0x... # Optional, only needed for auditor/compliance ``` The demo script additionally requires both sender and receiver keys (test-only): ```dotenv TONGO_PRIVATE_KEY_SENDER=0x... TONGO_PRIVATE_KEY_R...

Details

Author
keep-starknet-strange
Repository
keep-starknet-strange/starknet-agentic
Created
6 months ago
Last Updated
yesterday
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category