Define clearly how to deploy the contracts

- Use `Deploy ERC20 Poof Cash` part of README to deploy the contracts
 - Remove build/ and contracts/ since they are generated
 - Rely on the existing trusted prover / verifier keys from Tornado trusted setup
 - Automatically change owner to zero address after deploying the ERC20Tornado contract
This commit is contained in:
Brian Li 2021-04-25 10:01:10 -07:00
parent 4d028922e6
commit d946cf0808
40 changed files with 18 additions and 2143399 deletions

View file

@ -23,7 +23,7 @@ async function downloadFile({ url, path }) {
}
async function main() {
const release = await axios.get('https://api.github.com/repos/tornadocash/tornado-core/releases/latest')
const release = await axios.get('https://api.github.com/repos/poofcash/poof-core/releases/latest')
const { assets } = release.data
if (!fs.existsSync(circuitsPath)){
fs.mkdirSync(circuitsPath, { recursive: true })