Xdapp Optimism Crowdfunding
xDapp for creating crowdfunding projects on Optimism with option for sending tokens from Polygon
Screenshots





Problem Statement
The goal of this project was to build cross chain application to raise money. On Optimism network is deployed smart contract to create crowdfunding projects. With Connext smart contracts it's possible to make transfer between chains and here is a template for sending money from Polygon to Optimism network for specified project address. It's perfect use case to use Connext, because it can take up to few hours until funds will arrive to wallet.
Solution
Smart contract for creating crowdfunding project is deployed on Optimism network. Connext smart contract is used to enable cross chain transfers between Polygon and Optimism. Method "sendFunds" on "Transfer" contract is passing project address inside payload to "ReceiveAndTransfer" contract and when tokens arrive they are automatically sent to project.
Hackathon
ETHSanFrancisco 2022
2022