ourzora / auction-house

156 stars 74 forks source link

deploying on other evm chains #4

Open ludns opened 3 years ago

ludns commented 3 years ago

Hi there, We'd like to use this protocol on xDai. Do you want a canonical deployment from your team whose address would be on the readme or should we just go ahead and deploy it? I am happy to PR the xDai address of the AuctionHouse contract + verify the code on Blockscout (xDai's block explorer).

tbtstl commented 3 years ago

@justinglibert Do you know if the Zora Core Protocol is already deployed on xDai? If it is, feel free to go ahead and deploy the AuctionHouse and let us know the addresses. We can add it to our list of addresses on docs.zora.co as well

ludns commented 3 years ago

I do not think it is deployed yet, but if it is admin-less I could deploy it now. I suppose the ethers factories are in a NPM package somehow?

tbtstl commented 3 years ago

Yes, it's easy enough to deploy. You'll just have to do the following:

  1. Clone the core repository locally
  2. Create a file named .env.local with the following keys:
    PRIVATE_KEY=
    RPC_ENDPOINT=
  3. Create a file called 100.json in the addresses/ directory with an empty JSON object ({}) as the initial content
  4. Run yarn && yarn deploy --chainId 100
  5. Create a PR into the core repository with your deployed addresses
tbtstl commented 3 years ago

@justinglibert Feel free to reach out on our discord if you run into issues, https://zora.community