• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

marscoin / martianrepublic / 23808195253
11%

Build:
DEFAULT BRANCH: main
Ran 31 Mar 2026 04:29PM UTC
Jobs 1
Files 100
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

31 Mar 2026 04:28PM UTC coverage: 10.941% (-0.3%) from 11.195%
23808195253

push

github

Martian Congress
feat: civic wallet migration — MG_ OP_RETURN on-chain identity swap

New feature allowing citizens to migrate their civic wallet to a new
address. Follows the same OP_RETURN standard as other on-chain actions:

  MG_<new_civic_address>

The flow:
1. User generates a new wallet (new mnemonic → new civic address)
2. Signs a migration tx from OLD address with OP_RETURN MG_<new_addr>
3. Broadcasts to blockchain
4. Blockchain scanner picks up MG_ tx and completes the swap

Architecture: The web UI only records the broadcast (status='broadcast').
The blockchain scanner is the authority that completes the migration
(status='confirmed') — Laravel is just a reference implementation,
the blockchain is the trail of truth.

Includes:
- MigrationController with initiate/confirm/history endpoints
- civic_wallet_migrations table (preserves full audit trail)
- 30-day rate limit on migrations
- Full-page wizard UI (4 steps: intent → generate → sign → complete)
- Old wallet preserved as HD wallet (funds remain accessible)
- Warning: do NOT discard old seed before moving funds

Scanner integration (track_blockchain.py) to be added in next session
to handle the MG_ head code and complete the DB swap.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

0 of 129 new or added lines in 1 file covered. (0.0%)

620 of 5667 relevant lines covered (10.94%)

1.5 hits per line

Uncovered Changes

Lines Coverage ∆ File
129
0.0
app/Http/Controllers/Wallet/MigrationController.php
Jobs
ID Job ID Ran Files Coverage
1 23808195253.1 31 Mar 2026 04:29PM UTC 100
10.94
GitHub Action Run
Source Files on build 23808195253
  • Tree
  • List 100
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23808195253
  • b38502a1 on github
  • Prev Build on main (#23806348698)
  • Next Build on main (#23815361430)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc