The problem SafeContracts solves
Users who are new to the crypto space, often get scammed by connecting their wallets to malicious Dapps. We don't want new users to get scammed:( These incidents majorly hinders global adoption of web3
Within the dynamic DeFi ecosystem, new users who want to onboard and participate in crypto pools, ranging from retail traders and developers to enterprise-level entities, face inherent challenges in establishing the veracity and security posture of smart contracts. Whether engaging in liquidity provision, decentralized application interactions, or broader domain operations, a pervasive uncertainty exists regarding the underlying contract's reliability and susceptibility to exploits
- Community driven Blacklisting of smart contracts + Generative AI (leveraging Gemini-pro Model) + Intents classification of natural language prompts -> all this to scrutinize the smart contract code + 1inch Network's Portfolio Value API{Params: liquidity Pool balance} to find vulnerabilities in the smart contract and also takes in consideration the contract's history and past events
- The decentralized nature of the blockchain, while offering unprecedented financial freedom, also introduces significant security challenges
- Malicious actors exploit vulnerabilities in smart contracts, leading to substantial financial losses for users.
- SafeContracts addresses this critical issue by providing a robust, multi-layered security framework
- Our platform empowers users to make informed decisions by offering transparent security assessments, simplifies the onboarding process through social login integration, and incentivizes participation in secure DeFi ecosystems through staking rewards. This is made available by using WalletConnect, Safe protocol kit, Coinbase OnRamp and 1inch Network
- By establishing a trust-building mechanism with digital trust certificates via ERC5192(Soul Bound Tokens), SafeContracts is at the forefront of creating a safer and more secure DeFi environment
Challenges I ran into
- For providing AI generated reports we needed off-chain computation in FastAPI and providing this proof on-chain to our smart contract for querying the reputational data was a tiresome work
- Integrating safe wallets multi-sig supported smart account to our Dapp using the protocol kit was a bit difficult in the start
- The gemini-pro model by Google was hallucinating a lot i.e ignoring severe vulnerabilities. Later the model was fine tuned on tons of smart contract code with labels to provide accurate results
- We tried to make the UI more attractive and seamless by trying to integrate Three.JS which is partially completed