Phillip Hamnett - EOS42
Moderator
  • Member for 3 years, 8 months
  • Last seen more than a month ago
send different amount of tokens to different accounts in single transaction
1 votes

It is hard to say for sure what the problem is without seeing the error message. It looks like you are trying to transfer money from the from account to the to account with the permission of ...

View answer
How much server spec for seed nodes?
0 votes

I think its impossible to not give a subjective answer to this question as it depends so heavily on what chain you are connecting to, how much usage that chain gets, and in exactly which we the chain ...

View answer
How check deferred transaction logs on EOS jungle testnet?
0 votes

You can look up the transaction using cleos by typing: cleos get transaction TRANSACTION_ID For future updates on the use of this command, see https://developers.eos.io/manuals/eos/v2.0/cleos/how-to-...

View answer
Multiple EOS transfers in a single transaction
5 votes

In a smart contract, you could do this by emplacing multiple actions into a single transaction, as follows: transaction transfer; transfer.actions.emplace_back(eosio::permission_level {_self, N(active)...

View answer
Error: assertion failure with message: comparison of assets with different symbols is not allowed
0 votes

If you ever get an issue with comparison of assets, it inevitably means that the symbols you have used are incorrect. This either means the symbol code is wrong (in your case using SYS instead of EOS) ...

View answer
Is there a site where I can see how much EOS is being unstaked over time?
Accepted answer
0 votes

I don't think that anyone has made a chart like this so far. However it shouldn't be too difficult to create such a chart as all you have to do is monitor for the eosio::undelegate action using any ...

View answer
How to enable claimrewards for eosio?
0 votes

I think the problem is that because the claim command belongs to the eosio smart contract, and the eosio contract is then calling for a transfer using eosio.token smart contract through an inline ...

View answer
Multinode data with eosjs
0 votes

I believe it is possible if your nodeos has the net_api_plugin enabled, and you connect to the endpoint /v1/net/connections However I haven't managed to get that to work yet on my local computer. ...

View answer
Trying to execute a smartcontract action using a multisig account, but it shows executed even when the transc fails due to smartcontract constraints
Accepted answer
0 votes

So this is a problem with the way that MSIGs work on EOSIO at the moment. There is a fix for this, but it is in testing phase and will be implemented at the discretion of the BPs. The reason that this ...

View answer
How to get table data from Jungle testnetwork?
Accepted answer
1 votes

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 ...

View answer
How to create ricardian clauses in the ABI with eosiocpp
1 votes

The eosiocpp compiler was the old deprecated way of compiling the c++ into wasm contracts. The new way uses a compiler called eosio-cpp, which is very confusing. With eosio.cdt, you can generate a ...

View answer
How to Define and use Array of Strings in Struct?
0 votes

You can store an array of strings by using std::vector< std::string >. If you want a vector of chars, then the code you have written looks fine. You can verify that the data was serialized ...

View answer
Compile Error: fatal error: 'eosiolib/eosio.hpp' file not found
Accepted answer
0 votes

As a general rule, you should use eosio-init to set up a new helloworld contract. It generates a build with cmake that works without you having to do things manually on the command line. To run eosio-...

View answer
What is the use of eosio.code?
1 votes

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 ...

View answer
How to use CRON as alternative to deferred actions?
Accepted answer
0 votes

I have had the same problem and there is a solution. What you have to do is sign the transaction independently from pushing it. For this you have to either have the private key as a part of your ...

View answer
Error querying RAM: Unable to unpack built-in type etc
2 votes

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 ...

View answer
Is it possible to connect to the main net through the web ide?
0 votes

If you are using cleos from a terminal command line, then you can publish to multiple different chains by using the -u flag, followed by a specific API endpoint. For example, if you want to connect to ...

View answer
How to use eosjs V20 to create and sign a offline actions?
1 votes

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', ...

View answer
overdrawn balance error on cleos system newaccount
0 votes

An overdrawn balance means exactly that. You don't have enough money to transfer the funds, buy the ram, and create the account. In your case, you had a testnet where the base currency should have ...

View answer
How to access keosd API like create wallet, what are the input parameter
0 votes

You can find the official documentation for keosd here: https://developers.eos.io/manuals/eos/v2.1/keosd/index This contains everything from how to guides, to descriptions of how you can edit the ...

View answer
EOS 'newaccount' action generates the error Error: missing authority.keys (type=key_weight[])
0 votes

It looks like you don't define myPublic anywhere, and therefore the keys field is empty, causing the error. You can get the public key from your private key using the function getPublicKey here: https:...

View answer
Usecase of EOS for DApps
1 votes

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 ...

View answer
cleos push action is not working on multihost peer node
Accepted answer
2 votes

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 ...

View answer
Create accounts on an EOSIO private blockchain
1 votes

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 ...

View answer
Error: Provided keys, permissions, and delays do not satisfy declared authorizations
1 votes

This error message means you do not have the correct permissions to run the command as the account eosio. You need to make sure that the private key for the eosio account is in your wallet. You can do ...

View answer
What is eosio.code permission?
Accepted answer
4 votes

The permission eosio.code, gives permission for the contract to use inline actions. You don't need to add anything specific to the source code in order for the permissions on the contract to be valid, ...

View answer
Can I use uint256_t in EOS smart contracts?
0 votes

The ethereum virtual machine on EOSIO allows up to 1024 bit precision for integers and can be directly used in your smart contracts with not so much bloat: https://github.com/jafri/eosio.evm/tree/...

View answer
How to handle exceptions in the smart contract?
1 votes

There is no exception handling in web assembly, therefore you can't implement it in the C++ code either. Update: Deferred transactions are deprecated in EOSIO, so I do not recommend using them. The ...

View answer
how to get tables rows count in plugin
0 votes

The class get_table_by_scope_result is structured like this: struct get_table_by_scope_result { vector<get_table_by_scope_result_row> rows; string more; ///< fill ...

View answer
Transaction Net Usage Is Too High: 136 > 0
1 votes

This means you don't have any EOS staked to NET bandwidth. You can stake EOS using the eosio::delegatebw action, but it is a chicken and egg situation, because you need some NET bandwidth in order to ...

View answer
1
2 3 4 5
7