Technical challenge for crypto payment.
- Next
- Typescript
- Metamask
- React query
- Tailwind
- Jest
- React testing library
https://crypto-payment-vert.vercel.app/
If you want to try a Metamask transaction, select Ethereum as crypto for your test payment and you can use Goerli network for testing purposes.
You will need to creat a .env.local file with NEXT_PUBLIC_DEVICE_ID variable and then run:
npm run dev
For running tests:
All tests will run and you will get the coverage report at the end
npm run test
In case you need to update snapshot tests, you can run:
npm run test:updateSnapshot