Skip to content

mWLPOW incubation PoW token (0 decimals, 100/remint) - #1

Merged
nghiacc merged 6 commits into
masterfrom
cursor/white-lotus-token-scaffold-58ff
Jul 17, 2026
Merged

mWLPOW incubation PoW token (0 decimals, 100/remint)#1
nghiacc merged 6 commits into
masterfrom
cursor/white-lotus-token-scaffold-58ff

Conversation

@nghiacc

@nghiacc nghiacc commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Live incubation token is now mWLPOW (not mWLOTUS).

mWLPOW (mine this)

Token ID cc2ee91c0ed43da44fc115283ec4b5e523da9f1549f27eacc06b0a3e7dc1494f
Decimals 0
Remint Always 100 tokens
PoW 1 leading zero byte
P2SH ecash:pqplpsn4x8hqgjmycujrekspwxt748e4ju6qqs9lmg
Proven remint 3e9a04f1…
Target ~$0.00001/token (~1/1000 of future WLOTUS)
npm run mine-once

Also in this update

  • mine-once splits a small ~30 XEC fuel UTXO first (covenant has no change output — prior remint burned ~1900 XEC as fee)
  • Specs/docs retargeted to mWLPOW @ 0 decimals
Open in Web Open in Cursor 

Summary by CodeRabbit

  • New Features

    • Added Proof-of-Work token creation and reminting workflows for mWLPOW/WLOTUS.
    • Added mining support with configurable difficulty, Moore-style issuance adjustments, and deployment record generation.
    • Added covenant-based remint validation and multi-baton issuance support.
    • Added Chronik connectivity with endpoint failover.
  • Documentation

    • Added project overview, architecture, economics, specifications, research notes, quick-start instructions, and deployment guidance.
  • Chores

    • Added project configuration, environment templates, licensing, build scripts, and automated tests.

Migrate the covenant/miner scaffold from eminer branch
cursor/wlotus-scaffold-d6bb into the canonical wlotus repo, and
include feasibility research from eminer#1.

Includes consensus params (Moore 99918/100000, N=8 batons),
CashScript remint draft, genesis plan, Moore math + tests.

Co-authored-by: nghiacc <nghiacc@gmail.com>
@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 2a783f54-8480-4e3b-9f12-b2c4a46f2279

📥 Commits

Reviewing files that changed from the base of the PR and between 05cd4c0 and d43581c.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (53)
  • .env.example
  • .gitignore
  • LICENSE
  • README.md
  • contracts/WlotusPowRemint.compiled.json
  • contracts/WlotusPowRemint.spedn
  • contracts/WlotusRemint.cash
  • deployments/README.md
  • deployments/mainnet-last-remint.json
  • deployments/mainnet-mwlotus.json
  • deployments/mainnet-mwlpow.json
  • deployments/mainnet-pow-handoff.json
  • deployments/mainnet-pow-token-archived-mwlotus-1784268595664.json
  • deployments/mainnet-pow-token-archived-wlpow-1784268348929.json
  • deployments/mainnet-pow-token-v1-locked.json
  • deployments/mainnet-pow-token-v2-locked.json
  • deployments/mainnet-pow-token.json
  • deployments/mainnet-test-token.json
  • deployments/pending-funding-mwlotus.json
  • deployments/pow-contract-v2.json
  • docs/ARCHITECTURE.md
  • docs/ECONOMICS.md
  • docs/PROPOSAL.md
  • docs/SPEC.md
  • docs/STATUS.md
  • docs/TEST_TOKEN.md
  • docs/research/README.md
  • docs/research/alp-token-burn-on-ecash.md
  • docs/research/ergon-style-issuance-on-ecash.md
  • jest.config.cjs
  • package.json
  • scripts/compute-moore.ts
  • scripts/create-pow-token.ts
  • scripts/create-test-token.ts
  • scripts/mine-once.ts
  • scripts/new-wallet.ts
  • scripts/wait-create-mwlotus.ts
  • scripts/wait-for-funding-and-create.ts
  • src/covenant/minePow.ts
  • src/covenant/opcodes.ts
  • src/covenant/powRemintOutputs.ts
  • src/covenant/powRemintScript.ts
  • src/genesis/broadcastGenesis.ts
  • src/genesis/createGenesis.ts
  • src/index.ts
  • src/lib/moore.ts
  • src/miner/remint.ts
  • src/network/chronikUrls.ts
  • src/network/createChronik.ts
  • src/params/consensus.ts
  • src/params/testEconomics.ts
  • tests/moore.test.ts
  • tsconfig.json

