Hot answers tagged

10 votes
Accepted

How can I safely test my private and public EOS keys to be valid without exposing them to any online service?

A public key, by it's very nature (and definition) is safely exposable online. This is what you would send someone if they were going to pay you in EOS. The same concept is true of any crypto currency....
altShiftDev's user avatar
  • 1,135
9 votes

How to change active key for an account?

Looks like I found the answer I was looking for. cleos set account permission accountname active '{"threshold": 1, "keys": [{"key": "NEW_ACTIVE_PUBLIC_KEY", "weight": 1}]}' owner When having weight ...
bitcoinerS's user avatar
7 votes
Accepted

Are EOS public and private keys case-sensitive?

Yes. EOS keys use a Base 58 encoding where uppercase and lowercase letters have different values.
Todd Fleming's user avatar
  • 2,005
6 votes
Accepted

How can you add or change the keys for the owner of an account?

To change the owner key, you can use this command: cleos set account permission account_name owner EOS_public_key_of_new_owner -p account_name@owner Multiple owners on an account is essentially a ...
Vlad's user avatar
  • 885
4 votes
Accepted

Is It safe to Store User keys on local db server?

This depends strongly on your application. The web approach maybe more comfortable for the user but will put you and your application in certain responsibilities and risks. From my understanding you ...
tmm's user avatar
  • 2,114
4 votes

Is It safe to Store User keys on local db server?

Private keys are very confidential information and they need to be stored somewhere very safe where only the owner can access them. But, if you are storing them at your side even after encryption you ...
Rajat Chaudhary's user avatar
3 votes
Accepted

Setting a key to NULL

The permission that you would set your account to would not be a key, but would instead be the account eosio.null@active. This is a special permission that can not be used by anybody ever (it has no ...
Phillip Hamnett - EOS42's user avatar
3 votes
Accepted

Creating a keypair through the RPC API

I would reconsider this approach because it is possible to expose your/the users private key if you rely on a thrid party to create the key. Even if the third party behaves correct, due to ...
tmm's user avatar
  • 2,114
2 votes
Accepted

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

Use eosjs get_key_accounts. See https://github.com/EOSIO/eosjs-api/commit/21675aec294d6f65f3cbace049839751a087676f
eval's user avatar
  • 236
2 votes

Removing a Key from a Wallet

The following command removes a keypair from an opened, unlocked wallet: cleos wallet remove_key -n wallet_name --password passwd public_key where wallet_name is the name of your wallet, passwd is ...
Adrian Scott's user avatar
2 votes

Creating a keypair through the RPC API

When you run nodeos, the RPC is start on the port number 8888. You can generate new keypair by following method: Note:- Creates a key within the specified wallet, wallet must be opened and unlocked. ...
Monarth Sarvaiya's user avatar
2 votes

Signing transactions manually without eosjs-ecc

Whoop, turns out it was "SIG_K1_" + base58check(65 bits of the signature) Getting the proper 65 bits is another headache for now, but yeah
kamziro's user avatar
  • 275
2 votes

EOS Unstaking and changing keys

no you will not have lost your tokens. It takes 3 days to unstake your tokens, after that they should go from "refunding" to "available". Things to note are: If you unstake again before the current ...
Phillip Hamnett - EOS42's user avatar
2 votes
Accepted

How to remove a key from account permissions?

You can go to eostoolkit to do that. Enter the public key you'd like to keep, set owner as parent, your account name, then keep the threshold at 1 and sign the transaction. Remove a permission ...
Nat's user avatar
  • 3,425
2 votes
Accepted

How much does it cost to add a new permission to an account?

Testing with v1.5.1, adding a new permission to an account (set account): Corresponding contract action: updateauth RAM: 32 bytes NET: 185 bytes CPU: 320 time for set action permission: ...
Başarcan Celebci's user avatar
2 votes
Accepted

Is the default wallet must?

No, you don't need to create a wallet for each node. It does not communicate with wallet at all. You should set producer-name and signature-provider options for each block producing node. You need to ...
conr2d's user avatar
  • 2,320
2 votes
Accepted

How to generate Key Pairs with eosjs

Use eosjs-ecc or eosjs-keygen to generate key pairs.
cmadh's user avatar
  • 1,929
2 votes

Can the eos active key change the eos owner key?

No. Owner can change active but active can't change owner.
cmadh's user avatar
  • 1,929
2 votes

Private key Security

When storing in keosd, you can take preventive action to keep the keys out of your console's logs. Also, you can sign transactions in a cold-storage way so that you're only broadcasting the signed ...
Nat's user avatar
  • 3,425
1 vote
Accepted

can avaliable_primary_key() re-utilize deleted smaller primary_keys?

No. available_primary_key() returns (the primary key of the last item) + 1.
conr2d's user avatar
  • 2,320
1 vote
Accepted

How can I get my Private Keys of wax account?

If you have used the Wax Cloud Wallet to create your account you can't get your private keys. It's a custodial Service without the possibility to extract your private keys.
cmadh's user avatar
  • 1,929
1 vote
Accepted

Keyless Contracts?

The keys of eosio.prod means it needs 15/21 Block Producers to modify the contract. (see eosio.token for example)
Matthew Darwin's user avatar
1 vote

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

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 ...
Gassa's user avatar
  • 598
1 vote
Accepted

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

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-...
cryptosig's user avatar
  • 111
1 vote

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

Guess you have make install with your local host
sejin's user avatar
  • 76
1 vote

Keypairs limit for an EOS Account

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 ...
Rajat Chaudhary's user avatar
1 vote
Accepted

Where are my wallets created with cleos wallet create + eosio in docker?

The problem is due to the Docker Quickstart tutorial. In short, the files are inside the Docker Container running the eosio instance. To find the files inside the docker do the following: Find ...
zeh's user avatar
  • 201
1 vote

How to manage accounts on EOS mainnet?

Description of adding/changing private keys is available here. To transfer EOS tokens using cleos, use: cleos -u <RPC API URL> transfer <sender account name> <recipient account name>...
Patryk Perduta's user avatar
1 vote

generate eos keys from Mnemonic/Seed

Mnemonic is a standard of bip39 for you to manage all chain private keys with a single master seed, so it's just a method to generate the private key, you can specify any private key you'd like if you ...
Jimmy Guo's user avatar
  • 1,066

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