Get SKALE system on testnet running in parralel to existing offchain system
Goal
Run a parallel off-chain system based on SKALE testnet, that mirrors users off-chain activity onto the SKALE network. We can use this to verify that everything is working correctly.
What needs to be done
We should try to do this at the Offchain Transactions classs level so that this happens every time there is an offchain transaction, so all of the below should work:
- Wire - should send funds between two users Minds Wallets (SKALE)
- Boost - should send tokens to a configurable user (would be
@boost
on prod) - refund should send back from that channel also. - Withdraw - should send to a configurable user wallet for now (withdraw channel on prod?)
- Purchases - should be wired to configurable Minds wallets (e.g. plus and pro users respectively).
QA
Use CLI endpoints to confirm balances match the offchain network after making various offchain transactions.
UX/Design
N/A
Personas
Eventually, users of the offchain system. Initially, us to confirm and test the feature.
Experiments
No experiments - bring in feature flag.
Acceptance Criteria
-
Mirror wires. -
Mirror boosts. -
Mirror withdraws. -
Mirror purchases. -
Verify balances match after performing these txs. -
Feature flag. -
UI should wait for these transactions on the front-end when feat flag is enabled - txs should happen both offchain and on the SKALE chain. - ideally mirror in the offchain transactions class if possible. -
Unit tests.
Definition of Ready Checklist
-
Definition Of Done (DoD) -
Acceptance criteria -
Weighted -
QA -
UX/Design -
Personas -
Experiments