Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the method of creating EOS account and querying information

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the EOS account creation and information query methods of what is the relevant knowledge, the content is detailed and easy to understand, the operation is simple and fast, with a certain reference value, I believe that everyone after reading this EOS account creation and information query method is what the article will have a harvest, let's take a look.

An account can be regarded as an online access certificate. Nodeos manages the posting of accounts on the blockchain and the behavior associated with them. We achieve account management through the interaction between cleos and nodeos.

There is no natural connection between the wallet and the account. The account does not know the existence of the wallet, whereas the wallet does not know the existence of the account.

To perform operations on the block chain, an account is required. We use cleos to initiate a request to nodeos to create an account and publish the account to the block chain. Before we can create an account, we must make sure that nodeos is running.

1. Create a new account

The account needs to be created by another account. "eosio" is an authorized account. The eosio account must be used to sign when operating on the block chain. The eosio account is also a special account to start the EOSIO node, and its password pair information can be found in the nodeos configuration file (default is ~ / .local / shared/eosio/config/config.ini).

Assuming you follow the instructions in the previous wallet management article, you should now have an unlocked wallet that contains three key pairs.

Make sure you are using the public key you generated, not the one shown below.

$cleos-- wallet-url http://wallet:5555-u http://server:7777 create account eosio mynewaccount {MyNewAccount owner Public Key} {MyNewAccount active Public Key} $cleos-- wallet-url http://wallet:5555-u http://server:7777 create account eosio mynewaccount EOS7EzCEh94uN2k59wznzsZDcFVnpZ3wuiYvPSbb8bXDS6U7twKQF EOS5tJQSKKeiTUZEutPo9SWUoCeovV43kWxGuW21K663frcHw7GnN

Command description:

$cleos create account ${authorizing_account} ${new_account} ${owner_key} ${active_key}

Authorizing_account: the authorized account name, which is used to pay for account creation and other subsequent new accounts.

New_account: the new account you want to create.

Owner_key: the public key of the account with the owner's permission (see account and permissions for details).

Active_key: you want to assign the active permission public key.

The response should look like this:

Executed transaction: d4a764ae9c728f9a2c95537613445f059e4833d1cde12504f6d6e88ec10951ab 352 bytes 102400 cycles# eosio

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report