Skip to content

feat: one-shot create-and-seed pool create + mint-at-deploy token fee - #65

Merged
chiku524 merged 3 commits into
mainfrom
cursor/create-and-seed-finance-ac91
Nov 5, 2026
Merged

chiku524 merged 3 commits into
mainfrom
cursor/create-and-seed-finance-ac91

Conversation

@chiku524

@chiku524 chiku524 commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Summary

Wires Finance to the protocol create-and-seed factory and collapses Create Token fee collection into the deploy tx.

Create Pool

  • When REACT_APP_BOING_NATIVE_CREATE_AND_SEED_FACTORY is set: one Express Batch (wrap? → approve → create_and_seed → add_liquidity)
  • Falls back to deploy + bind/seed batch (two approvals) if unset or the one-shot fails
  • UI / docs copy updated for one- vs two-approval paths
  • Success copy no longer claims Swap/Pools listing when register was skipped

Create Token

  • Platform fee (0.5%) is credited to the treasury inside mint-at-deploy init — no second Express approval
  • UI fee banner + panel copy aligned (no “separate fee transfer” / second prompt)
  • Legacy post-create fee transfer kept as fallback

Gate (ops)

Do not set REACT_APP_BOING_NATIVE_CREATE_AND_SEED_FACTORY until the factory AccountId is on-chain. Merge after network #169 is on main (SDK 0.5.40).

Depends on boing.network create-and-seed factory + SDK 0.5.40.

Open in Web Open in Cursor 

chiku524 and others added 2 commits November 5, 2026 21:26
Wire Create Pool to the create-and-seed factory when published (one
Express approval). Credit Create Token platform fee in deploy init so
fee collection no longer needs a second approval.

Co-authored-by: nico.builds <nico.builds@outlook.com>
One Express approval credits the platform fee at deploy; stop promising
a separate fee transfer. Also honest Create Pool success when register
is skipped.

Co-authored-by: nico.builds <nico.builds@outlook.com>
Co-authored-by: nico.builds <nico.builds@outlook.com>
@chiku524
chiku524 merged commit b1095db into main Nov 5, 2026
4 of 5 checks passed
@chiku524
chiku524 deleted the cursor/create-and-seed-finance-ac91 branch November 5, 2026 22:29
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