* First read * More reads * Target es2020 * No need anymore * feat: Update thirdweb client initialization --------- Co-authored-by: Jonas Daniels <[email protected]>
13 lines
328 B
TypeScript
13 lines
328 B
TypeScript
import { createThirdwebClient } from "thirdweb";
|
|
import { DASHBOARD_THIRDWEB_CLIENT_ID } from "../constants/rpc";
|
|
import { IPFS_GATEWAY_URL } from "./sdk";
|
|
|
|
export const thirdwebClient = createThirdwebClient({
|
|
clientId: DASHBOARD_THIRDWEB_CLIENT_ID,
|
|
config: {
|
|
storage: {
|
|
gateway: IPFS_GATEWAY_URL,
|
|
},
|
|
},
|
|
});
|