diff --git a/index.html b/index.html
index 72ac808..4af099e 100644
--- a/index.html
+++ b/index.html
@@ -40,6 +40,7 @@
console.log(result)
floGlobals.myFloID = floCrypto.toFloID(floDapps.user.id);
floGlobals.myBtcID = btcOperator.convert.legacy2bech(floGlobals.myFloID)
+ floGlobals.myEthID = floEthereum.ethAddressFromCompressedPublicKey(floDapps.user.public)
document.querySelectorAll('.user-profile-id').forEach(el => el.textContent = floGlobals.myFloID)
//load messages from IDB and render them
console.log(`Loading Data! Please Wait...`)
@@ -766,6 +767,10 @@
BTC address
+
Group description
@@ -1383,8 +1388,13 @@
if (floIdType === 'plain') {
getRef('contact_btc_id').value = btcOperator.convert.legacy2bech(floCrypto.toFloID(floID))
getRef('contact_btc_id').parentNode.classList.remove('hidden')
+ if (floGlobals.pubKeys[floID]) {
+ getRef('contact_eth_id').value = floEthereum.ethAddressFromCompressedPublicKey(floGlobals.pubKeys[floID])
+ getRef('contact_eth_id').parentNode.classList.remove('hidden')
+ }
} else {
getRef('contact_btc_id').parentNode.classList.add('hidden')
+ getRef('contact_eth_id').parentNode.classList.add('hidden')
}
break;
case 'contacts_popup':
@@ -2789,6 +2799,10 @@
My Bitcoin address
+
+ My Ethereum address
+
+
@@ -5163,4 +5177,4 @@