https://github.com/devlyn37/eth-sf-complisend
https://github.com/devlyn37/eth-sf-complisend
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/devlyn37/eth-sf-complisend
- Owner: devlyn37
- Created: 2022-11-05T03:23:58.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-09T19:28:14.000Z (over 3 years ago)
- Last Synced: 2025-03-29T03:12:37.961Z (about 1 year ago)
- Language: TypeScript
- Homepage: eth-sf-complisend.vercel.app
- Size: 8.54 MB
- Stars: 0
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/