Como posso criar endereços não criptografados?
1 responda
- votos
-
- 2019-02-21
nomainnet,aquiestá comofazerisso:
- .
- comece criando a chave com umnóinexistente (aqui
xxx
nãoexiste!):
tezos-client -A xxx gen keys for_stackexchange
Eleexibirá algumasmensagens deerroe não diganadamais. Na verdade,a chavefoi criada.
- Chamá-lonovamente:
tezos-client -A xxx gen keys for_stackexchange Error: The secret_key alias for_stackexchange already exists. The current value is unencrypted:edsk43pBvh7zPgiGWSG3XSHybCqdQV7XRosqcGPLA9TDBc5ens7oP4.
- Exibe oendereço associado:
tezos-client show address for_stackexchange -S Warning: Failed to acquire the protocol version from the node Rpc request failed: - meth: GET - uri: http://localhost:8732/chains/main/blocks/head/metadata - error: Unable to connect to the node: "Connection refused" Hash: tz1Rpm5To3JT8vpqbt681EMuxEaM4tL2MvRi Public Key: edpkvPpcAmrCFUiwBPZ4SGEsDXQstVmLHJoXKQURE2ANXem7zQH2e9 Secret Key: unencrypted:edsk43pBvh7zPgiGWSG3XSHybCqdQV7XRosqcGPLA9TDBc5ens7oP4
On mainnet, here is how to do it:
- start by creating the key with a non-existent node (here
xxx
does not exist !):
tezos-client -A xxx gen keys for_stackexchange
It will display some error messages and say nothing more. In fact, the key was created.
- call it again:
tezos-client -A xxx gen keys for_stackexchange Error: The secret_key alias for_stackexchange already exists. The current value is unencrypted:edsk43pBvh7zPgiGWSG3XSHybCqdQV7XRosqcGPLA9TDBc5ens7oP4.
- display the associated address:
tezos-client show address for_stackexchange -S Warning: Failed to acquire the protocol version from the node Rpc request failed: - meth: GET - uri: http://localhost:8732/chains/main/blocks/head/metadata - error: Unable to connect to the node: "Connection refused" Hash: tz1Rpm5To3JT8vpqbt681EMuxEaM4tL2MvRi Public Key: edpkvPpcAmrCFUiwBPZ4SGEsDXQstVmLHJoXKQURE2ANXem7zQH2e9 Secret Key: unencrypted:edsk43pBvh7zPgiGWSG3XSHybCqdQV7XRosqcGPLA9TDBc5ens7oP4
-
Obrigadoporesta resposta.O "xxx" o queisso significa?Thanks for this answer. The "xxx" what does that stand for?
- 0
- 2019-09-04
- Vindberg
-
@Vindberg Vocêpode usá-lo como é,`xxx`.É umespaço reservadopara oip de umnóinexistente@Vindberg You can use it as is, `xxx`. It's a placeholder for the IP of a non existent node
- 0
- 2019-12-09
- Gaia
Nomeu Alphanet Tezos-Cliente,
tezos-client gen keys <address>
Cria umendereçonão criptografadoe requer o sinal--encrypted
para criar umendereço criptografado.masno Mainnet Tezos-Client,executando
tezos-client gen keys <address>
pede umanova senhae cria umendereço criptografado.Comoposso criarendereçosnão criptografados viano Mainnet Tezos-Client?