electrone901 / petsfundme-safe-sdk-to-submit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Safe Hackathon

We Added

Inspiration

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 pet's 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.

Demo

  • sender: 0xB676DcbCc37571FB1205f5e03885110626DB0b43
  • receiver: 0x0f35507Fa1F080fA79C3bAEC783fa4317875D276
  • receiver2 0x11Afb8521CbF03C3508378E41d4C5b7e2C90b233

Gelato Source

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

What it does

  • 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

How we built it

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.

Challenges we ran into

The contract functionality and donations took us longer.

Accomplishments that we're proud of

We are proud of the final MVP and how our project went from an idea to a demo

What we learned

We learned to work with IPFS NFTStorage and hardhat

What's next

Post updates Upon registration, add a point system for users.

deployed Address

  • deployedSkaleContract ='0x15036E33e8E8f706fd77A1aC550d28FD58432c1B'
  • deployedSkaleContract ='0x1aae17D2C4B5ea1b6cf4eeFC0D2f54bc5cD464cf'

Alread added

  • safe
  1. Auth Kit
  2. OnramopKit
  3. 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

I need to add

  • 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.

Getting Started

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.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

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.

About


Languages

Language:JavaScript 91.9%Language:CSS 7.3%Language:Solidity 0.8%