hey guys, if my contract integrates with pancakeswap do i need to deploy whole their infrastructure (or mock it) in the testnet, or there are any deployed and working solutions?

Jan 31, 2022, 8:39 PM
interesting. When you say "integrate with Pancakswap", do you mean you have a smart contract running on Ethereum that needs to comm with a smart contract on Pancakeswap?
Jan 31, 2022, 8:41 PM
It is on BSC actually, but yes. It is possible, right? 😅 I already did so with another contract, but it don't actually swap anything, just checking out the price of the token (getAmountsIn). Now i want to perform some swaps so users could pay with any currency, but I always received BUSD
Jan 31, 2022, 8:45 PM
ya ill toss u the router address in testnet, one sec homie
0x9Ac64Cc6e4415144C455BD8E4837Fea55603e5c3
Jan 31, 2022, 9:07 PM
thx
Jan 31, 2022, 9:09 PM
Yes of course it is possible. Either you have a dapp as the middleware that will perform the interaction between contracts on two different networks or you use something like Cosmos Gravity Bridge. Now performing the swap between two networks requires a bit more thought. You'd use Gravity Bridge for this but I'm sure there are other ways.
Jan 31, 2022, 11:39 PM

© 2024 Draquery.com All rights reserved.