Questions tagged [public-key]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

Does EOS's P2P transmission mechanism support encrypted transmission of information?

I'm not sure if this is already supported. The use case is like this: Using secret-key cryptography, Alice and Bob would have to devise a single cryptographic key that they will both know and use ...
0
votes
1answer
21 views

Check public keys on contract level

Is it meanwhile possible to check the public key of an account name on contract level? (Not with Cleos) Example: The contract contains some public keys (not the account names). If a user performs a ...
1
vote
0answers
36 views

How to pass in a public key as a string to an action?

I see that public_key is public_key = std::variant<ecc_public_key, ecc_public_key, webauthn_public_key> While ecc_public_key is std::array<char, 33> How would I create a public key ...
0
votes
1answer
311 views

Why are the EOS private key/public key both 33-byte(compress mode)?

Read from some document about EOS key recovery method: Start from standard EOS address (53byte), for exp: EOS+(50byte base58); decode (50byte base58) to get 37byte (hex); remove last 4byte (checksum) ...
2
votes
2answers
37 views

Can you send EOS to a private key that isn't linked to an account name? [duplicate]

I printed out some publc / private keys as a paper wallet. Is there a way to send EOS to these keys to be given as a gift to someone?
0
votes
1answer
269 views

Get public key of an EOS account name

Most questions are asking about getting the account name from a public key. But what I'm looking for is getting the public key from an account name. How can this be done via one of the BP public api ...
0
votes
1answer
50 views

How to encrypt a message using an EOS public key and decrypt with the EOS private key?

I'm not sure if this is possible or not. Can one encrypt a message using their EOS public key and then decrypt this message using their private key? I'm taking the approach of how one would use a PGP ...
1
vote
1answer
60 views

Encrypt a message in the memo field using the receivers public key

I'm looking to see if it is possible to use the memo field as a way to send encrypted messages to an account by using the receiver's public key to do the encryption. Since the receiver has the private ...
1
vote
1answer
425 views

How to transfer token and do some action inline?Or how to parse string to signature and publickey?

I'm coding a contract, a game. I need players transfer some token(EOS etc.) to contract, and then, the contract will verify the signature(from player side) and insert a record into database. So I have ...
1
vote
1answer
99 views

Get all associated EOS accounts linked to a public key using javascript using a public endpoint?

I want to return all the associated EOS accounts that is linked to a specific public key in JSON format for my javascript dapp. Currently I can paste the pub key into: https://eosflare.io/key/...
2
votes
1answer
36 views

When running “sudo cleos wallet keys” I can't see the keys but with “cleos wallet keys”, I can see them

I've built the source I'm not using docker. I'm on ubuntu 16.04. eos version is 1.4.3 when running sudo cleos wallet keys I can't see the keys but with cleos wallet keys I can see them. How ...
1
vote
0answers
23 views

Which mobile wallets that let you change your owner and active keys?

What are some android and iOS wallets that let you change your owner and active keys by pasting in the new public key?
1
vote
1answer
42 views

Is there a way to see how many accounts does a public key own?

Lets say I own a handful of accounts. Is there a way to see how many accounts I own by doing a public key lookup? And where can one do this?
5
votes
2answers
40 views

Which mobile EOS wallets lets you create an account by providing your public key?

Is there an Android or iOS EOS wallet that lets you create an EOS account by using your own generated public key?
0
votes
0answers
139 views

Generated a EOS public private key pair offline. How do I link an account to it?

I created a EOS public private key pair using eosio.js library and now I want to link this key with an account to make it usable so I can receive funds. How can I do this? And where can I do this? ...
1
vote
0answers
111 views

How can I generate public and private key pairs within the contract

How can I generate public and private key pairs inside my smart contract? Is it even possible to generate key pairs insidet the smart contract?
1
vote
0answers
109 views

Importing a EOS private key into an Android or iOS wallet

I generated a EOS private key via the command line and would like to import this private key into my Android or iOS. Which mobile wallets support importing of EOS private keys?
1
vote
1answer
109 views

Smart contract error while calling recover_key

Specs I am using the function recover_key from the library crypto.h at the following link: https://github.com/EOSIO/eos/blob/master/contracts/eosiolib/crypto.h Code int compressed_size = ...
2
votes
1answer
27 views

Keypairs limit for an EOS Account

How many keypairs can I link to a sigle EOS Account? What if i need 10000 keypairs for the same account?
1
vote
1answer
458 views

Verify user's signature in contract

User A has signed a message msg with signature sig.How can the third party verify this message in a contract? The verify method contract is like this: void verify_user_sig(account_name user,string ...
2
votes
1answer
147 views

EOS account's public in scatter

When use scatter, I can see scatter.identity.publicKey. However it is not he EOS account's public key.(It looks like some public key generated by scatter). How can I get the account's public key ...
2
votes
2answers
116 views

How to scrape all accounts/public_keys in EOS mainnet?

I am doing a research project at University. Since the accounts and public_keys for EOS change dynamically. Sites like this https://eostracker.io only display 20 accounts per page and it doesn't ...
2
votes
1answer
750 views

How to get all the accounts of EOS mainnet for research purpose?

How many accounts are there on the blockchain? Are there APIs/sites to get a list of all the account names/publikeys of EOS mainet?
0
votes
1answer
724 views

How to get account name from Public or Private key via eosjs?

If I have only a private key, how shold I: 1. Check private key and generate public key 2. Get account name from Public or Private key via eosjs?
1
vote
1answer
206 views

Validate if active public key and owner public key is correct

How do i validate if user entered correct active public and owner public key (e.g. length, no forbidden characters entered) using javascript?
1
vote
0answers
162 views

how to convert eosio::public_key to c public_key?

In the vote.cpp, they use this type of public key: namespace eosio { struct public_key { unsigned_int type; std::array<char,33> data; friend bool operator == ( const ...