Crossmint
Search…
Migration to Goerli Testnet
Crossmint will be migrating our testnet RPC nodes to use the goerli testnet instead of rinkeby. Here is what you need to do to enable goerli support now in your testing.
As long as this docs page is live you'll need to setup your Crossmint collection in: https://goerli.crossmint.io/console instead of our staging system.
The good news is your existing staging developer account is enabled here. You will also be able to see any other collections you've created here.
Set up your collection as normal in the Ethereum tab of the create-collection section of the console.
The only other thing you need to do is update the button code you deploy to your test site so the environment is set to https://goerli.crossmint.io instead of staging. Here is a sample button config using the latest version of the sdk:

React Button Config

<CrossmintPayButton
clientId: "YOUR_CLIENT_ID",
mintConfig: {{type: "erc-721", totalPrice: "0.005", "count": 1}},
environment: "https://goerli.crossmint.io"
/>

Vanilla JS Button Config

<crossmint-pay-button
clientId="YOUR_CLIENT_ID",
mintConfig='{"type":"erc-721","totalPrice":"0.005","count":1}',
environment: "https://goerli.crossmint.io"
/>
Note the environment attribute of both these buttons!
When we transition our staging environment from Rinkeby to Goerli you will need to update your environment attribute to staging again.
If you have any questions or run into issues contact our support via [email protected] or reach out to us on discord. https://discord.gg/DZNpWV56
Copy link
Outline
React Button Config
Vanilla JS Button Config