Before we get started building on Phoenix Blockchain, we need to import the chain!
*Note that we will be using ThirdWeb SDK (https://portal.thirdweb.com/)*
import { ThirdwebProvider } from “@thirdweb-dev/react”;
import “../styles/globals.css”;
import { Phoenix } from “@thirdweb-dev/chains”;
// Phoenix is the chain your dApp will work on.
const activeChain = Phoenix;
function MyApp({ Component, pageProps }) {
return (
<Component {…pageProps} />
</ThirdwebProvider>
}
export default MyApp;
// then in app use
import { Phoenix } from “@thirdweb-dev/chains”;