Hot answers tagged

2

Key generation is generating an R1 or K1 curve key, can be done with cleos cleos create key --to-console ...


1

The reason is because the scope of the table you gave is incorrect. You specified that the scope is addressbook, but there are no table entries under that name. If you type the following command, you can see the valid choices for scope on a particular table: cleos --url https://jungle3.cryptolions.io:443 get scope tulsipadalia -t people Which provides the ...


1

What is the key generation process? As Nat says in his answer, the keys are secp256k1 or secp256r1 curve keys. You can read more about that here: http://www.secg.org/sec2-v2.pdf Can the same keypairs generated for the mainnet be used on any private network? Yes. A private/public keypair created for one EOSIO chain is usable on another chain. What is the ...


1

You are correct in that you need to create a wallet on inita node as well as on the genesis node. Actions can only be pushed to the blockchain from a location where the private key is accessible. The most common way to do this is to store the private key in a wallet and then unlock that wallet before pushing the action to the chain. You set up a wallet and ...


1

Its not about the storing of data, but about the authentification and authorization of that data. A blockchain allows you to know that a specific person performed a specific transaction. Transaction IDs are useful for looking back into the history to understand what happened in the past. You can copy and paste a transaction ID into a block explorer such as ...


1

It looks like you forgot to add the closing square bracket after your action. I assume this is the problem. It should instead look like this: (async()=>{ let actions = [{ account: 'tommy', name: 'hi', authorization: [{ actor: 'tommy', permission: 'active', }], data: { user: 'tommy' }, }] let seActions = ...


1

This error is usually caused by having a table that contains data in a specific format and then updating the ABI after the fact to change the data types or structures. The ABI file now thinks that all the data in the table is in the new format, but it isn't, and therefore the amount of bytes it tries to read for each of the field entries is no longer correct....


1

What does eosio.code mean? eosio.code is a special permission that can be used to allow the smart contract to call an action without the authorization of a specific user. It is used to allow smart contracts to call inline actions. When do we require eosio.code? You need to include the eosio.code permission on any smart contract that will be calling inline ...


1

Please refer to official documentation: https://developers.eos.io/welcome/latest/getting-started/smart-contract-development/adding-inline-actions/#step-1-adding-eosiocode-to-permissions


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