📝 Walkthrough

Walkthrough

The repository adds WLOTUS/mWLPOW consensus parameters, Moore schedule calculations, ALP genesis and Chronik tooling, a PoW remint covenant, mining transaction construction, operational scripts, deployment records, tests, and protocol documentation.

Changes

WLOTUS PoW remint system

Layer / File(s) Summary
Consensus, genesis, and public API
src/params/*, src/lib/moore.ts, src/genesis/*, src/network/*, src/index.ts, tests/*
Adds consensus/economics constants, Moore calculations, multi-baton genesis planning and broadcasting, Chronik strategies, public exports, and Jest coverage.
PoW covenant and contract artifacts
contracts/*, src/covenant/*
Adds the Spedn remint covenant, compiled contract definition, PoW validation, deterministic output checks, mint OP_RETURN construction, and P2SH contract helpers.
Mining and token operations
src/miner/*, scripts/*
Adds nonce mining, signed three-output remint transactions, ALP token creation, wallet generation, funding waits, baton handoffs, and deployment-state persistence.
Documentation and deployment records
README.md, docs/*, deployments/*, .env.example, .gitignore, LICENSE, package.json
Adds project setup guidance, protocol/economics/research documentation, environment and tooling configuration, license text, and test/incubation/archived deployment manifests.

Estimated code review effort: 5 (Critical) | ~120 minutes

Sequence Diagram(s)

sequenceDiagram
  participant Miner
  participant Chronik
  participant Contract
  participant DeploymentStore
  Miner->>Chronik: Find mint baton and fee UTXOs
  Miner->>Miner: Mine nonce and sign covenant input
  Miner->>Contract: Construct three-output remint transaction
  Miner->>Chronik: Broadcast transaction
  Chronik-->>Miner: Return transaction id
  Miner->>DeploymentStore: Save remint metadata
Loading
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/white-lotus-token-scaffold-58ff

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

cursoragent and others added 3 commits July 17, 2026 02:33
Wire Chronik failover (chronik.e.cash, xec.paybutton.org,
chronik.pay2stay.com/xec), ecash-wallet ALP GENESIS tooling, and a
WLTEST profile targeting ~$0.000001/token (PoW 1 leading zero byte;
raise later for ~$0.01).

Includes new-wallet / create-test-token / wait-create-test-token
scripts. Genesis address pending funding before broadcast.

Co-authored-by: nghiacc <nghiacc@gmail.com>
Broadcast ALP GENESIS after 1000 XEC funding:
tokenId e64406bdda45fb46a642d9b6b2a949d9a12910046e3266e68158d7481e8b08a3
(1M WLTEST @ 6 decimals, 4 mint batons, PoW difficulty 1).

Co-authored-by: nghiacc <nghiacc@gmail.com>
Ship a Spedn Mist-style BIP143 preimage covenant (eCash has no native
introspection), create-pow-token / mine-once tooling, and a proven
mainnet remint on WLPOW. Document custodial WLTEST vs PoW WLPOW and
archive locked predecessor covenant deployments.

Co-authored-by: nghiacc <nghiacc@gmail.com>
@cursor cursor Bot changed the title Establish White Lotus (WLOTUS) ALP PoW remint scaffold White Lotus PoW remint covenant + live WLPOW token Jul 17, 2026
Adopt fixed 100.00/remint @ 2 decimals, ~$0.00001/token target (~1/1000
of future WLOTUS), Moore-on-work library schedule, and create/mine scripts.
Genesis wallet needs fresh XEC before mainnet mWLOTUS can be broadcast.

Co-authored-by: nghiacc <nghiacc@gmail.com>
@cursor cursor Bot changed the title White Lotus PoW remint covenant + live WLPOW token mWLOTUS incubation PoW token (1/1000 WLOTUS) Jul 17, 2026
Retarget incubation to mWLPOW with whole-token decimals, create mainnet
genesis + baton handoff, prove remint, and split small fuel before mining
so covenant fees no longer burn the wallet change.

Co-authored-by: nghiacc <nghiacc@gmail.com>
@cursor cursor Bot changed the title mWLOTUS incubation PoW token (1/1000 WLOTUS) mWLPOW incubation PoW token (0 decimals, 100/remint) Jul 17, 2026
@nghiacc
nghiacc marked this pull request as ready for review July 17, 2026 07:02
@cursor

cursor Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@nghiacc
nghiacc merged commit d1f24fa into master Jul 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants