Skip to main content
This guide demonstrates how to create a seamless private payment flow using Para SDK with Inco’s confidential wrapper. The app allows users to deposit, check balances, send confidential transfers, and withdraw with encrypted amounts.
Only transaction amounts are encrypted. Sender and receiver addresses are not.

Overview

Inco offers confidential transaction capabilities where token amounts are encrypted, providing privacy for:
  • Confidential Transfers: Token amounts are encrypted. The sender, recipient addresses, and asset are visible, but the transfer amount remains private.
  • Private Balance: User balances are stored encrypted and can only be decrypted by the account owner through cryptographic attestation.

Prerequisites

  • Node.js 20+
  • Next.js project
  • pnpm package manager
  • A Para API key from the Para Developer Portal
  • WalletConnect project ID

Environment Setup

Create a .env file in the project root:
To obtain values of NEXT_PUBLIC_PARA_API_KEY and NEXT_PUBLIC_PARA_ENVIRONMENT visit Para.

Installation

Para Wallet Integration

1. Configuration Setup

2. Para Provider Setup

3. Root Layout Integration

4. Connect Wallet Component

Core Features

1. Minting ERC20 Tokens

2. Balance Checking

3. Wrapping Tokens (Deposit)

4. Confidential Transfer

5. Unwrapping Tokens (Withdraw)

Utility Functions

Inco Lite Utilities

Balance Utilities

Wrap Utilities

Confidential Transfer Utilities

Unwrap Utilities

Conclusion

With Para, setting up secure, user-friendly access to Inco Confidential Wrapper contracts is fast and easy.

Miden Integration

Intermediate · 25 min · Zero-knowledge virtual machine

Squid Router Integration

Advanced · 45 min · Cross-chain USDC bridges

Ethereum Transfers

Intermediate · 20 min · Send ETH with Ethers and Viem