Inspiration

The Assured Contracted Farming project is inspired by the need to eliminate middlemen in agriculture, ensuring farmers receive fair payments. It leverages blockchain technology to provide transparency and trust in the supply chain. The project empowers small farmers by enabling direct trade with retailers, promoting fair and sustainable practices.

What it does

The Assured Contracted Farming project features direct farmer-to-retailer transactions, eliminating intermediaries. It uses smart contracts with an escrow system to ensure secure payments and automated delivery confirmations. All transactions are recorded on the blockchain for transparency and trust.

How we built it

  • Developed smart contracts using SmartPy to automate tasks like registration, payments, and order confirmations.
  • Deployed the smart contracts on the Tezos blockchain using SmartPy.io for secure and transparent transactions.
  • Built the frontend with Next.js for a user-friendly interface where farmers and retailers can interact.
  • Integrated Taquito to connect the frontend with Tezos, enabling interaction with the smart contracts.
  • Used Temple Wallet and Beacon Wallet for secure user authentication and transaction signing.

Challenges we ran into

  1. Asynchronous Handling: Managing blockchain transaction delays with Taquito required careful handling to ensure the frontend remained responsive and displayed accurate transaction statuses.

  2. Smart Contract Interaction: Ensuring correct alignment between SmartPy contract functions and Taquito’s calls was challenging, causing potential mismatches and transaction errors.

  3. Wallet Integration: Integrating Temple Wallet for seamless authentication and transaction signing was tricky, especially ensuring compatibility with Taquito for a smooth user experience.

Accomplishments that we're proud of

  • Successful Smart Contract Deployment: Proud of deploying smart contracts on the Tezos blockchain and automating key functions like payments and order management.

  • Seamless Frontend Integration: Achieved a smooth integration of the frontend with Taquito, enabling user-friendly interactions with the blockchain.

  • Effective Wallet Integration: Successfully integrated Temple Wallet for secure and efficient transaction signing, enhancing user experience and security.

What we learned

  • Effective Asynchronous Management: Learned how to handle asynchronous blockchain transactions to maintain a responsive and accurate user interface.

  • Alignment of Contract Functions: Gained experience in ensuring compatibility between smart contract logic in SmartPy and frontend interactions using Taquito.

  • Integration of Blockchain Wallets: Developed skills in integrating blockchain wallets like Temple Wallet for secure authentication and transaction signing within the frontend application.

Built With

  • next
  • smartpy
  • tezos
  • web3
Share this project:

Updates