Skip to content

feat(ocp): sync protos; add StatelessSwap RPC#726

Merged
bmc08gt merged 7 commits into
code/cashfrom
feat/ocp-stateless-swap
May 20, 2026
Merged

feat(ocp): sync protos; add StatelessSwap RPC#726
bmc08gt merged 7 commits into
code/cashfrom
feat/ocp-stateless-swap

Conversation

@bmc08gt
Copy link
Copy Markdown
Collaborator

@bmc08gt bmc08gt commented May 18, 2026

Add StatelessSwap bidirectional streaming RPC — proto definitions, API binding, executor, server parameter/result models, and protobuf mapping extensions. Wire it through TransactionService alongside the existing stateful swap (renamed internally to statefulSwap for clarity).

See code-payments/ocp-server@18240bc

Add StatelessSwap bidirectional streaming RPC — proto definitions,
API binding, executor, server parameter/result models, and protobuf
mapping extensions. Wire it through TransactionService alongside the
existing stateful swap (renamed internally to statefulSwap for clarity).

Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
@bmc08gt bmc08gt self-assigned this May 18, 2026
@github-actions github-actions Bot added type: feature New functionality area: network gRPC, connectivity, API, exchange rates and removed type: feature New functionality labels May 18, 2026
@bmc08gt bmc08gt changed the title feat(ocp): add StatelessSwap RPC and consolidate swap errors feat(ocp): sync protos; add StatelessSwap RPC May 18, 2026
@github-actions github-actions Bot added the type: feature New functionality label May 18, 2026
@bmc08gt bmc08gt added area: crypto Solana, keys, encryption, signing next release Slotted for inclusion in next release labels May 18, 2026
@github-actions github-actions Bot added the area: intents Intent construction, submission, server-side state label May 18, 2026
@bmc08gt bmc08gt force-pushed the feat/ocp-stateless-swap branch from 62a4044 to 8f38e59 Compare May 18, 2026 21:47
…response types

Add IntentStatelessSwap mirroring IntentSwap pattern — encapsulates
initiate and submit-signatures protobuf request building. Update
StatelessSwapExecutor to take the intent instead of raw params + lambda.

Create StatelessSwapRequest model and rename stateful counterparts:
SwapRequest -> StatefulSwapRequest, SwapResponseServerParameters ->
StatefulSwapResponseServerParameters, SwapResult -> StatefulSwapResult.

Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
@bmc08gt bmc08gt force-pushed the feat/ocp-stateless-swap branch from 8f38e59 to c37de6d Compare May 18, 2026 21:48
@bmc08gt bmc08gt merged commit 2bbd59c into code/cash May 20, 2026
2 of 3 checks passed
@bmc08gt bmc08gt deleted the feat/ocp-stateless-swap branch May 20, 2026 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: crypto Solana, keys, encryption, signing area: intents Intent construction, submission, server-side state area: network gRPC, connectivity, API, exchange rates next release Slotted for inclusion in next release type: feature New functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant