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.

54 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
631 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 ...
2
votes
1answer
144 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 ...
2
votes
0answers
242 views

Error 3120006: No available wallet Ensure that you have created a wallet and have it open

I'm create wallet EOS follow document cleos create account inita tester EOS4toFS3YXEQCkuuw1aqDLrtHim86Gz9u3hBdcBw5KNPZcursVHq EOS7d9A3uLe6As66jzN8j44TXJUqJSK3bFjjEEqR4oTvNAB3iM9SA Reponse Error ...
2
votes
0answers
176 views

How to setup multinode EOS cluster on various vms

How to setup multinode EOS cluster on lets say various aws/azure instances ? I have tried the multiple eos node deployment on single machine as described here - https://developers.eos.io/eosio-nodeos/...
2
votes
0answers
385 views

The type defined in the ABI is invalid?

after command ./cleos --url http://192.168.1.10:8888 system newaccount --stake-net "10.0000 SYS" --stake-cpu "10.0000 SYS" --buy-ram "10.0000 SYS" eosio david ...
2
votes
0answers
225 views

How to generate packed_trx for push transaction?

Where can I find documents about this? Or does it have some descriptions instead of c++/js code?
2
votes
0answers
124 views

cleos get actions for account does not include actions where account is a recipient

I was under the impression that following will return all actions on the named account in the range of 0 to 1000. $ cleos -u get actions 0 1000 However, it appears that it does not include actions ...
2
votes
0answers
340 views

Getting ALL the actions for a given account using cleos

If I run: $ cleos -u <api endpoint> -j --full <account> I do not get all the actions. I don't know what the default range is. So I tried: $ cleos -u <api endpoint> -j --full <...
2
votes
1answer
341 views

Need Help Name Bidding on Premium Names

So I've seen on several explorers that people are already bidding on names. It seems like I remember watching a video where someone was talking about Premium names and how you could have the ...
1
vote
1answer
84 views

EOS STUDIO TERMINAL compilation issue

In terminal, I created a wallet, then created the eosio keys, imported that into the wallet, created an account with those keys, and set up my smart contract that has no errors, but when I try to do ...
1
vote
1answer
36 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
40 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
0answers
28 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
2answers
210 views

EOS Block Producer Schedule

I have followed the Boot Bios sequence of eosio and setup a eos private blockchain. The problem is my even though i have created also Block producers and also voted for them still the blocks are ...
1
vote
0answers
59 views

What is the inflation schedule for EOS private blockchain?

I have followed the bios boot sequence https://developers.eos.io/eosio-nodeos/docs/bios-boot-sequence to create private EOS blockchain. Now everything has been done but there are some point I want to ...
1
vote
0answers
40 views

How many requirement to make EOS testnet

I have made my local EOS testnet. Almost I followed the Bios Boot Sequence Pages. So I made a "eosio" account and created two block producers that were registered in chain. So three were created. But ...
1
vote
2answers
203 views

Errors while building on eosstudio

I tried the below code from a tutorial of a simple eos contract on a game but i get 10 errors while building it on eosstudio wasted a lot of time trying to figure the errors out but failed appreciate ...
1
vote
0answers
25 views

How to view links between actions and permissions?

Currently I create permissions perm* for user user, and authorize it to push action action* to the code-containing account code like so: cleos set account permission user perm* PUBLIC_KEY active ...
1
vote
0answers
39 views

Is there a way to find amount of EOS delegated to other accounts from yours?

I would like to know if there is a way to find out if you can find the total EOS staked to other accounts other than your own. I have a certain amount of EOS staked but only a part of it is staked to ...
1
vote
1answer
555 views

How to solve !action_type.empty(): Unknown action hi in contract hello?

I am following this doc: https://developers.eos.io/eosio-home/docs/your-first-contract. This is the hello.cpp contract code which is successfully deployed: #include <eosiolib/eosio.hpp> #...
1
vote
0answers
96 views

How to solve !action_type.empty(): Unknown action hi in contract hello?

I am following this doc: https://developers.eos.io/eosio-home/docs/your-first-contract. This is the hello.cpp contract code which is successfully deployed: #include <eosiolib/eosio.hpp> #...
1
vote
0answers
74 views

Transaction exception while pushing transaction

