Reputation: 185
I created a new react native project with this command:
npx react-native init AwesomeProject
installed package @polkadot/keyring, and created a default keyring:
const keyring = new Keyring();
After launching the project I get an error:
TypeError: Conversion from 'BigInt' to 'number' is not allowed.
Upvotes: 0
Views: 180
Reputation: 185
Some libraries are just not ment to work with react native, only with node js or web client. This is one of those cases
Upvotes: 0