Repository navigation
feat: remove bot-chat confirmations from P2P and collect - #102
Merged
Merged
Conversation
xbuddhi
force-pushed
the
xbuddhi/fix/oidc-name-fallback-main
branch
from
November 19, 2026 20:56
3ce2f49 to
07c5ba5
Compare
xbuddhi
force-pushed
the
xbuddhi/feat/remove-confirmations-main
branch
from
November 19, 2026 20:56
c68ca04 to
71c03ef
Compare
… Start POST /api/v1/init creates the wallet from the verified Telegram credential, like /start, with the same P2P service signature. (cherry picked from commit 4e60b07)
(cherry picked from commit 6e0a3e3)
(cherry picked from commit d783593)
The signed Mini App / web app request is now the approval: - P2P sends and invoice payments run straight away; no Confirm / Cancel message, no confirm_threshold, no unconfirmed allowance. - Collect requests send no Pay / Decline message and drop chat_prompt and notified; users approve in the Mini App or web app. - /me drops confirm_threshold and unconfirmed_remaining; invoice decode drops needs_confirmation; transfers drop confirm_by. Transfers saved as awaiting_confirmation before this still expire and give back their counters. max_amount and daily_limit still apply. Passkey approval through the DCA backend is planned. (cherry picked from commit cd68a26)
xbuddhi
force-pushed
the
xbuddhi/fix/oidc-name-fallback-main
branch
from
November 19, 2026 20:58
07c5ba5 to
848d8c0
Compare
xbuddhi
force-pushed
the
xbuddhi/feat/remove-confirmations-main
branch
from
November 19, 2026 20:58
71c03ef to
a7d5556
Compare
This was referenced Nov 19, 2026
cmnisal
changed the base branch from
xbuddhi/fix/oidc-name-fallback-main
to
main
November 20, 2026 01:17
… main already equals this PR's base after the squash merges) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016uf9cmd4w65NVRsvrctidb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings #101 to
main. Already merged and testing indev.The signed Mini App or web app request is now the approval.
confirm_threshold.chat_promptornotified./meand/initdropconfirm_thresholdandunconfirmed_remaining; invoice decode dropsneeds_confirmation; transfers dropconfirm_by.Still apply:
max_amount,daily_limit, rate limits and the fresh-login rule for spends.Legacy: transfers already saved as
awaiting_confirmationstill expire and give back their counters.Security: until passkey (WebAuthn) approval lands, the DCA backend's P2P key plus a user's fresh
initDatacan spend up todaily_limit.Merge order: #86 → #95 → #97 → #98 → #99 → this.
Tests:
go build,go vet ./internal/...and the non-cgo test packages pass. Docker wasn't running, so thetelegramtests weren't run.