{"repo":"TrustAlgo/Ethereum-Verus-smart-contracts","free":true,"listed":false,"github":"https://github.com/TrustAlgo/Ethereum-Verus-smart-contracts","clone":"git clone https://github.com/TrustAlgo/Ethereum-Verus-smart-contracts.git","description":"Ethereum Verus smart contracts","language":"Solidity","stars":17,"topics":["blockchain","ethereum","smart-contracts"],"license":null,"category":"blockchain-web3","readme_excerpt":"Ethereum Verus contracts Before compilation an account at https://infura.io/ is needed to allow you to connect to the Ethereum network. Create a new Ethereum project and choose rinkeby netowork and get a link that looks like this: https://rinkeby.infura.io/v3/015d792415a734560cd5dbdfeb4 (Dont use this one its invalid) Then edit the file truffle-config.js and edit the infura endpoint, also add in your private key to the private key variable. To compile all run: copy files from ./build/contracts VerusSerializer.json VerusProof.json VerusNotarizer.json VerusInfo.json verusBridge.json To Alan's sub directory directory/abi (these are the Abi files) Run to get a list of the contract addresses: goto your /Verustest/pbaas/veth/veth.conf file and copy in the contract addresses from the above list into the appropriate fields. Also copy the VerusBridge Contract address into the index.js of the VerusWebsite Dapp, to update that address. Running Truffle Tests To run the automated tests, your private key needs to be set in a .env file in the root folder as This Key has to be one of the Notaries Spending Keys. Then to run the tests run: Update 21st July 2023 - Added truffle tests Update 11th May 2022 - Truffle version must be no newer than 5.3.14 - Set contracts TokenManger.sol must be initialized with setContracts() after its updated.","default_branch":null,"files":null,"tree":[],"storefront":"/r/TrustAlgo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/TrustAlgo/Ethereum-Verus-smart-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."}