Skip to content

Commit 969cbe2

Browse files
committed
Improve tooltips
1 parent a01f021 commit 969cbe2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

convex-gui/src/main/java/convex/gui/keys/KeyGenPanel.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ public KeyGenPanel(PeerGUI manager) {
294294
}
295295

296296

297-
addNote("Once the BIP39 seed is generated, we use SLIP-10 to create a derivation path to an Ed25519 private key. Instead of a BIP39 seed, you can also use another good secret source of random entropy, e.g. SLIP-0039.");
297+
addNote("Once the BIP39 seed is generated, we use SLIP-10 to create a derivation path to an Ed25519 private key. \n\nInstead of a BIP39 seed, you can also use another good secret source of random entropy, e.g. SLIP-0039.");
298298

299299
{
300300
addLabel("SLIP-10 Master Key","SLIP-10 creates a Master Key from the BIP39 seed, which acts as the root of key generation for a heirarchical deterministic wallet.");
@@ -309,23 +309,23 @@ public KeyGenPanel(PeerGUI manager) {
309309

310310
{
311311
int CC = Constants.CHAIN_CODE;
312-
addLabel("BIP32 Path","This is the hierarchical path for key generation as defined in BIP32. 'm' specifies the master key. "+CC+" is the Convex SLIP-44 chain code.");
312+
addLabel("BIP32 Path","This is the hierarchical path for key generation as defined in BIP32. \n - 'm' specifies the master key. \n - 44 is the purpose defined as BIP-44. \n - "+CC+" is the Convex SLIP-0044 chain code. \n - The other numbers (account, change, index) may be set at the user's discretion, but are zero by default. \n\nIf you want multiple keys for the same mnemomic, is is recommended to increment the account number. \n\nWARNING: if you change these values, you will need to retain them in order to recover the specified key.");
313313
derivationArea = makeTextArea();
314314

315315
derivationArea.setLineWrap(true);
316316
derivationArea.setWrapStyleWord(false);
317317
derivationArea.setBackground(Color.BLACK);
318318

319319
formPanel.add(derivationArea,TEXTAREA_CONSTRAINT);
320-
derivationArea.setText("m/"+CC+"/0/0/0");
320+
derivationArea.setText("m/44/"+CC+"/0/0/0");
321321
derivationArea.getDocument().addDocumentListener(Toolkit.createDocumentListener(() -> {
322322
if (!derivationArea.isFocusOwner()) return;
323323
updatePath();
324324
}));
325325
}
326326

327327
{
328-
addLabel("SLIP-10 Ext. Priv. Key","This is the extended private key produced by SLIP-10 after applying the BIP32 derivation path. The first 32 bytes of the SLIP-10 extended private key are used as the Ed25519 seed.");
328+
addLabel("SLIP-10 Ext. Priv. Key","This is the extended private key produced by SLIP-10 after applying the BIP32 derivation path. \nThe first 32 bytes of the SLIP-10 extended private key are used as the Ed25519 seed.");
329329
derivedKeyArea = makeTextArea();
330330
derivedKeyArea.setLineWrap(true);
331331
derivedKeyArea.setWrapStyleWord(false);
@@ -335,7 +335,7 @@ public KeyGenPanel(PeerGUI manager) {
335335
}
336336

337337
{
338-
addLabel("Private Ed25519 seed","This is the Ed25519 private seed you need to sign transactions in Convex. Any 32-byte hex value will work: you can enter this directly if you obtained a good secret random seed from another source.");
338+
addLabel("Private Ed25519 seed","This is the Ed25519 private seed you need to sign transactions in Convex. \nAny 32-byte hex value will work: you can enter this directly if you obtained a good secret random seed from another source.");
339339
privateKeyArea = makeTextArea();
340340
privateKeyArea.setBackground(Color.BLACK);
341341

0 commit comments

Comments
 (0)