A solution adding payment modal to any dapp, powered by Push wherein you can send direct payments via chat to a friend in the style of i.e. iMessage+Apple Pay. End user can accept their funds on their preferred chain without worrying about swaps, bridges, consolidating funds, etc
Our platform provides a user-friendly way for people to send messages and make payments using a combination of advanced technologies.
In the frontend, users can easily type a message and click the "Send Message" button. If a payment is involved, the platform securely handles the user's encrypted private key and sends the message along with the payment information.
On the backend, our system processes the message and, if necessary, initiates the payment process. It interacts with a smart contract to handle currency preferences, deposits, and withdrawals. If the payment involves different blockchain networks, the platform takes care of the cross-chain transfer by locking funds on the source chain and minting corresponding tokens on the destination chain. Users can later withdraw these tokens in their preferred currency.
Throughout the entire process, our platform listens for updates from the smart contract and keeps track of the payment's status. The result is a seamless experience that combines secure messaging and cross-chain payments, ensuring users can easily communicate and transact in a single platform.
Our team has developed a powerful smart contract using Ownable and IERC20, equipped with functions to streamline a range of critical processes. In building our front end, we leveraged TailwindCSS and NextJS, while our back end communication relied on Express and POST. We employed the Push SDK to send messages and utilized a json object that we carefully stringified to carry the essential information for both transfer and bridging with Across bridge and onto Polygon, Arbitrum, Optimism, and more in the future. Additionally, this object allows us to create a robust layer on top of the Push SDK, enabling seamless integration despite limitations on the protocol level. Our solution is a game-changer for anyone looking to streamline and supercharge their web3 interactions.