To run the test script follow the below steps
- Make sure you have Node v18 is installed.
- Make sure you have latest npm installed
- Pull the project and run
npm install
- update
INFURA_ID, TO_WALLET_PRIVATE_KEY
andFROM_WALLET_PRIVATE_KEY
values inbiconomy.test.js
info:
- Create an infura.io account and create a new project to get the INFURA_ID
- Create 2 Metamask account and get the private keys for those accounts and update the TO_WALLET_PRIVATE_KEY and FROM_WALLET_PRIVATE_KEY
- Run
npm test
to run the tests