ctoken
Inco Confidential Token (cToken)
cToken turns any ERC-20 into a confidential token. Balances and transfer amounts stay encrypted, only the holder can read them, and the token still moves on-chain like any other. This skill is for integrating cToken with the @inco/ctoken SDK. To write new confidential contracts, use the lightning skill.
Inco is TEE-based, not FHE. Never describe cToken as FHE.
How it works
Wrap: approve the cToken, call wrap(to, amount), your ERC-20 goes into a shared vault and you get an encrypted balance. Send: amounts travel encrypted, the tx pays a small fee. Unwrap: burn confidentially, get the underlying back. Read: balances are on-chain bytes32 handles, decrypted off-chain through a session.
Networks and addresses
| Network | network |
Indexer | App |
|---|---|---|---|
| Base | base |
https://api.ctoken.inco.org/api |
ctoken.inco.org |
| Base Sepolia | baseSepolia |
https://api.ctoken.testnet.inco.org/api |
ctoken.testnet.inco.org |
The same addresses work on both networks, and the SDK ships them. Never hardcode: