Testnet https://testnet.binance.vision/ - got api key and secret key, how to know wallet "address" to see it with metamask or https://testnet.bscscan.com/address/<address_here> ?

Testnet https://testnet.binance.vision/ - got api key and secret key, how to know wallet “address” to see it with metamask or https://testnet.bscscan.com/address/<address_here> ?

I can issue API requests with Python, for example:

from binance.spot import Spot as Client
api_key = “a9y4GJgDtNqSYqy5lZxB…fCkwyjf3OEBOZBdQcUMoY0c”
secret_key = “oI72FaH3KQtPqvD4IJn…qD1OwZY1x16TkZkZS1j”
base_url_testnet = “https://testnet.binance.vision
client = Client(api_key, secret_key, base_url=base_url_testnet)
data = client.account()
print(data)

But I have no idea how to know my Wallet address in Testnet (and how to connect it to see in Metamask for example)

Anybody knows how to know Wallet address for Testnet account?

Unlike the live trading exchange, the Testnet does not use crypto wallets.

Also please note that only /api/* endpoints are available in the SPOT Testnet. /sapi/* endpoints are not supported.

@tantialex , thanks!

But I use my wallet address, created with Metamask, in BSC Testnet fine and may receive “assets” using Binance Smart Chain: Faucet and see operations and all the stuff using https://testnet.bscscan.com - all fine! except I have no API access to that wallet with wallet address.

i.e. I have 2 “unconnected points” in my mind:

  1. I can create account in testnet with API Key and Secret Key here https://testnet.binance.vision/ and use some APIs for see account assets and even trade, BUT I have no wallet address there.
    btw, will I see transactions with that testnet account using https://testnet.bscscan.com somehow?
  2. I can create wallet address using Metamask, connect Metamask to testnet and receive assets with Binance Smart Chain: Faucet on that wallet address, BUT I have no API access to that walled address to trade.

How to connect that 2 points above?
i.e. I want to have account at testnet with API Key and Secret Key (1) and corresponding wallet address (2) and see assets exchange operations on account with wallet using https://testnet.bscscan.com - is that possible somehow?

BSC testnet is separate from the Exchange testnets.

will I see transactions with that testnet account using https://testnet.bscscan.com somehow?

No, these trades do not generate wallet transactions.

I want to have account at testnet with API Key and Secret Key (1) and corresponding wallet address (2) and see assets exchange operations on account with wallet using https://testnet.bscscan.com - is that possible somehow?

It cannot be done using the SPOT Exchange Testnet.

@tantialex , thanks!

I just want to debug SPOT exchange (currencies swap) API using testnet and I see it’s possible to use GitHub - binance/binance-connector-node: A simple connector to Binance Public API for that - I can see account assets, exchange info, etc.

But what happened if assets (especially BNB which is “gas”) ends on the testnet account?
For Metamask wallet address I can just visit Binance Smart Chain: Faucet and ask for 1 BNB once in 24hrs, for example.

But also I have Metamask wallet with 2 “adresses” connected to testnet where “Buy” and “Swap” buttons are unavailable - only “Send” button available and it works!

I even issued my own Token to testnet using smart-contract and imported my issued Token to Metamask and send it between my 2 wallets addresses and see all operations (and smart-contract itself) at https://testnet.bscscan.com including BEP20 smart-contract.

In a brief, I need to test both swap/exchange (SPOT) and including my own issued Token also on testnet - is it possible somehow? or it’s only possible to test all of that on live account only?

I just want to debug SPOT exchange (currencies swap) API using testnet and I see it’s possible to use GitHub - binance/binance-connector-node: A simple connector to Binance Public API for that - I can see account assets, exchange info, etc.

The SPOT Testnet does not support the SWAP API, only /api/* endpoints are supported. (Swap endpoints are /sapi/* which is not supported).

In a brief, I need to test both swap/exchange (SPOT) and including my own issued Token also on testnet - is it possible somehow? or it’s only possible to test all of that on live account only?

The SPOT exchange Testnet is inteded for users who required a testing environment for integrations with SPOT Trading not for other functionality. As for the BSC Testnet functionality I suggest having a look at these resources

https://docs.binance.org/guides/testnet.html

https://docs.binance.org/smart-chain/developer/dev-tools.html

https://docs.binance.org/smart-chain/developer/cross-chain-transfer.html

https://docs.binance.org/smart-chain/wallet/wallet_api.html