Skip to content

Sponsor chain name creation#103

Merged
CedrikNikita merged 2 commits intodevelopfrom
feature/sponsor-chain-name-creation
Apr 2, 2026
Merged

Sponsor chain name creation#103
CedrikNikita merged 2 commits intodevelopfrom
feature/sponsor-chain-name-creation

Conversation

@CedrikNikita
Copy link
Copy Markdown
Contributor

@CedrikNikita CedrikNikita commented Apr 1, 2026

Note

High Risk
Introduces new on-chain transaction flow that spends from a configured private key and adds new persistent tables + background cron retries, so misconfiguration or logic bugs could cause failed claims or unintended spend.

Overview
Adds a new sponsored AENS chain-name claiming feature under /profile/chain-name, including endpoints to create a wallet-signing challenge, submit a claim request, and query claim status.

Implements persistent claim/challenge storage (new TypeORM entities + SQL migration), a background cron-driven state machine to preclaim/claim/update/transfer names with retries/backoff, and introduces shared signature verification via a new verifyAeAddressSignature utility (used by both chain-name claiming and the existing X-invite challenge flow).

Extends configuration/deploy pipelines to provide PROFILE_CHAIN_NAME_PRIVATE_KEY and related retry/TTL settings so deployments can sponsor on-chain transactions.

Written by Cursor Bugbot for commit efaf6f9. This will update automatically on new commits. Configure here.

@CedrikNikita CedrikNikita force-pushed the feature/sponsor-chain-name-creation branch 4 times, most recently from 89b55b7 to 11ca426 Compare April 1, 2026 12:31
@CedrikNikita CedrikNikita force-pushed the feature/sponsor-chain-name-creation branch 2 times, most recently from 83dbb0d to 31b89b5 Compare April 2, 2026 08:01
@CedrikNikita CedrikNikita force-pushed the feature/sponsor-chain-name-creation branch from 31b89b5 to 6c9690a Compare April 2, 2026 08:13
@CedrikNikita CedrikNikita force-pushed the feature/sponsor-chain-name-creation branch from 6c9690a to 62ba930 Compare April 2, 2026 08:37
@CedrikNikita CedrikNikita force-pushed the feature/sponsor-chain-name-creation branch 2 times, most recently from 9503f1c to 1d20152 Compare April 2, 2026 08:55
@CedrikNikita CedrikNikita force-pushed the feature/sponsor-chain-name-creation branch from 1d20152 to 5adb43c Compare April 2, 2026 09:08
@CedrikNikita CedrikNikita force-pushed the feature/sponsor-chain-name-creation branch 2 times, most recently from 8edcae4 to 533d51b Compare April 2, 2026 09:24
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@CedrikNikita CedrikNikita force-pushed the feature/sponsor-chain-name-creation branch from 533d51b to 264f71f Compare April 2, 2026 09:36
@CedrikNikita CedrikNikita force-pushed the feature/sponsor-chain-name-creation branch from 264f71f to efaf6f9 Compare April 2, 2026 09:40
@CedrikNikita CedrikNikita merged commit ee1ad0c into develop Apr 2, 2026
2 checks 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.

1 participant