core
core copied to clipboard
Add referral fees for aptos provider
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
https://aptos.dev/en/build/sdks/ts-sdk/building-transactions/script-composer
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
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?
Code under /Users/gemcoder/Documents/GitHub/gem-ios/core/gemstone/src/swapper/pancakeswap_aptos