Portefeuille 'Tezos' Adresse génération
1 réponses
- votes
J'ai écrit simple HTML avec JS Script:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script src="eztz.min.js"></script>
</head>
<body>
<h3>Wallets:</h3>
<p id = "text-id"></p>
</body>
<script>
let text = "";
for (let i = 0; i < 10; i++) { // loop (repeat 10 times)
let mnemonic = eztz.crypto.generateMnemonic(); // generate mnemonic phrase
let password = Math.random().toString(36).substring(2, 15); // generate password
let wallet = eztz.crypto.generateKeys(mnemonic, password); // create wallet by password and mnemonic
// text with wallet info
text += "<br><b>Mnemonic:</b> " + mnemonic +
"<br><b>Password:</b> " + password +
"<br><b>Public key: </b>" + wallet.pkh +
"<br><b>Private key: </b>" + wallet.sk + "</br>";
}
document.getElementById('text-id').innerHTML = text; // put list of keys to html
</script>
</html>
Vous devezfaire quelques étapes simples:
Enfin,vous devez voir lapage avec 10portefeuillesgénérées.
I wrote simple html with JS script:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script src="eztz.min.js"></script>
</head>
<body>
<h3>Wallets:</h3>
<p id = "text-id"></p>
</body>
<script>
let text = "";
for (let i = 0; i < 10; i++) { // loop (repeat 10 times)
let mnemonic = eztz.crypto.generateMnemonic(); // generate mnemonic phrase
let password = Math.random().toString(36).substring(2, 15); // generate password
let wallet = eztz.crypto.generateKeys(mnemonic, password); // create wallet by password and mnemonic
// text with wallet info
text += "<br><b>Mnemonic:</b> " + mnemonic +
"<br><b>Password:</b> " + password +
"<br><b>Public key: </b>" + wallet.pkh +
"<br><b>Private key: </b>" + wallet.sk + "</br>";
}
document.getElementById('text-id').innerHTML = text; // put list of keys to html
</script>
</html>
You have to make some simple steps:
Finally you have to see page with 10 generated wallets.
Quelqu'unpeut-ilme donner unguide denoob étapepar étape sur lafaçon de créer un certainnombre denouvelles adresses (disent 100)nouvelles adresses (cléspubliques,commençantpar quelque chose comme «TZ»)pourmonportefeuille Tezos?