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.

0
votes
0answers
7 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
0answers
13 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
30 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
17 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 ...
0
votes
2answers
63 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
22 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
20 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
39 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
22 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
52 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
41 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
17 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
73 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
60 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
26 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
15 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?
0
votes
0answers
52 views

RPC api http_plugin.cpp error

I have eos rpc endpoint when it's accessed through cleos, the endpoint works perfectly but when it's accessed through http client link by browser or Postman, below error thrown as a result. { ...
1
vote
1answer
52 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
61 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
64 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
45 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
155 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
32 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
18 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
34 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
37 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
276 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
48 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
25 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
106 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
44 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
199 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
90 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
70 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
1answer
80 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
180 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
27 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
1
vote
1answer
90 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: ...
1
vote
1answer
40 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
66 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
60 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
134 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
2answers
355 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
46 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
2answers
120 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
85 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
221 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
99 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 ...