{"repo":"Proof-Of-Humanity/proof-of-humanity-v2-contracts","free":true,"listed":false,"github":"https://github.com/Proof-Of-Humanity/proof-of-humanity-v2-contracts","clone":"git clone https://github.com/Proof-Of-Humanity/proof-of-humanity-v2-contracts.git","description":"Proof of Humanity Protocol v2","language":"TypeScript","stars":22,"topics":["smart-contracts","proof-of-humanity-v2","under-construction"],"license":null,"category":"blockchain-web3","readme_excerpt":"Cross-chain Proof-of-Humanity Smart contracts for the cross-chain version of Proof-of-Humanity Integration guidance Integrations should use CrossChainProofOfHumanity , not the chain-specific ProofOfHumanity contracts. ProofOfHumanity and ProofOfHumanityExtended are the local registry contracts for each chain, but external integrations should read humanity state through the deployed cross-chain proxy for the target chain. Install dependencies Deployment Scripts to help with deployment are in scripts/deploy folder. You can run corresponding commands to deploy different contracts: - deploy-poh : deploy ProofOfHumanity (on sidechain) - deploy-extended : deploy ProofOfHumanityExtended (on mainnet for integration of v1 profiles) - deploy-ccpoh : deploy CrossChainProofOfHumanity - deploy-gateway : deploy cross-chain gateway - deploy-pohlegacy : deploy legacy version of ProofOfHumanity (v1) (testnets only) Note that variables are hardcoded in each script file and contract addresses (which are going to be used to connect contracts interacting with each other) are to be added in scripts/consts/addresses/addresses-mainnets.ts file. Compile contracts Other hardhat commands can be searched in the hardhat documentation. Deployed contracts on mainnets (Ethereum and Gnosis) and guidance - ETHEREUM: Running script deploy-extended mainnet , the main PoH contracts (proxy and implementation) are deployed on Ethereum mainnet. - POH ( ProofOfHumanityExtended.sol , local registry; do not use for in","default_branch":null,"files":null,"tree":[],"storefront":"/r/Proof-Of-Humanity","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Proof-Of-Humanity/proof-of-humanity-v2-contracts/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}