Skip to main content

p2pix

p2pix

A trustless p2p solution for exchanging FIAT to ERC20 layer 2 tokens
Hackathon ProjectDeFi

About p2pix

p2pix is an innovative and experimental hackathon project that aims to create a trustless peer-to-peer (P2P) solution for exchanging fiat currency to ERC20 tokens on Layer 2 (L2) blockchain networks. By leveraging the power of blockchain technology and Cartesi Rollups, p2pix has the potential to revolutionize the way people exchange value across borders and markets.

The Story of p2pix

p2pix was born out of the need to create a more efficient and secure way for people to exchange fiat currency for digital assets, particularly in countries where access to traditional crypto infrastructure is limited or constrained by government regulations. LocalBitcoins, for example, once played a significant role in providing access to cryptocurrency in regions such as Venezuela, where it helped drive capital flow through informal P2P and OTC methods. However, these transactions often face challenges, including friction, security risks, and logistical overheads.

p2pix aims to overcome these challenges by developing a platform that allows users to lock ERC20 tokens in a smart contract and set a fiat currency price to be paid through the PIX payment system. When a buyer initiates a transaction to the specified PIX key, the smart contract receives and releases funds based on a transaction proof generated by the PIX system. This process eliminates the need for a third-party escrow service, ensuring a more efficient and secure exchange.

Technical Details

Designed with flexibility in mind, p2pix's solution can potentially be ported to other payment systems, such as the upcoming FEDnow, legacy systems capable of generating transaction proofs, and even Central Bank Digital Currencies (CBDCs) when they become available for public use. The trustless nature of the platform ensures that the only centralization point lies with the currency issuer, a risk that cannot be mitigated.

One of the key technical challenges in implementing p2pix is obtaining signed messages from trusted fiat authorities, such as central banks or financial institutions, that can attest to successful fiat transfers. Ideally, these entities should provide the payer with a signed message confirming the transaction. This may become a reality with the new PIX APIs in Brazil or the design of CBDCs.

To address this challenge, p2pix leverages the power of Cartesi Rollups, which allows for the efficient reading and validation of signed JSON messages inside the DApp. While JSON formats are not usually suitable for smart contracts, the Cartesi Virtual Machine can efficiently handle such data. This capability is crucial, as trusted fiat authorities might not provide confirmations in a naturally suited format for smart contracts.

Future Possibilities

As an experimental hackathon project with the potential to become a market-ready product, p2pix is an exciting development in the world of decentralized finance. By offering a trustless P2P solution for exchanging fiat to ERC20 tokens on L2, p2pix has the potential to reshape the way people transact across borders, particularly in regions with limited access to traditional crypto infrastructure.

If successful, p2pix could pave the way for a new era of secure, efficient, and transparent value exchange, ultimately empowering individuals and communities worldwide to participate in the global economy without the limitations and risks associated with traditional P2P and OTC methods.

Last updated: Oct 20, 2023
Anyone is free to submit information about their project. Do your own research and use your best judgment when using or interacting with any of the projects listed in this directory. Being listed in this directory is not an endorsement from the Cartesi Foundation or any other related entity.

Explore similar projects

Bima Coin
Hackathon Project

Bima Coin

Bima for the people, Bima by the people

Last updated: Oct 20, 2023
DCA.Monster
In progress - Alpha

DCA.Monster

DCA.Monster is an Automated Market Maker (AMM) leveraging ERC20 streams for granular, efficient on-chain Dollar Cost Averaging (DCA).

Last updated: Apr 10, 2024
Nucleus
Hackathon Project

Nucleus

DeFi lending protocol with real-time dynamic risk management

Last updated: Oct 20, 2023