https://github.com/safe-global/safe-core-sdk/tree/main/packages/auth-kit/example
After running yarn install and yarn start, I get a lot of missing dependencies.
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.
Sign up to join this communityhttps://github.com/safe-global/safe-core-sdk/tree/main/packages/auth-kit/example
After running yarn install and yarn start, I get a lot of missing dependencies.
Can you please be more specific about what dependencies are missing?
The most common cause is a Webpack 5 Polyfill issue with Web3Auth, our AuthKit provider.
It usually results in errors like this: Module not found: Error: Can't resolve 'crypto'
This can be solved by following these steps or looking at this commit.
Summary:
yarn add --dev react-app-rewired crypto-browserify \
stream-browserify assert stream-http https-browserify \
os-browserify browserify-zlib url buffer process
react-app-rewired
and create a config-overrides.js