Integrate a Stellar wallet (e.g. Freighter) to connect/disconnect and display truncated public key. Use @stellar/stellar-sdk and wallet docs.
Integrate a Stellar wallet (e.g. Freighter) to connect/disconnect and display truncated public key. Use @stellar/stellar-sdk and wallet docs.