In the web3auth extension directory the hashObject Signing a transaction errors when a message contains bigIntValues because they cannot be serialized.
Error
Failed to broadcast: TypeError: BigInt value can't be serialized in JSON
hashObject utils.js:67
signDirect signer.js:68
signDirect signingstargateclient.js:282
sign signingstargateclient.js:230
tx useTx.tsx:84
handleConfirm ConfirmationForm.tsx:89
Reproduce
install and run dev
git clone https://github.com/chalabi2/manifest-app
cd manifest-app
git checkout main
yarn install
yarn run dev
connect via web3auth social wallet option
visit /factory/create
attempt to create a token
Working solution
Simply check if there are any bigInt values in the hashObject
Summary
In the web3auth extension directory the hashObject Signing a transaction errors when a message contains bigIntValues because they cannot be serialized.
Error
Reproduce
install and run dev
connect via web3auth social wallet option
visit
/factory/create
attempt to create a token
Working solution
Simply check if there are any bigInt values in the hashObject