Testing with Pali
Use the Syscoin test dapp for manual integration testing and your own automated tests for application logic.
Hosted test dapp
The Syscoin test dapp is hosted at:
https://syscoin-test-dapp.vercel.app/
It includes Pali smart-account flows, wallet_prepareSmartAccount, wallet_sendCalls, ERC-20 allowance batch generation, and common wallet requests.
Local test dapp
If you need to test unpublished changes:
git clone https://github.com/syscoin/test-dapp.git
cd test-dapp
yarn install
yarn start
Local Pali extension
git clone https://github.com/syscoin/pali-wallet.git
cd pali_wallet
yarn install
yarn dev:chrome
Then load build/chrome through the browser extension developer page.
Smart-account testing checklist
- Connect Pali through the default provider selector.
- Create a smart account with
wallet_prepareSmartAccountand wait for Pali to confirm deployment and validator setup. - Fund the smart account or gas payer if required by your test.
- Build an ERC-20 approve plus
transferFrombatch. - Send the batch with
wallet_sendCalls. - Confirm the wallet shows decoded calldata and one smart-account authorization for the smart-account batch.