Skip to content

Commit 5ccc2e7

Browse files
Merge pull request #48 from Beldex-Coin/dev
2 parents f32a60e + e49844a commit 5ccc2e7

23 files changed

Lines changed: 662 additions & 194 deletions

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "beldex-electron-wallet",
3-
"version": "6.0.1",
3+
"version": "6.0.2",
44
"description": "Modern GUI interface for Beldex Currency",
55
"productName": "Beldex Electron Wallet",
66
"repository": {
@@ -44,6 +44,7 @@
4444
"vuelidate": "^0.7.4"
4545
},
4646
"devDependencies": {
47+
"@electron/notarize": "^2.3.0",
4748
"@quasar/app": "^2.0.8",
4849
"@quasar/extras": "^1.9.4",
4950
"babel-eslint": "^10.1.0",
@@ -53,7 +54,6 @@
5354
"electron-builder": "23.0.2",
5455
"electron-debug": "^2.1.0",
5556
"electron-devtools-installer": "^2.2.4",
56-
"@electron/notarize": "2.3.0",
5757
"eslint": "^5.16.0",
5858
"eslint-config-prettier": "^6.12.0",
5959
"eslint-friendly-formatter": "^4.0.1",

src-electron/main-process/modules/backend.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,6 @@ export class Backend {
127127
host: "mainnet.beldex.io",
128128
port: "29095"
129129
},
130-
{
131-
host: "explorer.beldex.io",
132-
port: "19091"
133-
},
134130
{
135131
host: "publicnode1.rpcnode.stream",
136132
port: "29095"

src-electron/main-process/modules/daemon.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class Daemon {
6161
}
6262

6363
checkRemote(daemon) {
64-
if (daemon.type === "local") {
64+
if (daemon && daemon.type === "local") {
6565
return Promise.resolve({});
6666
}
6767

@@ -240,8 +240,10 @@ export class Daemon {
240240

241241
handle(data) {
242242
let params = data.data;
243-
244243
switch (data.method) {
244+
case "get_info":
245+
this.checkRemote({});
246+
break;
245247
case "ban_peer":
246248
this.banPeer(params.host, params.seconds);
247249
break;

src/components/tx_details.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ export default {
463463
if (used_addresses[i].address_index == this.tx.subaddr_index.minor) {
464464
let address_index_text = "";
465465
if (used_addresses[i].address_index === 0) {
466-
address_index_text = this.$t("strings.addresses.primaryAddress");
466+
address_index_text = this.$t("strings.addresses.myPrimaryAddress");
467467
} else {
468468
address_index_text =
469469
this.$t("strings.addresses.subAddress") +

src/css/app.styl

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1284,6 +1284,13 @@ body
12841284
border unset
12851285
border-bottom 1px solid #40405E
12861286
border-radius 0
1287+
1288+
.downloadCsv-btn
1289+
height 55px
1290+
font-size 15px
1291+
width 55px
1292+
min-width 55px
1293+
margin-left 8px
12871294

12881295
.master-node-staking, .master-node-stake-tab, .master-node-registration, .prove-transaction, .check-transaction, .sign-and-verify,.bns-purchase,.my-bns
12891296
// height calc(100vh - 491px)
@@ -1748,9 +1755,24 @@ body
17481755

17491756
.confirmPayment
17501757
padding 13px 25px
1758+
1759+
.header
1760+
display: flex;
1761+
justify-content: space-between;
1762+
width: 95.6%;
17511763

17521764
.header-txt
17531765
font-size 18px
1766+
.header-pair
1767+
background-color: #40405E
1768+
padding: 3px 10px
1769+
border: 0.5px solid #00ad07
1770+
border-radius: 6px
1771+
font-weight: 600
1772+
.from
1773+
margin-right: 6px
1774+
.to
1775+
margin-left: 6px
17541776

17551777
.amount-txt
17561778
font-size 16px
@@ -1901,13 +1923,27 @@ body
19011923
.header-txt
19021924
font-size 18px
19031925

1926+
.header-pair
1927+
background-color: #40405E;
1928+
padding: 3px 10px;
1929+
border: 0.5px solid #00ad07;
1930+
border-radius: 6px;
1931+
font-weight: 600;
1932+
width: max-content ;
1933+
margin-top: 18px;
1934+
.from
1935+
margin-right: 6px
1936+
.to
1937+
margin-left: 2px
1938+
19041939
.fund-details-wrapper
19051940
.title
19061941
font-size 1rem
19071942

19081943
.label
19091944
color $beldex-font-grey
19101945
font-size 1rem
1946+
margin-top: 18px
19111947

19121948
.amount
19131949
font-size 1.3rem
@@ -2069,7 +2105,20 @@ body
20692105
.header-txt
20702106
color #20D030
20712107
font-size 20px
2072-
2108+
2109+
.header
2110+
width: 100%
2111+
justify-content: space-between
2112+
.header-pair
2113+
background-color: #40405E;
2114+
padding: 3px 10px;
2115+
border: 0.5px solid #00ad07;
2116+
border-radius: 6px;
2117+
font-weight: 600;
2118+
.from
2119+
margin-right: 6px
2120+
.to
2121+
margin-left: 6px
20732122
.copy-btn
20742123
width 30px
20752124
height 30px

src/gateway/gateway.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ export class Gateway extends EventEmitter {
6868
}
6969

7070
open() {
71-
console.log("open app ............");
7271
this.app.store.commit("gateway/set_app_data", {
7372
status: {
7473
code: 2 // Loading config

src/i18n/de.js

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,9 @@ export default {
356356
unknownError: "Ein unbekannter Fehler ist aufgetreten ",
357357
walletAlreadyExists: "Wallet mit diesem Namen existiert bereits",
358358
walletPathNotFound: "Wallet Daten Pfad nicht gefunden",
359-
zeroAmount: "Betrag muss grösser als null sein"
359+
zeroAmount: "Betrag muss grösser als null sein",
360+
greaterHeight:
361+
"Der eingegebene Wert ist größer als die aktuelle Blockhöhe"
360362
},
361363
warnings: {
362364
noKeyImageExport: "Keine Key Images zum Exportieren gefunden",
@@ -667,7 +669,14 @@ export default {
667669
payment: "Zahlung",
668670
paymentDisc: "Zahlen Sie den für den Umtausch erforderlichen Betrag ein",
669671
exchangeDisc: "Warten Sie, bis Ihre Transaktion abgeschlossen ist",
670-
paymentConfirm: "Bestätigen und Zahlung durchführen"
672+
paymentConfirm: "Bestätigen und Zahlung durchführen",
673+
minimumAmtChanged:
674+
"Der Mindestbetragswert wird geändert, der neue Wert ist ",
675+
maximumAmtChanged:
676+
"Der Höchstbetragswert wird geändert, der neue Wert ist ",
677+
network: "NETZWERK",
678+
giveCorrectAddress:
679+
"Bitte stellen Sie sicher, dass Sie die richtige Adresse für die ausgewählte Kette eingeben ({type}). Andernfalls verlieren Sie Ihr Guthaben."
671680
}
672681
}
673682
};

src/i18n/en-us.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,8 @@ export default {
427427
unknownError: "An unknown error occurred",
428428
walletAlreadyExists: "Wallet with name already exists",
429429
walletPathNotFound: "Wallet data storage path not found",
430-
zeroAmount: "Amount must be greater than zero"
430+
zeroAmount: "Amount must be greater than zero",
431+
greaterHeight: "Entered value is greater than current block height"
431432
},
432433
warnings: {
433434
noKeyImageExport: "No key images found to export",
@@ -795,7 +796,12 @@ export default {
795796
payment: "Payment",
796797
paymentDisc: "Deposit the amount required for the exchange",
797798
exchangeDisc: "Wait for your transaction to be completed",
798-
paymentConfirm: "Confirm & Make payment"
799+
paymentConfirm: "Confirm & Make payment",
800+
minimumAmtChanged: "Minimum amount value is changed, the new value is ",
801+
maximumAmtChanged: "Maximum amount value is changed, the new value is ",
802+
network: "NETWORK",
803+
giveCorrectAddress:
804+
"Please make sure to enter the correct address for the selected chain - ({type}). Otherwise you will lose your funds."
799805
}
800806
}
801807
};

src/i18n/es.js

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,9 @@ export default {
357357
unknownError: "Ha ocurrido un error inesperado",
358358
walletAlreadyExists: "Ya existe un monedero con este nombre",
359359
walletPathNotFound: "Ruta no encontrada",
360-
zeroAmount: "La cantidad debe ser mayor que cero"
360+
zeroAmount: "La cantidad debe ser mayor que cero",
361+
greaterHeight:
362+
"El valor ingresado es mayor que la altura del bloque actual"
361363
},
362364
warnings: {
363365
noKeyImageExport: "No se han encontrado claves para exportar",
@@ -667,7 +669,14 @@ export default {
667669
payment: "Pago",
668670
paymentDisc: "Deposite el monto requerido para el cambio.",
669671
exchangeDisc: "Espere a que se complete su transacción",
670-
paymentConfirm: "Confirm & Make payment"
671-
}
672+
paymentConfirm: "Confirm & Make payment",
673+
minimumAmtChanged:
674+
"Se cambia el valor del importe mínimo, el nuevo valor es ",
675+
maximumAmtChanged:
676+
"Se cambia el valor del importe máximo, el nuevo valor es "
677+
},
678+
network: "Spanisch",
679+
giveCorrectAddress:
680+
"Asegúrate de introducir la dirección correcta de la cadena seleccionada ({type}). De lo contrario, perderás tus fondos."
672681
}
673682
};

src/i18n/fr.js

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,9 @@ export default {
360360
walletAlreadyExists: "Un portefeuille avec ce nom existe déjà",
361361
walletPathNotFound:
362362
"Chemin de stockage des données du portefeuille introuvable",
363-
zeroAmount: "Le montant doit être supérieur à zéro"
363+
zeroAmount: "Le montant doit être supérieur à zéro",
364+
greaterHeight:
365+
"La valeur saisie est supérieure à la hauteur actuelle du bloc"
364366
},
365367
warnings: {
366368
noKeyImageExport: "Aucune clé image n'a été trouvé pour l'export",
@@ -671,7 +673,14 @@ export default {
671673
payment: "Paiement",
672674
paymentDisc: "Déposez le montant requis pour l’échange",
673675
exchangeDisc: "Attendez que votre transaction soit terminée",
674-
paymentConfirm: "Confirmer et effectuer le paiement"
676+
paymentConfirm: "Confirmer et effectuer le paiement",
677+
minimumAmtChanged:
678+
"La valeur du montant minimum est modifiée, la nouvelle valeur est ",
679+
maximumAmtChanged:
680+
"La valeur du montant maximum est modifiée, la nouvelle valeur est ",
681+
network: "Französisch",
682+
giveCorrectAddress:
683+
"Veuillez vous assurer de saisir l'adresse correcte pour la chaîne sélectionnée ({type}). Sinon, vous perdrez vos fonds."
675684
}
676685
}
677686
};

0 commit comments

Comments
 (0)