Hi, I am developing a library to interact with smart contract. is there a dex in testnet that I can use to test?

May 19, 2023, 10:28 AM
every wallet is a smartcontract, you may interact with wallet.
May 19, 2023, 10:30 AM
I am basically developing a wallet
May 19, 2023, 10:31 AM
sorry, my bad english - every address in network is a smartcontract. open any address in explorer and if its state is 'active' - you can interact with it
May 19, 2023, 10:32 AM
my point is to interact with it on browser like metamask in Ethereum rather than using explorer
May 19, 2023, 10:33 AM
ye, ston.fi has a testnet version of the dex
https://testnet.tonscan.org/address/EQBsGx9ArADUrREB34W-ghgsCgBShvfUr4Jvlu-0KGc33Rbt
May 19, 2023, 10:34 AM
i understand. I mean you dont need "any DEX" smartcontract to test your library with, you may test your library with regular address smartcontract too
May 19, 2023, 10:34 AM
The reason I want a dex testnet is because dex may implement Ton Web Wallet provider to interact with browser smartcontract. so it is easier to test in my case. explorer like tonscan does not have it. I want to test ability to interact with smart contract by provider rather than manually calling it from explorer
May 19, 2023, 10:36 AM
got it. sorry, I thought you are making new wallet to interact with blockchain "directly"
May 19, 2023, 10:38 AM
for example, https://app.ston.fi/swap?ft=TON&fa=1 it can read wallet address, balance and call smart contract by interact with UI. I believe it use TonProvider behind the UI.
I want to develop something like that, but it is hard to do stuff on mainnet. so I wonder if there is a site like app.ston.fi but in testnet
May 19, 2023, 10:39 AM
You can use tx emulation in mainnet (for example, via Tonkeeper) in order to check the library.
May 19, 2023, 10:41 AM

© 2024 Draquery.com All rights reserved.