Skip to content

Identity with owners and equity, transfer ERC20 and ERC721s to it. Deployed on Optimism

License

Notifications You must be signed in to change notification settings

carlbarrdahl/web3-identity

Repository files navigation

Web3 Identity

Built as a proof of concept for:
https://mirror.xyz/madhavanmalolan.eth/rB9taCl2uKAYb-Hy8QbZPgF4ElB5rNZXMhCEyxp6z0Y

  • Identity contract
    • Initialize owners and equities
    • Accept ERC20s
    • Transfer NFT
    • Has NFT
    • Withdraw
    • Disintegrate
  • Registry contract
    • Deploy Identity contract
  • UI
    • Connect Wallet
    • Select Network
    • Create Identity
      • Owner + Equity inputs
      • Add more
    • View Identity
      • Owners and equity
      • Accept ERC20s
        • List Uniswap tokens
        • Filter out already accepted
        • Accept selected ERC20
      • Transfer NFT
        • Approve NFT transfer
        • Check approval
        • Transfer
      • Send Tokens
        • Select accepted ERC20
        • Show balance when selecting token
        • Send ETH
        • Send ERC20
      • Withdraw
      • Disintegrate

🏗 Scaffold-ETH

everything you need to build on Ethereum! 🚀

🧪 Quickly experiment with Solidity using a frontend that adapts to your smart contract:

image

🏄‍♂️ Quick Start

Prerequisites: Node (v16 LTS) plus Yarn and Git

clone/fork 🏗 scaffold-eth:

git clone https://github.com/scaffold-eth/scaffold-eth.git

install and start your 👷‍ Hardhat chain:

cd scaffold-eth
yarn install
yarn chain

in a second terminal window, start your 📱 frontend:

cd scaffold-eth
yarn start

in a third terminal window, 🛰 deploy your contract:

cd scaffold-eth
yarn deploy

🔏 Edit your smart contract YourContract.sol in packages/hardhat/contracts

📝 Edit your frontend App.jsx in packages/react-app/src

💼 Edit your deployment scripts in packages/hardhat/deploy

📱 Open http://localhost:3000 to see the app

📚 Documentation

Documentation, tutorials, challenges, and many more resources, visit: docs.scaffoldeth.io

🍦 Other Flavors

🔭 Learning Solidity

📕 Read the docs: https://docs.soliditylang.org

📚 Go through each topic from solidity by example editing YourContract.sol in 🏗 scaffold-eth

📧 Learn the Solidity globals and units

🛠 Buidl

Check out all the active branches, open issues, and join/fund the 🏰 BuidlGuidl!

💌 P.S.

🌍 You need an RPC key for testnets and production deployments, create an Alchemy account and replace the value of ALCHEMY_KEY = xxx in packages/react-app/src/constants.js with your new key.

📣 Make sure you update the InfuraID before you go to production. Huge thanks to Infura for our special account that fields 7m req/day!

🏃💨 Speedrun Ethereum

Register as a builder here and start on some of the challenges and build a portfolio.

💬 Support Chat

Join the telegram support chat 💬 to ask questions and find others building with 🏗 scaffold-eth!


🙏 Please check out our Gitcoin grant too!

Automated with Gitpod

Open in Gitpod