mlabs-haskell / mlabs-haskell/bot-plutus-interface

Building fully balanced transactions for users

Open
#147 1 comment 0 reactions 1 assignee View on GitHub

@samuelWilliams99 is already working on this.

Since Oct 28, 2022.

Dominant language
Haskell
Stars
21
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Hi all,

I'm having a use case where a Service builds a Cardano transaction, given some Client provided inputs. The idea is that the Client only needs access to a Wallet to add a signature and finally submit the transaction that the Service built.

I wonder how can I achieve this with BPI...

  1. Client provides their Wallet's PublicKeyHash, Collateral and Ada change TxOuts to the Service,
  2. The Service builds a fully balanced transaction and adds their signature as well,
  3. The Service returns the half-signed transaction (just CBOR) to the Client,
  4. The Client takes the transaction and uses their Wallet to add an additional signature and submit.

It's important to note that we want to build the transaction fully on the Service side, and that way keep our Clients very lightweight (ie. only requiring a Wallet).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.