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.

0
votes
2answers
19 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
24 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
16 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
11 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
17 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. { ...
0
votes
1answer
21 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
35 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
24 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
49 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
42 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 ...
2
votes
1answer
60 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
24 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
17 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
31 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
25 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
108 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
32 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
20 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
69 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
38 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
97 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
51 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
46 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
51 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
77 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
23 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
44 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
28 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
47 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
31 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
91 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
221 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
36 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
89 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
51 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
137 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
64 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
28 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
20 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
2answers
33 views

How to interface EOSIO smart contract with android dapp [duplicate]

I have been going through this To do Dapp tutorial how can I interface/build an android app for this?.
2
votes
1answer
72 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
72 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
39 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
48 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
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
49 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
58 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
27 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
39 views

Transaction exception while pushing transaction

While calling the push transaction API with the following body { "signatures": ["SIG_K1_K5umBpyieHE6czvtDMEAVjypG5Zz5sYo4NKbUkqJfe562mX22aLGwwZsYSQJLhBZi5s3hvjg6zVfS3ZucM97Ji5KNXSm4a"], ...
1
vote
2answers
81 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 ...