Skip to content

Latest commit

 

History

History
139 lines (84 loc) · 4.42 KB

README.md

File metadata and controls

139 lines (84 loc) · 4.42 KB

Quick start

  1. git clone [email protected]:fastRedwood/ETHShanghai2022.git
  2. Copy a .env file >cp -a env.example .env and fill with your own parameters.
  3. Get an NFT.Storage API key https://nft.storage/ and add this to the .env
  4. Add your rinkeby blockchain server api and url to the .env file (ive used alchemy here, though moralis & infura are also awesome)
  5. Install packages >npm install
  6. Deploy the solidity contract to the rinkeby testnet using hardhat >npx hardhat run scripts/deploy.js --network rinkeby
  7. Add your contract address to the .env file
  8. Run your front end in dev mode >npm start OR deploy with Fleek https://fleek.co/

DApp Step Show

Setup from scratch instead:

npx create-react-app my-app-name cd my-app-name npm install --save-dev hardhat npx hardhat (to get a sample project - choose basic project so we get all the folders. Choose no to gitignore and y to dependencies)

install dependencies:

npm install --save-dev @nomiclabs/hardhat-waffle ethereum-waffle chai @nomiclabs/hardhat-ethers @nomiclabs/hardhat-etherscan @openzeppelin/contracts npm install ethers dotenv

Tasks - development of contract

add .env to the .gitignore file rm ./contracts/Greeter.sol rm ./scripts/sample-script.js

touch ./contracts/SoulToken.sol touch ./scripts/run.js touch ./scripts/deploy.js

Write solidity contract Write run.js and test your contract

npx hardhat run scripts/run.js

Sign up for etherscan / get an API key & add it to hardhat.config networks: { rinkeby: { url: process.env.MORALIS_RINKEBY_API_URL, accounts: [process.env.METAMASK_RINKEBY_PRIVATE_KEY], }, }, etherscan: { // Your API key for Etherscan // Obtain one at https://etherscan.io/ apiKey: process.env.ETHERSCAN_API_KEY, }

Resources

On gitcoin

  • Yes, we create a grant for this project, Thanks for all the contributors!
  • gitcoin
  • Some pics we store to here:

content

About

Proof of Soul is a permissionless soulbound token issuance/attestation protocol that enables people to bring relationships on-chain.

Our Story

We're one of the ETHShanghai hackathon finalists.

Inspired by Glen Weyl, Puja, and Vitalik's latest paper on Decentralized Society and Soulbound Token, we believe the world will be a better place if we can bring relationships and affiliation on-chain.

Therefore, we made a Demo to show the world the basic concept of how to issue and attest an SBT (Soulbound token).

Future Plan

We decided to take it further and launch it on mainnet and L2 in late July with a better design and complete implementation, which

\1) enables people to revoke their SBT;

\2) enable people to search, issue, and attest with ENS integration;

\3) link to various DID services like Proof of Humanity and brightID.

We need your help to sponsor our developer and engineer without taking VC money which might danger the neutrality we treasured.

We believe a decentralized society will be formed from the grassroots, with the help and support of the individuals.

Thank you!

PS: our demo website is live on Rinkebey testnet only. Feel free to try it out!

<iframe class="ql-video" frameborder="0" allowfullscreen="true" src="https://www.youtube.com/embed/O3YiPVOWnVI?showinfo=0" style="box-sizing: border-box; cursor: text; display: block; max-width: 100%; height: max(170px, 360px); width: clamp(340px, 660px, 100%);"></iframe>