Skip to content

Allow user to pick any of the supported currencies as exchange coin for a PostCoin transaction #13191

@mzparacha

Description

@mzparacha

Description

We have different transaction currencies in the types of transaction/features we support

  • For launchpad coin, this is ETH
  • Others are set by community admin, ex:
    • Postcoin
    • Token swaps

Starting with PostCoin, we want to introduce helpers that

  • allow to use any of the supported TX currencies (w.r.t community scope) for a specific transaction (in a community)
  • correctly handle and manage all the calculations required

Example:

  • User has ETH
  • Exchange Token for PostCoin is COMMON
  • We should directly create a TX that exchanges ETH to COMMON, then allows us to swap into the PostCoin

This ticket is scoped to only PostCoins, but in the long run, all current and new integrations/features should be able to work/plug-in with the newly introduced helpers.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions