core icon indicating copy to clipboard operation
core copied to clipboard

Add referral fees for aptos provider

Open gemcoder21 opened this issue 11 months ago • 4 comments

https://aptos.dev/en/build/sdks/ts-sdk/building-transactions/batching-transactions

Aptos supports ability to broadcast multiple transactions: 1 for a swap and referral fee transfer

gemcoder21 avatar Jan 03 '25 18:01 gemcoder21

https://aptos.dev/en/build/sdks/ts-sdk/building-transactions/script-composer

0xh3rman avatar Mar 29 '25 02:03 0xh3rman

Did some research, it looks like we need compile a transfer then swap move script first, then use https://github.com/aptos-labs/aptos-rust-sdk to build and send the tx

pancakeswap on aptos https://aptoscan.com/account/0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa?module=swap&viewMode=view#modules

0xh3rman avatar Jun 30 '25 23:06 0xh3rman

Did some research, it looks like we need compile a transfer then swap move script first, then use https://github.com/aptos-labs/aptos-rust-sdk to build and send the tx

is that something Gemini could work on?

gemcoder21 avatar Jul 01 '25 00:07 gemcoder21

Code under /Users/gemcoder/Documents/GitHub/gem-ios/core/gemstone/src/swapper/pancakeswap_aptos

gemcoder21 avatar Jul 09 '25 18:07 gemcoder21