Inspiration
AlephConnect was born from our desire to create a more secure, transparent, and efficient platform for connecting employers and freelancers in the ever-evolving gig economy. We were inspired by the potential of blockchain technology to revolutionize traditional work models and empower both employers and freelancers to collaborate seamlessly.
What it does
AlephConnect is a decentralized application (dApp) built on the AlephZero blockchain. It facilitates secure and trustless collaboration between employers and freelancers by offering the following key features:
- Auction-based Project Posting: Employers clearly define their project requirements and set a duration for submissions.
- Freelancer Offer Submission: Freelancers can propose offers, specifying their reward and completion timeframe.
- Employer Offer Selection: Employers have the flexibility to choose the most suitable offer based on their criteria.
- Secure Escrow System: Upon offer acceptance, employers deposit the agreed-upon reward in AlephZero tokens, acting as collateral during the project duration.
- Freelancer Incentives: To encourage timely completion, freelancers also deposit a fixed amount of tokens, which are returned upon successful delivery or slashed in case of non-fulfillment.
- Dispute Resolution: In case of disagreements, a Decentralized Autonomous Organization (DAO) serves as a neutral mediator.
How we built it
AlephConnect leverages several key technologies:
- Substrate Framework: Provides the foundation for building secure and scalable blockchain applications.
- Ink! smart contracts: Written in Rust for efficient and reliable on-chain logic execution.
- Next.js frontend: Offers a robust and performant framework for building the user interface.
- TypeScript: Ensures type safety and improves code maintainability.
- Ink!athon boilerplate: Sped up the development
Challenges we ran into
Developing a complex dApp like AlephConnect presented several challenges, including:
- Balancing the incentives: Striking the right balance between ensuring the penalties are high enough to discourage any misconduct and still low enough for freelancers from across the globe to be able to enter the market.
- UI/UX design for a blockchain-based application: Creating an intuitive and user-friendly interface for users unfamiliar with blockchain technology.
- Conflict resolution The current solution is a mediator DAO. It's a simplest way but we are aware of the shortcomings. Ideally the economical incentives and planned integration or reputation system based on SBTs should minimise the need of mediator DAO to almost zero.
Accomplishments that we're proud of
Despite the challenges, we're proud of the following accomplishments:
- Functional prototype: We successfully developed a working prototype that demonstrates the core functionalities of AlephConnect, both the frontend and the smart contract.
What we learned
Throughout the development process, we gained valuable insights into:
- The potential of blockchain technology for disrupting traditional work models.
- The importance of user-centered design in building dApps.
- The challenges and complexities of integrating blockchain technology with existing infrastructure.
- How to use tools from AlephZero ecosystem
What's next for Aleph.Connect
We're actively working on the following enhancements for AlephConnect:
- v2:
- Subtask Management: Break down projects into smaller, manageable tasks for phased completion and partial payments.
- Stablecoin Support: Offer flexibility beyond AlephZero's native token.
- Improved User Experience: Implement a robust indexer to enhance search and data retrieval.
- v3:
- Reputation System: Integrate Soulbound Tokens (SBTs) to establish user credibility and trust within the ecosystem.
- Better conflict resolution: Oracle with AI powered models to resolve conflicts based on the provided evidence. Ideally keep the Mediator DAO as the org managing the system, but not the group responsible for resolving all the conflicts.
We believe AlephConnect has the potential to revolutionize the way employers and freelancers connect and collaborate. Here we also created a small case study on the potential market. here.
How to run the app
The frontend works out of the box, without a local node running, as the sample contract is pre-deployed. Necessary deployment metadata and addresses are provided under contracts/deployments/.
Current testnet contract address: 5EXFBWHcaC2XCZyW7oLWVvA8UUzkT7Qz4JNViMmf9KG6KCDg
Pre-requisites:
- Setup Node.js v18+ (recommended via nvm with
nvm install 18) - Install pnpm (recommended via Node.js Corepack or
npm i -g pnpm) - Clone this repository
Special Instructions for Windows Users Windows users must either use WSL (recommended) or a custom shell like Git Bash. PowerShell is not supported.
Pre-requisites when using WSL for Linux:
- Install WSL and execute all commands in the WSL terminal
- Setup Node.js v18+ (recommended via nvm with
nvm install 18) - Install the following npm packages globally:
npm i -g npmnpm i -g pnpm node-gyp make- Clone this repository into the WSL file system (e.g.
/home/<user>/alephconnect).
Tip: You can enter \\wsl$\ in the top bar of the Windows Explorer to access the WSL file system visually.
# Install dependencies (once)
# NOTE: This automatically creates an `.env.local` file
pnpm install
# Start Next.js frontend
pnpm run dev
Built With
- alephzero
- ink
- next.js
- rust
- shadcn
Log in or sign up for Devpost to join the conversation.