Questions tagged [cleos]

Questions about the CLI tool that interfaces with the REST API exposed by nodeos and with wallet services such as keosd. Cleos may be used to upload contracts, query blockchain data, push actions, create keys, manage permissions, vote, and others.

Filter by
Sorted by
Tagged with
0
votes
1answer
10 views

Get_account with Python

After reading the documentation about EOS APIs, I tried to get information about an account on the blockchain by following examples and docs. However it's not working and I really don't understand why....
0
votes
1answer
28 views

EOSFLARE API Request

I'm trying to test the APIs I've found on eosflare because I need to find some blocks and transactions information for my thesis. I was wondering if I could retrieve the data without downloading cleos ...
0
votes
2answers
23 views

How check deferred transaction logs on EOS jungle testnet?

As I working on jungle testnet and perform a 1 deferred transaction with some scheduled automatic time. But I failed to see transaction logs on the jungle testnet. Can any please guide me here with ...
1
vote
1answer
22 views

How to get table data from Jungle testnetwork?

I am trying to get all the insert data using get table on jungle testnet. But I was failed and get only an empty row value. command: cleos --url https://jungle3.cryptolions.io:443 get table ...
1
vote
0answers
17 views

How to set a eos contract on jungle network [duplicate]

As I trying to deploy a contract on Eos Jungle test network using cmd. But I failed to run. Command : cleos --url https://jungle3.cryptolions.io:443 set contract tulsipadalia addressbook -p ...
1
vote
1answer
23 views

How to use CRON as alternative to deferred actions?

I'm trying to set up a CRON job to run maintenance actions in my contract on a regular basis. CRON will call a shell script containing cleos 'push action' commands. The problem is that 'push action' ...
4
votes
2answers
51 views

Create accounts on an EOSIO private blockchain

We are developing a private blockchain based on EOSIO. The account creation part puzzles me. AFAIU, cleos can be used to create accounts using pre-generated keys. I have a few questions: What is the ...
2
votes
1answer
13 views

Error: Provided keys, permissions, and delays do not satisfy declared authorizations

I am facing some error while running this command cleos create account eosio eosio.bpay EOS6wFEd5JHuUHWtaV12mxnm1v9udPsdrB7LUy1mVFc8iYJNdDMaL It show's the output given below Error 3090003: Provided ...
2
votes
1answer
14 views

cleos push action is not working on multihost peer node

I have a setup of multinode, one genesis node and another host node inita connected to the genesis node. Nodeos is running on both hosts. Genesis node is producing blocks and inita is receiving them. ...
1
vote
1answer
14 views

Usecase of EOS for DApps

I have watched several tutorials for building DApps with EOS. But, All they did in tutorials was deploying smart contract and storing data in the tables. What is the point of doing that?(storing data ...
1
vote
1answer
27 views

How create simple HelloWorld contract?

I try example from book "Mastering EOS". I have written hello.cpp: #include <eosio/eosio.hpp> using namespace eosio; class [[eosio::contract]] hello: public contract { public: ...
0
votes
1answer
15 views

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

I have created a MultiNode Setup using the Bios Boot sequence https://developers.eos.io/welcome/latest/tutorials/bios-boot-sequence. And created the accounts as 'eosio' & 'accountnum11'. I am ...
1
vote
1answer
19 views

How do I check what plugins are enabled on an eosio single local testnode, without stopping it?

I want to check if my history_plugin and history_api_plugin is running and which options are enabled. How do I check this from cleos ? Also, can I enable history_plugin without replaying or stopping ...
1
vote
1answer
47 views

EOSIO Tutorial: Development Public Key vs eosio development key

Many questions, thanks in advance for any help. In the eosio tutorial (1.4 Create dev wallet) I have created a wallet and the message returned is: Created new private key with a public key of: "...
1
vote
1answer
62 views

Creating new account in EOS Studio throws signatures error

Hello stackExchange community. I am trying to follow along the Udemy Elemental Battles dApp tutorial, I have created a smart contract with login functionality and compiled it successfully, but when I ...
0
votes
1answer
42 views

How to access keosd API like create wallet, what are the input parameter

I am new with eosio, and I want to create a wallet and sub wallet. I just took reference of [https://developers.eos.io/manuals/eos/latest/index][1] and while going through the document I found that ...
1
vote
1answer
71 views

How to add “eosio.code” permission to an account on testnet?

I am trying to add a the "eosio.code" permission to an account on testnet. I am using the following command: cleos -u https://api.testnet.eos.io set account permission lsqkeotnnpyu active '{"...
1
vote
1answer
124 views

transaction declares authority '{“actor”:“mymultisig11”,“permission”:“active”}', but does not have signatures for it under a provided delay of 0 ms

I am following the given tutorial of multisig : https://steemit.com/eos/@genereos/eos-multisig-tutorial And I am stuck for the command cleos multisig exec partner11111 payme -p partner11111@active ...
1
vote
1answer
51 views

cleos data getting inserted and deleted but table shows empty record

I have written one smart contract for insert, update and delete data. The smart contract is compiled and deployed to the two accounts. I insert data using calling the action upsert, this transaction ...
1
vote
2answers
152 views

overdrawn balance error on cleos system newaccount

I create 3 different account already, but i try to create new account with this: cleos system newaccount eosio --transfer kyc1 <PUBLIC_KEY> --stake-net "100000000.0000 SYS" --stake-cpu "...
2
votes
1answer
18 views

How to use eosjs V20 to create and sign a offline actions?

when I create actions like this,and prapare to use JsSignatureProvider to sign (async()=>{ let actions = [{ account: 'tommy', name: 'hi', authorization: [{ actor: 'tommy', ...
1
vote
1answer
16 views

system claimrewards not working

I've been trying to do cleos --wallet-url "http://127.0.0.1:8905" system claimrewards bitgirl -p bitgirl@active but its giving me error Error 3050003: arisen_assert_message assertion failure Error ...
0
votes
0answers
7 views

system claimrewards [duplicate]

i been trying to do cleos --wallet-url "http://127.0.0.1:8905" system claimrewards bitgirl -p bitgirl@active but its giving me error Error 3090003: Provided keys, permissions, and delays do not ...
1
vote
1answer
72 views

Reference block is invalid during Transfer

I Tried the transfer of 1 eos from my account to other, to day just for some test transfer, i am using cleos to transfer but when i did it throwed the exception Error 3040007: Invalid Reference ...
1
vote
1answer
19 views

Type mismatch error when creating iterator

I'm getting a type mismatch error when I try to execute an action. Here is the line that's causing problems: auto iterator = table.require_find(primary_key, ("Could not find entry " + std::to_string(...
1
vote
2answers
86 views

How to get Block Number

Which is the accurate method to get the block number to which a transaction is written after executing a transaction? The response of push_transaction API is not accurate Can anyone help me with this?
2
votes
2answers
127 views

Action setprods on EOSIO v2.0 private chain

I'm standing up a new private testnet and would like to set the producers via the "setprods" action in the eosio.bios contract. I don't need a full system contract for this chain. The format for the ...
1
vote
1answer
23 views

Is it possible to connect to the main net through the web ide?

I'm learning how to navigate my way around with Cleos on the Web IDE release by B1 late last year. I know it spins up a personal chain but is there a way to connect to the public chain and publish a ...
1
vote
1answer
77 views

Unsupported abi version

I am making an offline transaction. I am providing the API with the following parameters as an object: rpc: new JsonRpc('https://jungle.eos.dfuse.io/', { fetch }), signatureProvider: new ...
2
votes
2answers
79 views

Error querying RAM: Unable to unpack built-in type etc

Hey guys I'm hitting an error while trying to query my RAM tables - the table definition has vectors of custom structs in it, and for some reason throws an error regardless of the datatype in the ...
1
vote
1answer
29 views

Amount deposited not being recorded in contract

I'm learning to make my own contract and I'm having a hard time getting LNX that is transferred to the contract to be recorded ad a balance. #include <eosio/eosio.hpp> #include <eosio/asset....
1
vote
2answers
117 views

How can you use the ONLY_BILL_FIRST_AUTHORIZER feature for updateauth?

When I try to put 2 authorities to updateauth I get this error Error: updateauth action should only have one declared authorization so how can I use another accounts CPU to change my keys not using ...
2
votes
1answer
464 views

Error 3080004: Transaction exceeded the current CPU usage limit imposed on the transaction

I have an account with very little staked CPU/NET but I need to do some transfers of another token and I currently can't do anything: $ cleos -u https://api.eosnewyork.io:443 get account auewijsdh312 ...
0
votes
1answer
30 views

Function not giving expected output Eos smart contract

My contract .Cpp part void mainloan::adduwr(name acc_name, double interest, uint64_t loan_amount ) { print("Adding underwriter", acc_name); // require_auth( _self ); uwr_table.emplace(get_self(...
0
votes
0answers
17 views

Error 3090003: Provided keys, permissions, and delays do not satisfy declared authorizations [duplicate]

I am trying to create an account with different creator NOT EOSIO. I have configured node config.ini producer-name = sunny signature-provider = PUB_KEY=KEY:PRIVATE_KEY Error 3090003: Provided keys, ...
0
votes
1answer
36 views

Not able to claim rewards

I am running my private chain with 3 BPs, I have created 1000000.0000 tokens, I have issued 100000.0000 tokens, and run the further steps for setting up the chain, I voted all the BPs with 10-15 ...
0
votes
2answers
100 views

how to create a unique user name using public or private key in nodejs?

Like BTC, ETH etc has address, do EOS has address or username etc, I am using below code to generate the public and private key, we do transaction in bitcoin,ethereum etc with a unique address sample ...
0
votes
1answer
54 views

What after push transaction?

I have created a custom action called hash. And I have push transaction with that action successfully. now when I fetch a transaction with transaction_id, it responds transaction object as follows: { ...
0
votes
1answer
15 views

Error 3200002: invalid http response Error Details: Invalid content-length response

Everything was working fine till Saturday evening. But when I tried to open wallet using cleos wallet open So it throws 3200002 error. Thanks
0
votes
1answer
38 views

Unknown action hashit in contract eosio

stdClass Object ( [code] => 500 [message] => Internal Service Error [error] => stdClass Object ( [code] => 3050000 [name] => action_validate_exception [what] => Action validate exception [details] => ...
0
votes
1answer
33 views

What should I do to specify an optional action parameter for cleos?

I wrote an action that has an optional parameter, as something like: [[eosio::action]] void foo(..., const std::optional<name>& recipient); Then in the generated .abi, it is represented as:...
0
votes
1answer
303 views

Invalid packed transaction

I am trying RPC API. Here is the code which I am using on cmd for testing a dummy transaction. curl --request POST --url http://localhost:8080/v1/chain/push_transaction --header 'accept: application/...
0
votes
0answers
171 views

Error message assertion failure with message: “read”

I made my own smart contract. and tried to erase my table. But it didn't. I will attach the following error { "code": 500, "message": "Internal Service Error", "error": { "code": 3050003, ...
1
vote
1answer
489 views

A working example of cleos push transactions

Has anyone ever pushed an array of transactions using the cleos push transactions command? If so, can you show how you prepared the transaction array JSON and a working example of the command being ...
0
votes
1answer
263 views

Error 3090003: Provided keys, permissions, and delays do not satisfy declared authorizations, how to solve this error?

I am creating an account to manage other accounts. The command is $ cleos create account eosio accountadmin publickey1 publickey2 But I am getting an error saying that provided keys, permissionsm ...
1
vote
3answers
81 views

Is it posible to deny EOS transfers for Account?

Imagine I have account A and account B. Account A is the "owner" of B and A wants to deny EOS Transfers for Account B and allow all other Actions(that means A should have full "active" operations)? ...
1
vote
0answers
26 views

How can EOSIO know the block number?

I have made my EOS world. If you follow the Nodeos biosboot manual (https://developers.eos.io/eosio-nodeos/docs/bios-boot-sequence), you would know eosio is to be BP. BP have to make a lot of blocks. ...
1
vote
1answer
64 views

Why we need an EOSIO account to transfer token?

I have started working on EOSIO. I am following this document. I have created a wallet using cleos. Then open, unlock and import key in it. After that according to document, we need two accounts to ...
0
votes
1answer
122 views

EOSIO - Error 3120006: No available wallet

I have created wallet using RPC API. http://127.0.0.1:8891/v1/wallet/create Here, keosd run on port number 8891 and nodeos run on 8892. Then, I have opened, unlock and import key into wallet using ...
1
vote
1answer
103 views

Is it possible to deploy contract via curl?

Using command line i am deploying smart contract "eosio.token". cleos -u http://127.0.0.1:8888 set contract eosio.token ./eosio.token -p eosio.token Is it possible to deploy smart contract using ...

1
2 3 4 5 6