While calling the push transaction API with the following body { "signatures": ["SIG_K1_K5umBpyieHE6czvtDMEAVjypG5Zz5sYo4NKbUkqJfe562mX22aLGwwZsYSQJLhBZi5s3hvjg6zVfS3ZucM97Ji5KNXSm4a"], ...
1
vote
0answers
99 views

How can I get verbose eosio_assert error messages on cleos command line (not http api)

How can I get error messages in the console to be verbose? In particular all eosio_assert fails are coming back vanilla 'eosio assert failure'. I've added --verbose-http-errors to my config.ini and ...
1
vote
0answers
83 views

aliased cleos, how to alias nodeos?

I aliased my cleos on port 5555 and 7777, like in the tutorial https://developers.eos.io/eosio-home/docs/getting-the-software I was wondering if there was a way to alias nodeos as well, because when ...
1
vote
2answers
307 views

How to transfer/deposit tokens on Front end Dapp with Scatter?

I am working on an EOS frontend Dapp with Scatter on local chain. I am getting a problem with transfer/deposit tokens from one account to another. After logging into scatter with "test1" and trying to ...
1
vote
0answers
32 views

When setting up nodeos and cleos for the first time, do you have to load your private key in order to query your account info?

I just setup nodeos and cleos, but was unsure if I need to load my private keys to just view my balance. Can't I just run the cleos command to get my account balance without my private key?
1
vote
0answers
113 views

Error while creating an account

I got that error while creating an account, anyone knows what's wrong? Here is a recording of what happened now; after enter, I get no output, I need to press Ctrl+C to exit : > ~$ cleos create ...
1
vote
0answers
330 views

How to get the public key and username from private key using C#?

I am trying to implement an C# application. For the simplest, I just want my users to enter their private key only and auto getting their public key and username without any extra input just like ...
1
vote
2answers
363 views

wallet_api_plugin isn't supported in nodeos anymore?

I am following along the tutorial here but get the following error message when I execute cleos wallet create --to-console: Error 3110002: Missing Wallet API Plugin Ensure that you have eosio::...
1
vote
0answers
265 views

cleos system newaccount result in "assertion failure with message: ram market does not exist"

I'm using local single-node testnet and followed the steps stated in bios-boot-sequence When I try to create new account by cleos system newaccount, I got below error: Error 3050003: ...
1
vote
0answers
150 views

How to get assertion messages from Nodeos?

When I trigger a failing eosio_assert my Nodeos instance outputs something like: 2018-08-01T16:45:42.006 thread-0 http_plugin.cpp:476 handle_exception ] Exception Details: 3050003 ...
1
vote
0answers
232 views

cleos create account error: Failed with error: Assert Exception (10) prefix_matches(prefix, base58str): Signature has invalid prefix: SIG_K1_

I can recreate this issue every time on Ubuntu build and I have to be doing something wrong because I'm not seeing others describe it. I build 1.0.6 (also happened with 1.0.5). I've deleted ...
1
vote
0answers
240 views

What is the best way to get account actions in JSON format

I use: $ cleos -u get actions -j accountname This returns all the actions in JSON format. However, it seems like the 'inline_traces' repeats a lot of the transactions (trx_ids are same) and require ...
1
vote
0answers
185 views

Debug tools in EOS

What debug tool can print useful readable info when debugging EOS? In the following, I am using Xcode to debug/trace Cleos execution. auto arg= fc::mutable_variant_object ("code", ...
1
vote
0answers
24 views

consensus algoritm test with EOS test-net

guys i have some question Is EOS can consensus algoritm test with EOS test-net? i wonder if i consist of 21 nodeos and connect to each other, consensus will working? please, recommend anything for ...
0
votes
1answer
9 views

Windows Docker Wax Dev failing to build eosio.token contract

Im installing the Wax Dev docker container via: docker run -it --name waxdev -v c:\wax:/wax waxteam/dev bash I then go to run the basic tutorial of creating a simple EOSIO.token from https://...
0
votes
0answers
20 views

Is there a small C++ library or a simple gist/function just for signing transactions?

I'm building an app that consists of two services, one service will run on the edge and the other in the cloud. Obviously, I want the service on the edge to be lightweight since It will run on ...
0
votes
1answer
9 views

3060102 reversible_guard_exception

I am facing this issue after 3 month when i ran the node, 3060102 reversible_guard_exception: Reversible block log usage is at unsafe levels reversible free: 2096992, guard size: 2097152 {"f"...
0
votes
1answer
25 views

Creating an account key pair outside of using eosjs

Hello Guys is there any method through which I can create a valid EOSIO key pair without using EOSJS, If that's not possible can any one explain how does eosjs-ecc create those keys and can I ...
0
votes
1answer
36 views

Cleos set contract, Internal Service error timeout_exception

I am running EOS on my laptop. If I execute the "cleos set contract" command and the contract size is more than 200kb, I get an error: error 2021-06-01T17:44:30.084 http-1 http_plugin.cpp:...
0
votes
1answer
39 views

How to unstake CPU using multisig and cleos?

I know that to unstake a simple account I can run the following: cleos system undelegatebw FROM RECEIVER unstake_net_quantity unstake_cpu_quantity And I know that to propose a multisig transaction I ...
0
votes
1answer
39 views

dApps: Public networks & Messaging

Could you please help me to figure out the following questions? Is it safe if users of a decentralized application use public nodes endpoint via RPC to make transactions to smart contracts? Such as ...
0
votes
2answers
31 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 ...
0
votes
1answer
44 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 ...
0
votes
1answer
93 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 ...
0
votes
1answer
67 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
1answer
81 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
28 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
79 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
0answers
270 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, ...