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 ...
answered Jan 8 at 7:49
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 ...
answered Jan 1 at 12:54
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 ...
answered Jan 1 at 12:58
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 ...
answered Jan 1 at 13:02
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 = ...
answered Jan 1 at 14:47
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....
answered Jan 1 at 15:00
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 ...
answered Jan 5 at 6:36
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
Related Tags
cleos × 288nodeos × 80
smart-contract × 45
eosjs × 29
keosd × 27
transactions × 24
eosio-code × 23
eosio.token × 22
wallet × 20
accounts × 16
permissions × 12
rpc × 12
block-producer × 10
action × 10
c++ × 7
table × 6
testnet × 6
blockchains × 6
keys × 6
docker × 6
error × 6
voting × 5
account-creation × 5
ram × 4
eosio.cdt × 4