https://petsfoundme-safe-hackathon.vercel.app/ https://vercel.com/electrone901/petsfoundme-safe-hackathon
- Gelato contract: https://goerli.etherscan.io/address/0x54C322e4D5803370E084f40447C740c86fb8FacB#code
- GELATO_CONTRACT MUMBAI = '0xceE8EBe0C46ffF30787B1578fBD42E407bcB6D5C'
-
Web3Auth
-
The Safe SDK
- Auth Kit to authenticated and onboard users
- Onramp Kit to help the user getting started with funding their wallets stripe for demo purposes use this information https://docs.safe.global/learn/safe-core/safe-core-account-abstraction-sdk/onramp-kit
- We are using the Relay Kit & 1Balance to cover all gas costs and fees for any relay call, regardless of the underlying chain. A user could request relay calls on Ethereum mainnet, and Gelato will query their 1Balance to see if they possess enough equivalent USDC to cover the costs for this call. If the balance is sufficient, Gelato will go ahead and relay the message on-chain. To see the balance https://relay.gelato.network/balance
-
Task Id Relay: https://relay.gelato.digital/tasks/status/0x00f71c3fabc049bf530289c68652a1dc7ca957bdaa09be6c45977a5f0d55a3bf/
-
Task Id Mumbai: https://mumbai.polygonscan.com/tx/0xb6479164975694d74ccd839dcd519920c836badd77c2c28087fee75fab31e913
-
Contract https://mumbai.polygonscan.com/address/0x1aae17D2C4B5ea1b6cf4eeFC0D2f54bc5cD464cf
-
Base: baseDeployedContract:
0x9221bde96f1EdD09716253380C8ba15C2F7d00a2
for details: https://docs.base.org/using-base -
Superfluid and NFTs
PetsFundMe is a social app built by the community for everyone who supports pets. PetsFundMe is an NFT platform where pet owners and pet lovers come together and help each other to solve their pets needs from expensive surgeries to food supplies or free services.
PetsFundMe is the perfect pet hub for nonprofits, medical & government institutions, influencers, and artists to come together to solve the needs of underserved pets. Come to ask for financial support, as questions, answer questions, and give or receive donations. Come join us to make this planet a better world.
The inspiration came from volunteering to animal shelters, I have seem many pets in need, pet owners who need financial support to look after their pets. As pet lovers, we decided to create a platform that supports underserved pets and help them to recover.
PetsFundMe App supports underserved pets, rescue animals, and pets from low-income families. The idea is pretty simple: Pet owners list their needs we represent them as NFTs and users from all over the world can donate to a specific cause and get updates from their favorite pets. With the help of crowdfunding and additional resources, you'll be able to spend less time worrying about pet surgery costs and more time focusing on your pet's health.
- sender: 0xB676DcbCc37571FB1205f5e03885110626DB0b43
- receiver: 0x0f35507Fa1F080fA79C3bAEC783fa4317875D276
- receiver2 0x11Afb8521CbF03C3508378E41d4C5b7e2C90b233
You can read the blog at: https://medium.com/@javier_donoso/gelato-v2-superfluid-eb13166ac414 and see the walkthrough video: https://www.youtube.com/watch?v=OphQ2BdXJDQ&t=1s contracts live here https://remix.ethereum.org/#optimize=false&runs=200&evmVersion=null&version=soljson-v0.8.4+commit.c7e474f2.js
- Allows users to create fundraisers
- Allows users to provide updates about their pets’ status, health, and recovering process
- Allows users to follow their favorite pets and received personalized content
- Allows users to donate erc20 tokens
- Allows users to donate NFTs
- Allows users to browse fundraisers and filter them
- It gives users a more accurate picture of the impact we can do it together
- Users can send or receive tips for their cause
- Users can send or receive tips
- Fundraises are represented as NFTs
- Easily collect accurate information that is available to the public using blockchain technology
PetsFundMe application makes use of the following software:
-
Mumbai Polygon Network
enables our application to be a scalable platform with fast transactions. We deployed our app on the Mumbai Network. Contract Address:0x1aae17D2C4B5ea1b6cf4eeFC0D2f54bc5cD464cf
-
Skale Network
enables our application to be a scalable platform with almost gasless transactions. We deployed to the Skale Testnet. Contract Address:0x15036E33e8E8f706fd77A1aC550d28FD58432c1B
-
World Coin
makes sure users create only one fundraising event per person. -
Xmtp
allows donators to chat with organizers -
Covalent API
was beneficial for users' transactions and tips. This facilitated the retrieval of users’ NFTs and smart contract transactions. The Covalent API endpoints to get all NFTs balance and metadata from a wallet address such as images, contracts name, NFTs images, and balances. -
SuperFluid
enables stream payment for donations and rewards for our application -
Valist
facilitated the process of our software publishing and distribution in a secure way. We are hosting our application code in Valist. https://app.valist.io/main-account/pets-found-me
Unstoppable Domains Sponsored Bounty
facilitated the process of authentication and verification of our users in a secure way. Unstoppable allows owners of Unstoppable Domains to log in and share profile information with EVM-compatible applications using the universal Web3 Logins. https://pets-found-me.netlify.app/
TableLand
made our work easy with the Ethereum network. This allows us to work with a relational database to store Employment references and metadata for EVM chains like Ethereum. We will definitely keep using complex TableLand functions in the future.
-
IPFS NFTStorage
for data storage on IPFS that generates a transaction hash used to create an NFT of a photo. -
NFTPort
smooths the path of the minting and donating process and eliminates the high transaction fees. Our users will not pay anything for donating NFTs or minting. -
Solidity
for the smart contract. -
OpenZeppelin ERC721
we use the ERC721 template for faster development of our smart contract. -
Hardhat
for local blockchain development. -
React Js, Material-ui, Web3
React Js for the frontend, Material-ui, and Web3 to connect to the blockchain.
The contract functionality and donations took us longer.
We are proud of the final MVP and how our project went from an idea to a demo
We learned to work with IPFS NFTStorage and hardhat
Post updates Upon registration, add a point system for users.
- deployedSkaleContract ='0x15036E33e8E8f706fd77A1aC550d28FD58432c1B'
- deployedSkaleContract ='0x1aae17D2C4B5ea1b6cf4eeFC0D2f54bc5cD464cf'
- safe
- Auth Kit
- OnramopKit
- Relay Kit We are using the Relay Kit & 1Balance to cover all gas costs and fees for any relay call, regardless of the underlying chain.
A user could request relay calls on Ethereum mainnet, and Gelato will query their 1Balance to see if they possess enough equivalent USDC to cover the costs for this call. If the balance is sufficient, Gelato will go ahead and relay the message on-chain. To see the balance https://relay.gelato.network/balance
- stripe for demo purposes use this information https://docs.safe.global/learn/safe-core/safe-core-account-abstraction-sdk/onramp-kit
- base: baseDeployedContract: 0x9221bde96f1EdD09716253380C8ba15C2F7d00a2 for details: https://docs.base.org/using-base Network Name Base Goerli RPC Endpoint https://goerli.base.org Chain ID 84531 Currency Symbol ETH Block Explorer https://goerli.basescan.org/
-
Gnosis Chain baseDeployedContract
-
Integrate Gelato’s Gasless Wallet SDK for smooth onboarding & UX -
- Best use of Superfluid and NFTs
This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.js
. The page auto-updates as you edit the file.
API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.js
.
The pages/api
directory is mapped to /api/*
. Files in this directory are treated as API routes instead of React pages.
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.