Blockchain & Cryptocurrency Glossary

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

  • search-icon Clear Definitions
  • search-icon Practical
  • search-icon Technical
  • search-icon Related Terms

CIP-30 (Cardano dApp‑Wallet Interaction)

1 min read
Pronunciation
[C-I-P thirty]
Analogy
CIP-30 is like the USB standard for devices: it provides a uniform interface so any dApp can plug into any wallet.
Definition
A Cardano Improvement Proposal defining a standard API for web‑based dApps to interact securely with Cardano wallets, handling transaction building, signing, and submission.
Key Points Intro
CIP-30 establishes a secure, standardized channel between Cardano dApps and user wallets.
Key Points

API methods: `enable()`, `getUtxos()`, `signTx()`, `submitTx()`.

Permissions: dApps request access to specific wallet functions and accounts.

Event handling: Notifications for account or network changes.

Security model: Wallet prompts user for explicit approval of each action.

Example
A DeFi dApp uses CIP-30 to request UTXOs, build a collateral deposit transaction, prompt the user to sign in their wallet, and then submit the signed transaction.
Technical Deep Dive
CIP-30 defines a JavaScript `cardano` object injected into dApp browsers. Wallets implement the API over secure messaging channels (PostMessage or native extensions). Methods return CIP-31‑compliant CBOR‑encoded transactions. dApps decode transaction results using the Cardano Serialization Library.
Security Warning
Malicious dApps could request excessive permissions; users must carefully review wallet prompts.
Caveat
Browser extension wallets may differ in supported API versions; dApps should feature‑detect capabilities.

CIP-30 (Cardano dApp‑Wallet Interaction) - Related Articles

No related articles for this term.