Stack Exchange Network

Stack Exchange network consists of 175 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
0answers
5 views

What is the file structure and directories of where CLEOS saves its data and user data for Ubuntu?

I am running Ubuntu 18.04 and was wondering where does cleos store its data? And where are user's wallet data stored when importing or creating a new eos wallet?
0
votes
0answers
23 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
1answer
27 views

How to delete record on EOS if I forget table structure

I issue an EOS token for fun half a year ago and I'm planning to release my EOS ram recently. The problem is that I forget the table structure I made before and I overwrite the contract and there is ...
0
votes
1answer
31 views

How can I determine if I need to create a wallet?

I asked this question on StackOverflow but I guess this would have been a better place to ask, so I'm reposting I'm writing an automation script that creates a wallet when necessary. the problem I ...
0
votes
1answer
14 views

Wallet create_key api gives an error?

What input I have to give to get a key? { "code": 500, "message": "Internal Service Error", "error": { "code": 0, "name": "exception", "what": "unspecified", ...
0
votes
0answers
21 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 ...
0
votes
1answer
21 views

Is it possible to use a Ledger with cleos?

I would like to protect my dApp production keys. Is it possible to use Ledger to protect my private keys and deploy with cleos? I would like my private key to remain on the device.
0
votes
1answer
15 views

cleos system deposit rex assertion error

When I use the command cleos --print-request -v -u https://api1.eosasia.one/ system rex deposit -x 60 myaccounthere '3.0 EOS' I got the following errors: Error 3050003: eosio_assert_message ...
1
vote
2answers
43 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
13 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 ...
0
votes
1answer
13 views

Random eos account name with cleos

Is there a way to generate a random EOS accountname or map to the public key? I remember at the beginning of the ICO, Block.one assigned a random generated name to your EOS public key. Is there a ...
1
vote
1answer
68 views

Serialization Error Processing WASM while following hello.cpp tutorial

I am following along the tutorial on the EOS website at https://developers.eos.io/eosio-home/docs/your-first-contract At the first smart contract development section, I cannot manage to publish the ...
1
vote
1answer
23 views

Reasons for unlocking EOS wallet before importing private keys

I've been wondering about this. Is there a reason why you need to unlock the EOS wallet before importing Private Keys into it? Thanks.
1
vote
1answer
42 views

Retrieve data from multi index table

I found that it is possible to define up to 16 secondary indices for a multi index table. Is it possible to return data from the table using these secondary key? I have a table like, result is set as ...
0
votes
2answers
68 views

How to install cleos?

I've installed EOSIO.cdt from here . But I can't access cleos program and getting : Command 'cleos' not found, did you mean command 'cleo' from deb cleo Try: sudo apt install Firstly I ...
0
votes
1answer
12 views

Is there an easy way to track # of operations on EOS in a single day?

I need to know the daily operations on the EOS blockchain. I understand that each transaction can have several operations. If I set up a node on my computer how would I start counting operations? ...
0
votes
0answers
21 views

Error while pushing a transaction using python?

after successfully signed the transaction, when i try to push it using the pyton api from the eos developers portal, i got the following error {'code': 500, 'message': 'Internal Service Error', '...
0
votes
1answer
44 views

How to unlock my wallet using nodejs?

The code given below is my nodejs code forunlocking my wallet name "seek".I got this API from eos developers portal,but don't know how to pass input data(wallet name and password) into it.Please help ...
2
votes
1answer
32 views

Is there any way to discard a committed transaction?

I always have this doubt whenever i push a transcation. Is there any way to cancel a committed transaction before it's verifed by the block producers?
0
votes
0answers
13 views

Stuck after Docker Quick start [duplicate]

I followed steps from official guide here: https://developers.eos.io/eosio-nodeos/docs/docker-quickstart All seems to works as expected and I can navigate my browser to http://localhost:8888/v1/...
0
votes
0answers
25 views

error while compiling code in eosstudio?

Recentlty, i tried a eosio IDE named eosstudio,which is pretty impresive.The problem i face while compiling my code is given in the picture.then I got an advice from a telegram channel that,chenge the ...
1
vote
2answers
82 views

Is there any IDE for eos smart contract?

Is there any IDE for compiling eos smart contract? for example ethereum have remix to compile and run solidity based smart contract.
0
votes
1answer
23 views

Any python api for getting account name by inputting public key?

Is there any python api for getting account name by inputting public key? I have got this code from developers portal, but I don't know how to use it. import requests url = "http://host/:port/v1/...
0
votes
1answer
27 views

How to add the formula of ram calculate price for eos in our project?

Actually I am building an application and I would like to add the ram calculation for eos there. if anyone wants to calculate the ram for the accounts creation, he can use our website.thanks.
1
vote
1answer
59 views

Broadcast Smart Contract 'Hello World' error

I am going through the eos tutorial but I got stuck at the contract broadcast. When I compile the contract with eosio-cpp -o hello.wasm hello.cpp --abigen the console seems to get stuck and I have ...
2
votes
1answer
23 views

Cannot pass arguments to push action in bash script

I am using a bash script to push actions. Here is the script : echo "------------------> Pushing action $1" #cleos -u https://api-kylin.eoslaomao.com:443 push action user1account issue '["...
2
votes
1answer
64 views

How do I set my smart-contract / account to “immutable”?

What's the correct cleos command to yield the active/owner permissions of a deployed contract to "eosio.code", exclusively?
1
vote
1answer
47 views

`cleos get table` not returning vector<string>

I declare a vector vector<string> data inside a contract. Contract Code: book.emplace(_self, [&](struct wname &a){ a.name = fa.pubaddress; a.namehash = ...
0
votes
1answer
22 views

Creation of account failed, maybe because of wallet lock/unlock process

When i run create account eosio eoseospro EOS52e5CVjeV9DbzFii6ApQBEg65A1YFvfbNyRoVr49wsFjdMqSL7 EOS52e5CVjeV9DbzFii6ApQBEg65A1YFvfbNyRoVr49wsFjdMqSL7 I always get an error. Error 3090003: ...
1
vote
2answers
140 views

which cleos command is used to transfer tokens

I am developing a wallet service for eosio, and i want to transfer tokens, how can i do this. I have used cleos for account creation cleos create account eosio mynewacct1 EOSxxxxxxxxxxxxxx ...
0
votes
1answer
104 views

How to list all balances of tokens managed by an eosio.token contract?

Let's say I have deployed the standard eosio.token contract to an account called "myeosiotoken," and I have used it to create an "ABC" token. Then, I issue 1,000 ABC to "someaccount1" and 2,000 ABC to ...
0
votes
1answer
37 views

How to deploy a contract to api-kylin.eosasia.one testnet

I have written a helloworld contract and got compiled that successfully thomsonim123 is my kylin testnet account with some EOS when I want to deploy the contracct to the testnet I get few errors. ...
0
votes
1answer
22 views

How to run EOS nodeos in Testnet? [duplicate]

How can I run EOS node in testnet mode to test my transaction for wallet and mange my contracts like Koven testnet in Ethereum?
1
vote
1answer
63 views

Max inline action depth per transaction reached on simple EOS transfer action call?

I am seeing the error Error 3040000: Transaction exception Ensure that your transaction satisfy the contract's constraint! Error Details: max inline action depth per transaction reached after a ...
0
votes
2answers
37 views

Referring to permissioned account within contract code?

I've created a table within a contract where I want to store user information. the .emplace() method's first parameter specifies the "scope" (I guess) for data to be stored and thus the user account ...
1
vote
2answers
128 views

create account produces “is nodeos running?” error

I need a way to restart my development environment fresh so I have a little script like this: quit 'keosd' quit 'nodeos' rm -rf eosio rm -rf ~/eosio-wallet nohup keosd > keosd....
0
votes
2answers
82 views

Best way to read data from contract using eosjs or Cleos

How you read the data from your contracts, just by using actions? Or there is another way? Thanks!
2
votes
3answers
48 views

Updating existing token contract code

I have deployed a token on main net and called the create method to issue tokens. However, I would like to update the token code to add an extra feature. I can't find any information on the best ...
3
votes
1answer
280 views

How to transfer EOS Token with eosjs? [duplicate]

The title sums it up ;-) I'd like to move EOS tokens (say EOSDAC for example but any token will do it for my education) using the eosjs API... I've tried to use Scatter.js and did that but it's not ...
0
votes
2answers
38 views

usr/bin/cleos no such file or directory

I am using Ubuntu 18.04 LTS. I am trying to deploy a smart contract, following a Steemit post but I am getting an error that I don't really understand. I have run nodeos according to the the Eos ...
1
vote
0answers
26 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 ...
2
votes
1answer
38 views

EOS transactions for Future execution

There is slight confusion about creating and signing transaction which I can process/send in future date. My understanding is that to create a transaction, it must have following attributes values ...
0
votes
1answer
46 views

Signing transaction clerification

I am trying to understand tx signing in a simplest form. I am running a local node. Creating wallet is mandetory to store the keys? Wallet is must to create an account? Transaction Signing Is there ...
1
vote
1answer
383 views

scope in the get table command

What is the meaning of scope argument in the get table command? For example, in the todo_contract, (https://developers.eos.io/eosio-cleos/reference#cleos-get-table) we have cleos --wallet-url http:...
1
vote
1answer
81 views

Why am I getting Error 3010014: Invalid symbol when I perform a simple transfer

INFO Jungle Testnet 2.0 <myaccount1> has funds WHAT I WANT TO DO Just perform a simple transfer of EOS such as: cleos transfer <myaccount1> <myaccount2> "1.0000 EOS" cleos ...
1
vote
1answer
28 views

Wallet, Account and Transaction with Memo

These might be simple questions but answers can help understanding basics by new comers: I want to understand in more details- Wallets: Wallets are something node specific I understand. So 1. Do I ...
2
votes
1answer
150 views

Is there any way I can keep wallet unlocked and open all the time on the local node

In V1.5 there is no way wallet timeout can be set. Is there any way keeping wallet open/unlocked all the time?
0
votes
1answer
52 views

How to perform 2 transfers at once using cleos push transaction?

I've searched for the answer on Google to no avail. I am able to use cleos transfer 2 run the following transactions without an error: cleos -u <eos ny api url> transfer abcabcabcabc ...
1
vote
1answer
278 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
142 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 ...