Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mainnet runthrough #279

Open
RusseII opened this issue May 6, 2022 · 2 comments
Open

Mainnet runthrough #279

RusseII opened this issue May 6, 2022 · 2 comments
Assignees

Comments

@RusseII
Copy link
Contributor

RusseII commented May 6, 2022

We should issue a Porter test bond on mainnet before we officially launch.

This will allow us to make sure that everything in our frontend works correctly with our mainnet contracts.

Roles
@jordanalexandermeyer will be the issuer. He will be responsible for acting as a DAO would. He will create the bond config, use gnosis to create the create bond transaction, and start a gnosis auction with the bonds.

@Namaskar-1F64F @RusseII and @luckyrobot will be lenders. They want to make a big profit by purchasing some porter bonds

Timing

We should do this immediately after deploying our contracts to mainnet. Probably ~May 13th (exact timing is dependent on the spearbit audit)

@RusseII RusseII self-assigned this May 6, 2022
@RusseII
Copy link
Contributor Author

RusseII commented May 24, 2022

Flow

  1. Call .approve on collateralToken with our bondFactory as the spender
  2. Call .createBond on the bondfactory to create bonds
  3. Call .approve on the created bond with GnosisAuction as the spender
  4. Call .initiateAuction on GnosisAuction

@Namaskar-1F64F
Copy link
Contributor

I think the setup for this to test "close" to mainnet involves

  • Run hardhat local node on a forked mainnet
  • Deploy contracts onto the node
  • Configure + connect metamask to the hardhat network
    • add localhost:8545 network
    • set hardhat chain id to 1337
  • Start local graph-node There might be a docker container for this?
    • Start indexing this
    • Set frontend to use the url for gql queries

I had done the first two things. Using metamask on a local hardhat fork, but the graph part is tricky.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants