Add tooltips, separate CSS file

This commit is contained in:
Dennis Dawson
2025-02-03 15:56:10 -08:00
parent 6bb689484c
commit 9179b8580a
4 changed files with 276 additions and 116 deletions

View File

@@ -281,33 +281,35 @@ async function configureAccount() {
const signedAccount = my_wallet.sign(preparedAccount)
const resultAccount = await client.submitAndWait(signedAccount.tx_blob)
resultField.value += JSON.stringify(resultAccount, null, 2)
my_signers= {
"Flags": 0,
"TransactionType": "SignerListSet",
"Account": my_wallet.address,
"Fee": "12",
"SignerQuorum": parseInt(signerQuorumField.value),
"SignerEntries": [
{"SignerEntry":
{"Account": signer1AccountField.value,
"SignerWeight": parseInt(signer1WeightField.value)
}},
{"SignerEntry":
{"Account": signer2AccountField.value,
"SignerWeight": parseInt(signer2WeightField.value)}
},
{"SignerEntry":
{"Account": signer3AccountField.value,
"SignerWeight": parseInt(signer3WeightField.value)
if(signer1AccountField.value!=""){
my_signers= {
"Flags": 0,
"TransactionType": "SignerListSet",
"Account": my_wallet.address,
"Fee": "12",
"SignerQuorum": parseInt(signerQuorumField.value),
"SignerEntries": [
{"SignerEntry":
{"Account": signer1AccountField.value,
"SignerWeight": parseInt(signer1WeightField.value)
}},
{"SignerEntry":
{"Account": signer2AccountField.value,
"SignerWeight": parseInt(signer2WeightField.value)}
},
{"SignerEntry":
{"Account": signer3AccountField.value,
"SignerWeight": parseInt(signer3WeightField.value)
}
}
}
]
}
const preparedSigner = await client.autofill(my_signers)
const signedSigner = my_wallet.sign(preparedSigner)
const resultSigner = await client.submitAndWait(signedSigner.tx_blob)
resultField.value += JSON.stringify(resultSigner, null, 2)
]
}
const preparedSigner = await client.autofill(my_signers)
const signedSigner = my_wallet.sign(preparedSigner)
const resultSigner = await client.submitAndWait(signedSigner.tx_blob)
resultField.value += JSON.stringify(resultSigner, null, 2)
}
}
client.disconnect()
if(!document.getElementById("is").checked) {