Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
1answer
11 views

Transaction expiration time

Is it possible to configure or change the "expiration": "2018-06-26T14:33:24", time? Currently its 30 seconds on my local node after I generate a transaction so I do not get time to execute it and ...
1
vote
1answer
13 views

Push signed transaction without packed transaction data in EOS?

In ripple, bitcoin and ethereum you can sign a transaction and push/broadcast signed transaction hash only. That effectively represents the whole transaction. for example ...
0
votes
1answer
35 views

get data from a smart contract

I am a bit out of my depth here but I'm trying hard to keep up. I'm trying to call a method from a smart contract on EOS. That's the Bancor Smart Contract I'm interested in in particular. Just for ...
2
votes
0answers
13 views

how to solve Error Details: Cannot charge RAM to other accounts during notify on testnet

I need help for an issue developing an EOS dapp. I want to call a contract function when someone transfer EOS to my contract. For this i used the apply method to call the function upon any transfer ...
1
vote
1answer
30 views

How to make a transfer from nodejs (using EOS)?

I have code working with Ethereum using nodejs and a send transaction. Is there an equivalent using eos? The basic task under ethereum is that A pays B with the server.js file making the transfer and ...
0
votes
1answer
6 views

Eosio account create problem

cleos create account eosio mark prikey1 prikey2 if i run this it will show error Whether I must import key to default wallet or to eosio etc? Thanks
0
votes
1answer
7 views

How to create private keys?

I created a collection of wallets for a private EOS testnet and I can generate passwords for the wallets. For the private key, there seems to be just one given in the docs: ...
0
votes
0answers
29 views

Trying to issue token and getting the following error

Assert Exception (10) !action_type.empty(): Unknown action create in contract eosio.token This is my terminal now: gavin@dreambidio:~/eos/build/contracts/eosio.token$ cleos set contract eosio....
1
vote
1answer
16 views

Table not listed in generated abi file

This is my sample code. Tables are not generated when I compile the contract. Whats wrong? #include <eosiolib/eosio.hpp> #include <eosiolib/print.hpp> #include <eosiolib/transaction....
2
votes
1answer
32 views

Cleos - Unable to connect with Keosd via Unix Socket Path

cleos --wallet-url unix://home/user/eosio-wallet/keosd.sock wallet list Unable to connect with keosd Error :- unix://home/user/eosio-wallet/keosd.sock; is keosd running? While Keosd is ...
0
votes
1answer
21 views

How can I tell what version I am running with cleos version client?

cleos version client returns a foreign language to me. Build version: 59626f1e Is there a way I can ascertain what version I'm on from that? Is there another way of doing it besides that?
2
votes
2answers
31 views

How can I verify if my node is synced up to the head of the blockchain?

I noticed today that one of my telegram bots on a RAM channel was giving wrong data. I had to switch the bot from using the local EOS node to a BP's public node. When I compared the two nodes (my ...
0
votes
0answers
29 views

Can't raise CPU limit

I have set up a new account on main net and want to set a contract to deploy a token. I keep getting messages like this: Billed CPU time (599 us) is greater than the maximum billable CPU time for the ...
0
votes
1answer
60 views

How to delete a wallet

I am a bit confused about the wallet location in my system. I have created a wallet named mywallet using cleos. then I opened eosio_wallet directory and I found mywallet.wallet file. I deleted ...
1
vote
1answer
27 views

Block Meta Data

Is there a way to get block meta data only. For example: cleos get block 12345 returns all transactions within that block. All I am interested in is the metadata. Is there a way to return ...
0
votes
1answer
38 views

Unable to resolve contract folder on ubuntu 18.04

My test contract cpp file is in /home/boby/hackathon/contracts/test/ folder, when I run cleos set contract bob /home/boby/hackathon/contracts/test/ -p bob@active I get an error unable ...
0
votes
2answers
32 views

How to get list of active smart-contracts on EOS

It appears cleos has no way of returning a list of active smart-contracts. Is there another way?
1
vote
2answers
63 views

How to implement “cleos push action” in Node.js via RPC or eosjs?

I'm working on Todos example in the following link. To Do list smart contract By using cleos utility, everything works fine. Now, I'm trying to access the smart contract with Node.js RPC. How ...
1
vote
1answer
33 views

How to send EOS tokens to a new account using cleos? Are EOS token created by default in private testing blockchians?

I'm using eos 1.4.3 and ubuntu 16.4 I'm not using docker, I've built the project locally. I've just created 2 new accounts (Alice and Bob), I've also instantiated the eosio account. I've read and ...
1
vote
1answer
24 views

when creating an account i get the message: warning: transaction executed locally, but may not be confirmed by the network yet

I've built eos 1.4.3 and I'm using ubuntu 16.4 when creating an account I get this message warning: transaction executed locally, but may not be confirmed by the network yet nodeos is runnig. how ...
1
vote
1answer
8 views

when running “sudo cleos wallet keys” I can't see the keys but with “cleos wallet keys” , I can see them

I've built the source I'm not using docker. I'm on ubuntu 16.04. eos version is 1.4.3 when running sudo cleos wallet keys I can't see the keys but with cleos wallet keys I can see them. How ...
1
vote
1answer
22 views

How to interface EOSIO smart contract with android dapp

I have been going through this To do Dapp tutorial how can I interface/build an android app for this?.
1
vote
1answer
34 views

Beginner question about signing transaction with cleos

I am new to EOS and having some trouble. I got cleos working and I am connected to one of the api endpoints found here. It's working as far as I know since I am able to get block info. My end goal is ...
1
vote
1answer
25 views

how can I unstake EOS Tokens staked to others?

I was able to change the staked tokens for my self but i can't find any tool to unstake some of the tokens staked to other (child) accounts that I created. how can I unstake EOS Tokens staked to ...
1
vote
1answer
21 views

ERROR: RequiredError: OwnerKey Create a new account on the blockchain (assumes system contract does not restrict RAM usage)

I have wallet create with cleos cleos wallet list Return Wallets: [ "demowalleteos" ] I create pair key with cleos cleos create key --to-console But, when I create account system require ...
1
vote
0answers
32 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 ...
1
vote
1answer
29 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
14 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> #...
2
votes
2answers
24 views

Can I send 0.000 EOS transaction using cleos with a memo field in json format

I am interested in writing a small dApp that interacts with a web API such that a 0.0000 EOS transaction with JSON memo field needs to be stored per transaction. To test this concept, I tried the ...
1
vote
1answer
21 views

How do I get my transaction Id to sign the transaction?

While signing the transaction there are 3 parameters that we need to pass, 1) txn 2) keys 3) id How Can I get my id and also what should be the structure of the transaction parameter, Kindly help
1
vote
0answers
26 views

Transaction exception while pushing transaction

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

keosd not found

After installing eosio.cdt, eos/build/programs/ directory is not found. I cant find programs directory inside build folder. My intention is to run keosd manually. Why programs directory is not formed ...
1
vote
0answers
28 views

Problem with keosd

I have installed EOSIO from https://github.com/EOSIO/eos/releases/tag/v1.4.3 cleos is working properly. But there is something wrong with keosd cybrosys@cybrosys:~$ cleos wallet create "/usr/opt/...
1
vote
1answer
31 views

What is a packed transaction?

This could be a noob question. While going through the community, I have seen some questions regarding packed transaction. Can anyone explain what is a packed transaction?
1
vote
1answer
23 views

How to view error console?

How do you view the error console I keep hearing mentioned? I passed --contracts-console in my initial set up (i'm using the docker image) but no console runs in the background or opens when I call to ...
2
votes
1answer
59 views

No able to sign the transaction

I have followed the documentation and followed the mentioned steps, However I am not able to sign the transaction, I guess that's because I don't know on which port Keosd is running, also kindly send ...
2
votes
3answers
71 views

How to pack transaction without cleos?

So the new API only accepts a packed_trx but there is no RPC call to pack a signed transaction. How can it be done on system without cleos installed? Is there any implementation in pure Python, ...
1
vote
0answers
31 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
1answer
84 views

get actions for jungle testnet

I was trying to retrieve list of actions for an account I created in jungle testnet. cleos --url http://dev.cryptolions.io:38888 get actions <account_name> using this code. However, it ...
1
vote
0answers
33 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
93 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
2answers
61 views

Error 3015004 when creating tokens in tutorial

Caseys-MBP:eosio.token casey$ cleos push action eosio.token create '[ "eosio", "1000000000.0000 SYS"]' -p eosio.token@active Error 3015004: The type defined in the ABI is invalid Error Details: ...
2
votes
0answers
29 views

How to verify signature from $ cleos get block BLOCKNUM

How to verify the signature of data returned from $ cleos get block BLOCKNUM to insure that the data returned came from the blockchain and not 'spoofed' by a man-in-the-middle? cleos get block 132 {"...
1
vote
2answers
60 views

Querying EOSIO system contract table

How do I query an EOSIO system contract table ? As a learning challenge, I am trying to figure out how to calculate the amount of EOS votes cast and aggregate attributes of vote. Can I use eosjs to ...
2
votes
1answer
103 views

How can multisig trigger an action in contract other than eosio.token contract?

Other than eosio.token contract how can we call the inline actions in contract from multisig contract. For example, I have a contracts namely mltisigmetup(with action meetup). Now I need a ...
1
vote
1answer
30 views

I read that you can use the cleos command without having nodeos synced. How does one do this?

I read somewhere you can use the command line cleos without having to sync or even turn on nodeos. Which means avoiding the need to download 60+gb of blockchain data. What are some of the ...
1
vote
0answers
25 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
1answer
20 views

What is keos in regards to cleos and nodeos?

I know that cleos is for communicating with nodeos which communicates with the EOS blockchain as a whole. But what is keos in relation to those 2? Also is keos also packaged with nodeos and cleos?
6
votes
3answers
148 views

Why the first time I execute an action I get “Error 3080006: transaction took too long”?

WHAT I WANT Call an action and see it succeed at the first execution. WHAT IS NOT WORKING The function, which I am executing, the first time fails with error: Error 3080006: Transaction took too ...
1
vote
1answer
13 views

What are the requirements for running the cleos commad line eos wallet manager?

What is required to use the cleos command line eos wallet manager? Do I need to install other software before running it?