An open API service indexing awesome lists of open source software.

https://github.com/devlyn37/eth-sf-complisend


https://github.com/devlyn37/eth-sf-complisend

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# Complisend

KYC erc20/721 transfer with messaging and reporting to an auditor

Demo: [eth-sf-complisend.vercel.app
](https://eth-sf-complisend.vercel.app/)

This project started at [SF ETH Global 2022 hackathon](https://ethglobal.com/showcase/complisend-3j0jx)

## Features

- **transfer** only if the recipient has **KYC_SBT** (non-transferable NFT with zk proof of identity that we built at eth NYC [showcase](https://ethglobal.com/showcase/zk-kyc-sbt-ozwb2))
- modified transfer function for **ERC20** and **ERC721**
- with the transfer, send **notes** (like Venmo), Photos, zkp, and videos
- **DAO** voting with the transfer tokens
- **reporting** of over $3000 transaction (anti-money-laundry and money business law compliance)
- **push** notification
- oracle checks **black-listed** addresses and **white-listed** tokens [TODO]

## How we do it

- **wrap** tokens into voting erc1155 with a modified transfer function that **checks** for KYC-SBT
- send a **message** to the receiver using xmtp, ipfs, livepeer
- **report** the encrypted transaction as an xmtp message and as a mina state
- tellor and uma as **oracles**





## Getting Started

we're using yarn

run

```bash
yarn
```

to install everything

# Building and running stuff

```bash
yarn compile
```

This will compile the contract and update the typechains and abi in frontend as well!

```bash
cd frontend
yarn
```

This will install the frontend packages

Then run

```bash
yarn dev
```

This will start up the Next.js development server. Your site will be available at http://localhost:3000/