← Back to home

0xLeague

Decentralized marketplace for smart-contract audits. Browse auditors, get quote, reicieve security badge as NFT!

Screenshots

0xLeague screenshot 1
0xLeague screenshot 2
0xLeague screenshot 3
0xLeague screenshot 4
0xLeague screenshot 5
0xLeague screenshot 6

Problem Statement

For developers its notoriously difficult to know/find suitable smart-contract auditors - where are they, how good are they or what is their price. Furthermore signing NDAs and organizing meetings takes up valuable time.0xLeague is a platform protocol (set of 2 smart contracts) that aims to solve these issues:Anybody can create an auditor profile by signing a template NDAClients can browse auditors by score and availabilityClients can submit audit requests and auditors can answer with price quoteAll payments are settled on-chain (Scroll Sepolia blockchain) as test USDC (https://scroll-usdc-faucet.vercel.app/)Audit progress can be managed on-chainSuccessful audits receive an NFT badgeAfter audit, client can rate the audit experience. An on-chan average score is calculated for the auditor.Audit privacy:Audit is managed on fast and efficient public blockchain ScrollWorkflow requires publishing auditor and client telegram accounts. This is needed to establish a secodary verified communication channel in the context of the NDA.Workflow requires client publishing a git commit id. The repository does not need to be public.Auditor can (but is not mandated) to publish report publicly on blockchain.

Solution

The project was made using the no-code tool Toolblox. Toolblox allows to generate smart contracts with AI and deploy to a number of blockchain - in this case Scroll was selected. The first drafts of the smart-contract workflows were generated with GPT4 (Toolblox plugin for ChatGPT).Two smart contracts were created: one for storing auditor profile and the other for storing audits as NFTs. They reference each other. Profile contract calls Audit contract to create new audits passing on the auditor id, address and NDA. Audit contract calls Profile contract when the audit is scored by the user, passing on the score.The NDA is stored on IPFS using Web3.StorageContracts are available here https://app.toolblox.net/summary/0xleague_auditor_profile and here https://app.toolblox.net/summary/0xleague_audit_management and the generated code at https://github.com/sgraphics/0xleague/tree/main/ContractsThe landing page (https://app.toolblox.net/dapp/0xleague) was done with Toolblox dApp Builder. It is just a simple html which enables the user to choose to open either the Profile or Audit smart contract (a sub-dApp).All other functionality (app logic and behavior) is auto-generated by Toolblox based on the smart contract workflow. Toolblox is hosting dApps as PWAs (based on .Net Blazor framework) and is using ethers.js for blockchain integration. dApps are hosted in Azure, Swiss North region.The logo was created with Xara and the background image with the league characters was created with Midjourney.All design code, images, NDA and auto-generated smart contracts were published to https://github.com/sgraphics/0xleague/ at the time of creation.

Hackathon

ETHOnline 2023

2023

Prizes

  • 🏆

    🏊 Scroll — Pool Prize

Contributors