Giter VIP home page Giter VIP logo

inco-paysmart's Introduction

This is a Next.js project bootstrapped with create-next-app.

Inco PaySmart : Decentralized Freelancer / Agent Escrow platform

Introduction

A new and secure way to get paid for freelancing through an agent escrow contract using fully homomorphic encryption (FHE) . Try it out!.

This is an escrow module for freelancer service operated by agents. The sender deposit money for recipient and set agent for the payment. If the sender want to release the payment, then he can ask the agent to release the payment for the recipient.

Deployer will set the owner fee percent and agent fee percent. The fee percent and cancelLockTime are fixed values.

Web 3.0 technologies Used

Frontend: NextJS, postcss, tailwindcss, Theme web3 technologies: Web3 Modal, metamask wallet, Hardhat, XMTP Backend: Solidity + TFHE, Node.js, EncryptedERC20 Module

Blockchain: Inco Network

Project initiated and created for Inco - Hackathon 2023:

Description

This project was made using several technologies. The front-end was designed using a server-side-rendering javascript tech known as NextJS. the latest version of Next was used because of how fast it was to build the project.
A user can creates a new pool by clicking either of the following

  1. Add Pool (Native) INCO or
  2. Add Pool (ERC20) PST Token Mint PST Token.

When you create a pool a pool with the PST token, you have to approve the contract to spend the PST token on your behalf before transferring token to the smart contract.

Once deal is completed, the agent releases token to the receiver and get its percentage.

If you do not have the PaySmart (PST) Token, you can mint it by clicking on Mint PST Token. The entire project demo was deployed to Vercel

Live DApp hosted on

Live Dapp on Vercel: - https://paysmart-inco.vercel.app/

Deployed Contract addresses

EncryptedERC20 contract https://explorer.inco.network/address/0x5E4e5347eB417982375Ef9BDe0B77F4322FCF79F

escrow contract https://explorer.inco.network/address/0x60cF847C6Ea49009ae290F749451F4CB66CAD0B2

Decrypt contract https://explorer.inco.network/address/0x1B7a6536f23a16e198246A3f80Cd646f86856F11

Getting Started

First, run the development server:

npm run dev
# or
yarn 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.

Connect with me and send me a mail

E-mail - [email protected]

stay connected on twitter @holyaustin

inco-paysmart's People

Contributors

holyaustin avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.