The XRC-20 protocol is not only an inscription protocol, it is also a bridge between real life and the digital world. XRC-20 will redefine the storage and interaction standards of gateways. Make engaging in the digital world as easy as sending an email.

The Xrc20 protocol contains multiple standards that will redefine the user interaction process with Ripple, thereby simplifying operations for users.

Ripple Info File


The ripple.txt file is used to provide a common place where the client can find information about your organization’s Ripple integration. By setting the domain of your Ripple account to the domain that hosts your ripple.txt, you can create a definitive link between this information and that account. Any website can publish Ripple network information, and the ripple.txt is designed to be readable by both humans and machines.

If you are a gateway or issuer, the ripple.txt file serves a very important purpose: it allows you to publish information about your organization and token(s) that help to legitimize your offerings. Clients and exchanges can use this information to decide whether a token should be listed. Fully and truthfully disclosing contact and business information is an essential step in responsible token issuance.

If you are a gateway or service provider, the ripple.txt file is also where you publish your API. The wallet uses these APIs to decide how to deposit and withdraw token(s), as well as other interactions.

TBD

Deposit and Withdrawal API


This section defines the standard way for gateways and wallets to interact on behalf of users. This improves user experience by allowing wallets and other clients to interact with gateways directly without the user needing to leave the wallet to go to the gateway's site.

TBD

Bridge API


This section defines the standard way for gateways, service providers, and wallets to interact with users. This is the bridge between users and the digital world. The protocol will dynamically generate content and interact with the user, who only needs to use an email-like address.

The protocol will be compatible with Ripple’s previous Federation Protocol.

TBD

Inscription


Ripple does not offer smart contract functionality, and it does not support Script and OP. The XRC-20 protocol involves inscribing the metadata and transaction data of Inscription onto the Ripple network. Consistency proof of the ledger is ensured through the use of standard indexers.

XRC-20 processes transactions in JSON format and is comprised of many fundamental transaction types: mint, reflect, transfer, list, delist and buy.

This protocol is also a template that you can easily extend and support other operations and even smart contracts.