2

You should be able to use get_account


2

Use eosjs get_key_accounts. See https://github.com/EOSIO/eosjs-api/commit/21675aec294d6f65f3cbace049839751a087676f


1

As the link in your comment explain, 0x80 prefix is Bitcoin convention. (indicating Bitcoin mainnet) Due to characteristics of elliptic curve, there are only two points which share same x-coordinate. It means that, if you know x-coordinate and sign of y-coordinate, you can derive complete pair of x- and y-coordinate. That's compressed public key. (Oppositely,...


1

On first glance, you can transfer a token only to a recipient account. A key can control multiple accounts, and an account can have multiple keys. However, the "transfer" can actually be tied to account creation. There are smart contracts which, given some EOS, a public key and a new account name, create an account with that name, buy RAM for it, and stake ...


1

Steemit currently has a similar functionality, I would look at their coding, as it will be very similar to EOS. Specifically in steemit see: https://steemit.com/steemit/@adept/tutorial-how-to-sent-and-recieve-private-encrypted-messages-on-steemit


1

One day I was looking for a function sha256_to_hex, but I surprisingly find a utils.hpp in github, this code has the functions I need and more, it has the functions that can parse string signature and string publickey!! I modified the code that can be compiled by eosio.cdt 1.3+ . Here's the code: #include <eosiolib/crypto.h> #include <eosiolib/...


1

Yes you can query that api end points as i have performed query on this api from https://www.eosdocs.io/resources/apiendpoints/ with post parameter {"public_key":"EOS6M1m2KBk8BF6uwEnRyjXvpBTUxqLfMUZALzsUGtrHvcEHTYFi1"} and api url is https://eos.greymass.com:443/v1/history/get_key_accounts I am not sure but i think this can be done by eosjs also. Here ...


1

cleos get accounts Retrieves all accounts associated with a defined public key. Positionals public_key TEXT - The public key to retrieve accounts for Example $ cleos get accounts EOS8mUftJXepGzdQ2TaCduNuSPAfXJHf22uex4u41ab1EVv9EAhWt { "account_names": [ "testaccount" ] }


1

Eoslynx can do that for you but you have to pay some money to create an account as they have to allocate resources for your account.


1

You can add as many key pairs as you want. This is the unique conept in EOS by using which you can maintain the permissions for your different actions defined in contract. You can assign different key pairs to different actions by setting special permissons. Use set permission command to assign a particular key pair to execute a specific action in your ...


1

There is no system table that stores the relation between accounts and public keys. Therefore, it is not possible to get account names from a public key in a contract. Cleos is using the history plugin of nodeos to get the account names from a public key. (https://github.com/EOSIO/eos/blob/8f0f54cf0c15c4d08b60c7de4fd468c5a8b38f2f/programs/cleos/httpc.hpp#...


1

You can use the key pairs section in your scatter extension:


1

You can use this service which does this periodically for you: https://www.eossnapshots.io/


1

Best solution I can think of is running a mainnet node with --plugin eosio::mongo_db_plugin to get all accounts in a mongo collection. However, by default, the public keys are not stored in the collection, so you'd have to use $ cleos get account <account_name> to find all the keys associated with the account. This is quite time/resources consuming, ...


1

Update: EOS NY Will Pull a Snapshot for you on request and they've also open sourced their code: https://medium.com/eos-new-york/snapshots-as-a-service-airdrops-for-all-2bd51548b1ac https://www.eossnapshots.io/ account names/publikeys: You can use a snapshot generator. https://github.com/EveripediaNetwork/airdrop Or you can use one of their snapshots ...


Only top voted, non community-wiki answers of a minimum length are eligible