ccc icon indicating copy to clipboard operation
ccc copied to clipboard

feat: new layer of `FeePayer` as a helper for transaction final completion step

Open ashuralyk opened this issue 1 month ago • 7 comments

Description

Add a new layer named FeePayer (could be changed further), to abstract our transaction complete step, like balancing process, paying with capacity margin or with DeFi swap ratio, etc.

This change can bring much clearer layer hierarchy on CCC, it makes transaction completion step programmable.

ashuralyk avatar Nov 03 '25 11:11 ashuralyk

🦋 Changeset detected

Latest commit: cca810774e7d9f5872bc2d99b81ab06a87bf44bc

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 18 packages
Name Type
@ckb-ccc/core Patch
@ckb-ccc/eip6963 Patch
@ckb-ccc/joy-id Patch
@ckb-ccc/lumos-patches Patch
@ckb-ccc/nip07 Patch
@ckb-ccc/okx Patch
@ckb-ccc/rei Patch
@ckb-ccc/shell Patch
@ckb-ccc/spore Patch
@ckb-ccc/ssri Patch
@ckb-ccc/udt Patch
@ckb-ccc/uni-sat Patch
@ckb-ccc/utxo-global Patch
@ckb-ccc/xverse Patch
@ckb-ccc/ccc Patch
ckb-ccc Patch
@ckb-ccc/connector Patch
@ckb-ccc/connector-react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Nov 03 '25 11:11 changeset-bot[bot]

Deploy Preview for liveccc ready!

Name Link
Latest commit cca810774e7d9f5872bc2d99b81ab06a87bf44bc
Latest deploy log https://app.netlify.com/projects/liveccc/deploys/69301e61f370c40008043597
Deploy Preview https://deploy-preview-328--liveccc.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

Lighthouse
1 paths audited
Performance: 23 (🟢 up 3 from production)
Accessibility: 88 (no change from production)
Best Practices: 92 (🔴 down 8 from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify[bot] avatar Nov 03 '25 11:11 netlify[bot]

Deploy Preview for apiccc ready!

Name Link
Latest commit cca810774e7d9f5872bc2d99b81ab06a87bf44bc
Latest deploy log https://app.netlify.com/projects/apiccc/deploys/69301e6129a35b00084aa66e
Deploy Preview https://deploy-preview-328--apiccc.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

Lighthouse
1 paths audited
Performance: 88 (🟢 up 6 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 94 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify[bot] avatar Nov 03 '25 11:11 netlify[bot]

Deploy Preview for appccc ready!

Name Link
Latest commit cca810774e7d9f5872bc2d99b81ab06a87bf44bc
Latest deploy log https://app.netlify.com/projects/appccc/deploys/69301e6182f46b000891802a
Deploy Preview https://deploy-preview-328--appccc.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

Lighthouse
1 paths audited
Performance: 68 (🔴 down 7 from production)
Accessibility: 89 (🟢 up 1 from production)
Best Practices: 92 (🔴 down 8 from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify[bot] avatar Nov 03 '25 11:11 netlify[bot]

Deploy Preview for docsccc ready!

Name Link
Latest commit cca810774e7d9f5872bc2d99b81ab06a87bf44bc
Latest deploy log https://app.netlify.com/projects/docsccc/deploys/69301e616f68bc00089bc82f
Deploy Preview https://deploy-preview-328--docsccc.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

Lighthouse
1 paths audited
Performance: 65 (🔴 down 2 from production)
Accessibility: 88 (no change from production)
Best Practices: 92 (no change from production)
SEO: 92 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify[bot] avatar Nov 03 '25 11:11 netlify[bot]

further implementation on margin fee payer for Spore module, here it is: https://github.com/ashuralyk/ccc/pull/8

@Hanssen0

ashuralyk avatar Nov 13 '25 11:11 ashuralyk

/gemini review

ashuralyk avatar Nov 19 '25 14:11 ashuralyk