Mppx.restore
Restore the original global fetch
Choose a signing account
Create a server-only wallet.ts module, then import account wherever an example creates a local signing account.
wallet.ts
import { privateKeyToAccount } from 'viem/accounts'
export const account = privateKeyToAccount(process.env.PRIVATE_KEY as `0x${string}`)Restores the original fetch after Mppx.create() polyfilled it.
Usage
Return type
voidParameters
None.