Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • Minds Backend - Engine Minds Backend - Engine
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 282
    • Issues 282
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 16
    • Merge requests 16
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • MindsMinds
  • Minds Backend - EngineMinds Backend - Engine
  • Issues
  • #2350
Closed
Open
Issue created Jul 01, 2022 by Ben@benhayward.benDeveloper

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
Edited Jul 28, 2022 by Ben
Assignee
Assign to
Time tracking