Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Simple Transaction Endpoint in API #14

Closed
Crypto2099 opened this issue Jul 14, 2021 · 3 comments
Closed

FR: Simple Transaction Endpoint in API #14

Crypto2099 opened this issue Jul 14, 2021 · 3 comments

Comments

@Crypto2099
Copy link

Create an API endpoint that will allow a website (such as a token drop or merchant interaction) to simply send parameters for a transaction (i.e. send me 15 Ada to this address) rather than requiring merchants to build out the entire transactional logic on behalf of the user's wallet.

The current low-level implementation seems rife with the possibility for errors on behalf of the merchant/vendor and could also lead to scams and abuse. The wallet already has native token selection and transaction compilation logic embedded so much better for a vendor to simply request funds and provide a payment address and leave the logic to the wallet.

In considering the current CNFT space, perhaps this could also specify one or more tokens that should be provided (i.e. 500 spacecoins, 1 Spacebudz, etc) as part of some gamification, escrow, etc.

@alessandrokonrad
Copy link
Contributor

I would prefer building an external libary around, which also includes a simple send function.
I follow this CIP: cardano-foundation/CIPs#88
I think it's best to keep the injected API as small and flexible as possible.

@VledicFranco
Copy link

Hey @alessandrokonrad, I am starting to integrate with Nami, thank you very much for your great work. It would be an awesome developer experience if you add a "high level api" to interact with the injected api, you can still leave the "low level api", but we are all probably reinventing the wheal for things like making simple transactions or requesting delegation. Plus going through the serialization lib learning curve and other low level cardano details is a heavy

@VledicFranco
Copy link

or at least can we get an example of making a simple transfer transaction and requesting delegation to a pool? T_T haha

Ryun1 added a commit to Ryun1/nami that referenced this issue Sep 4, 2023
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

No branches or pull requests

3 participants