암호화되지 않은 주소는 어떻게 만들 수 있습니까?
1 대답
- 투표
-
- 2019-02-21
메인 넷에서 방법은 다음과 같습니다.
- 존재하지 않는 노드 (여기서는
xxx
가 존재하지 않습니다!)로 키를 생성하여 시작합니다.
tezos-client -A xxx gen keys for_stackexchange
몇 가지 오류 메시지가 표시되고 더 이상 아무 말도하지 않습니다. 실제로 키가 생성되었습니다.
- 다시 호출 :
tezos-client -A xxx gen keys for_stackexchange Error: The secret_key alias for_stackexchange already exists. The current value is unencrypted:edsk43pBvh7zPgiGWSG3XSHybCqdQV7XRosqcGPLA9TDBc5ens7oP4.
- 관련 주소 표시 :
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
내 alphanettezos-client에서
tezos-client gen keys <address>
는 암호화되지 않은 주소를 생성하며 암호화 된 주소를 생성하려면--encrypted
플래그가 필요합니다..하지만 메인 넷tezos-client에서
tezos-client gen keys <address>
를 실행하면 새 비밀번호를 요청하고 암호화 된 주소를 생성합니다.메인 넷tezos-client를 통해 어떻게 암호화되지 않은 주소를 만들 수 있나요?