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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

account permmison inside action

my code is authority auth{.threshold = 1,.keys = {{.key = key,.weight = 1}}, .accounts = {{.permission = {.actor = get_self(),.permission"eosio.code"_n},.weight = 1}}, ...
Almoveed Hussaini's user avatar
0 votes
0 answers
12 views

i transfered over 300$ using EOSNCONTRACT wallet to another wallet but the token failed to deliver

I transferred the eos token from one wallet to another using the eosncontract wallet address Transaction id: 4458b2639b7cc5ffdde7785ed31d39a4910322baf2c220f0c0bc7d063e11e551 and ...
Emeka James's user avatar
0 votes
0 answers
32 views

EOS transaction lifecycle - Is there any way to view or catch incoming / pending / under validation transactions?

I read a lot on the eosio developers page (https://developers.eos.io/welcome/latest/protocol-guides/transactions_protocol/#3-transaction-lifecycle). I tried cleos and eosJS, but I couldn't figure out ...
wanttolearneos's user avatar
0 votes
1 answer
21 views

Cannot deploy contract containing KV Map API

I am following the example on how to use KV-Map-API from the official page, but when I call cleos set contract ... I get following error message: Error 3070003: Serialization Error Processing WASM ...
Bazinga's user avatar
0 votes
1 answer
214 views

'bash: cleos: command not found' in Docker's WAX Dev image (Windows 10)?

I run Docker setup (Windows PowerShell, Admin rights): docker run -it --name waxdev -v c:\wax:/wax waxteam/dev bash docker run -it --name waxcdt -v c:\wax:/wax waxteam/cdt bash then try to use cleos ...
Kostiantyn Ivashchenko's user avatar
0 votes
0 answers
95 views

Error 3070003: Serialization Error Processing WASM while set contract eosio.system

set contract: cleos set contract eosio ./eosio.system -p eosio@active I get : Error 3070003: Serialization Error Processing WASM Publishing contract... Error 3070003: Serialization Error Processing ...
bigbadboii's user avatar
0 votes
1 answer
173 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://...
Matt's user avatar
  • 101
0 votes
1 answer
23 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"...
user3789474's user avatar
0 votes
1 answer
62 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 ...
Taaha Waseem's user avatar
1 vote
1 answer
143 views

"cleos set contract" vs "cleos set code" and "cleos set abi"

I have a beginner question: What is the difference between: cleos set contract and cleos set code with cleos set abi looks like they are the same and basically set contract combines setting the code ...
Danail's user avatar
  • 536
0 votes
1 answer
90 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:...
Lari's user avatar
  • 1
0 votes
1 answer
72 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 ...
zeh's user avatar
  • 201
0 votes
1 answer
103 views

Change wallet creation default directory path

On ubuntu 18.04, when I create a new wallet, by default the wallet directory is in the home dir /home/user/eosio-wallet. I am storing all eos related data on disk storage whose path is /storage. I ...
Varsh's user avatar
  • 307
0 votes
1 answer
65 views

Keep cleos wallet unlocked using --unlock-timeout arg

I'm trying to keep my eos wallet unlocked. I'm using the cleos command, but I see that there is a --unlock-timeout arg option for the keosd command, but how do I use it for cleos? I'm connecting to a ...
Patoshi パトシ's user avatar
0 votes
1 answer
105 views

Call PowerUP via CLI

How can I purchse resources using the PowerUP model via CLI? I see there are net_frac and cpu_frac params, which I don't know how to calculate. Is there any easy way to send a tx to say "I want ...
StR's user avatar
  • 123
0 votes
1 answer
64 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 ...
gojihos207's user avatar
0 votes
1 answer
45 views

dApps: How to run transactions from web app in decentralized way?

I'm thinking about the way how to build truly decentralized web applications. Smart contracts looks like the good idea how to run server logic. To be able to push transactions (actions) from web ...
gojihos207's user avatar
1 vote
1 answer
161 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 ...
Jerapen's user avatar
  • 11
0 votes
1 answer
132 views

Get_account with Python

After reading the documentation about EOS APIs, I tried to get information about an account on the blockchain by following examples and docs. However it's not working and I really don't understand why....
Matteo Pinna's user avatar
0 votes
1 answer
267 views

EOSFLARE API Request

I'm trying to test the APIs I've found on eosflare because I need to find some blocks and transactions information for my thesis. I was wondering if I could retrieve the data without downloading cleos ...
Matteo Pinna's user avatar
0 votes
2 answers
53 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 ...
Isha Padalia's user avatar
1 vote
1 answer
43 views

How to get table data from Jungle testnetwork?

I am trying to get all the insert data using get table on jungle testnet. But I was failed and get only an empty row value. command: cleos --url https://jungle3.cryptolions.io:443 get table ...
Isha Padalia's user avatar
1 vote
0 answers
21 views

How to set a eos contract on jungle network [duplicate]

As I trying to deploy a contract on Eos Jungle test network using cmd. But I failed to run. Command : cleos --url https://jungle3.cryptolions.io:443 set contract tulsipadalia addressbook -p ...
Isha Padalia's user avatar
1 vote
1 answer
104 views

How to use CRON as alternative to deferred actions?

I'm trying to set up a CRON job to run maintenance actions in my contract on a regular basis. CRON will call a shell script containing cleos 'push action' commands. The problem is that 'push action' ...
tommccann's user avatar
4 votes
2 answers
154 views

Create accounts on an EOSIO private blockchain

We are developing a private blockchain based on EOSIO. The account creation part puzzles me. AFAIU, cleos can be used to create accounts using pre-generated keys. I have a few questions: What is the ...
towi_parallelism's user avatar
2 votes
1 answer
240 views

Error: Provided keys, permissions, and delays do not satisfy declared authorizations

I am facing some error while running this command cleos create account eosio eosio.bpay EOS6wFEd5JHuUHWtaV12mxnm1v9udPsdrB7LUy1mVFc8iYJNdDMaL It show's the output given below Error 3090003: Provided ...
Abdullah Joyia's user avatar
2 votes
1 answer
37 views

cleos push action is not working on multihost peer node

I have a setup of multinode, one genesis node and another host node inita connected to the genesis node. Nodeos is running on both hosts. Genesis node is producing blocks and inita is receiving them. ...
Varsh's user avatar
  • 307
1 vote
1 answer
21 views

Usecase of EOS for DApps

I have watched several tutorials for building DApps with EOS. But, All they did in tutorials was deploying smart contract and storing data in the tables. What is the point of doing that?(storing data ...
Sam Lee's user avatar
  • 11
1 vote
1 answer
46 views

How create simple HelloWorld contract?

I try example from book "Mastering EOS". I have written hello.cpp: #include <eosio/eosio.hpp> using namespace eosio; class [[eosio::contract]] hello: public contract { public: ...
Andrzej's user avatar
  • 21
0 votes
1 answer
112 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 ...
cmr's user avatar
  • 135
1 vote
1 answer
54 views

How do I check what plugins are enabled on an eosio single local testnode, without stopping it?

I want to check if my history_plugin and history_api_plugin is running and which options are enabled. How do I check this from cleos ? Also, can I enable history_plugin without replaying or stopping ...
AditiB's user avatar
  • 235
1 vote
1 answer
172 views

EOSIO Tutorial: Development Public Key vs eosio development key

Many questions, thanks in advance for any help. In the eosio tutorial (1.4 Create dev wallet) I have created a wallet and the message returned is: Created new private key with a public key of: "...
gofly's user avatar
  • 33
1 vote
1 answer
171 views

Creating new account in EOS Studio throws signatures error

Hello stackExchange community. I am trying to follow along the Udemy Elemental Battles dApp tutorial, I have created a smart contract with login functionality and compiled it successfully, but when I ...
Milos Krstic's user avatar
0 votes
1 answer
156 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 ...
Codebrekers's user avatar
2 votes
1 answer
427 views

How to add "eosio.code" permission to an account on testnet?

I am trying to add a the "eosio.code" permission to an account on testnet. I am using the following command: cleos -u https://api.testnet.eos.io set account permission lsqkeotnnpyu active '{"...
Sarah_M's user avatar
  • 21
2 votes
1 answer
1k views

transaction declares authority '{"actor":"mymultisig11","permission":"active"}', but does not have signatures for it under a provided delay of 0 ms

I am following the given tutorial of multisig : https://steemit.com/eos/@genereos/eos-multisig-tutorial And I am stuck for the command cleos multisig exec partner11111 payme -p partner11111@active ...
Varsh's user avatar
  • 307
1 vote
1 answer
130 views

cleos data getting inserted and deleted but table shows empty record

I have written one smart contract for insert, update and delete data. The smart contract is compiled and deployed to the two accounts. I insert data using calling the action upsert, this transaction ...
Varsh's user avatar
  • 307
1 vote
2 answers
2k views

overdrawn balance error on cleos system newaccount

I create 3 different account already, but i try to create new account with this: cleos system newaccount eosio --transfer kyc1 <PUBLIC_KEY> --stake-net "100000000.0000 SYS" --stake-cpu "...
fuat's user avatar
  • 191
2 votes
1 answer
45 views

How to use eosjs V20 to create and sign a offline actions?

when I create actions like this,and prapare to use JsSignatureProvider to sign (async()=>{ let actions = [{ account: 'tommy', name: 'hi', authorization: [{ actor: 'tommy', ...
bigpanda's user avatar
1 vote
1 answer
37 views

system claimrewards not working

I've been trying to do cleos --wallet-url "http://127.0.0.1:8905" system claimrewards bitgirl -p bitgirl@active but its giving me error Error 3050003: arisen_assert_message assertion failure Error ...
user3789474's user avatar
1 vote
1 answer
396 views

Reference block is invalid during Transfer

I Tried the transfer of 1 eos from my account to other, to day just for some test transfer, i am using cleos to transfer but when i did it throwed the exception Error 3040007: Invalid Reference ...
user3789474's user avatar
1 vote
1 answer
63 views

Type mismatch error when creating iterator

I'm getting a type mismatch error when I try to execute an action. Here is the line that's causing problems: auto iterator = table.require_find(primary_key, ("Could not find entry " + std::to_string(...
Michael Nash's user avatar
1 vote
2 answers
142 views

How to get Block Number

Which is the accurate method to get the block number to which a transaction is written after executing a transaction? The response of push_transaction API is not accurate Can anyone help me with this?
Muhzin's user avatar
  • 510
2 votes
2 answers
173 views

Action setprods on EOSIO v2.0 private chain

I'm standing up a new private testnet and would like to set the producers via the "setprods" action in the eosio.bios contract. I don't need a full system contract for this chain. The format for the ...
Scott Owen's user avatar
1 vote
1 answer
56 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 ...
Jacques Whales's user avatar
0 votes
1 answer
43 views

Oraclize inspecting contract queries

in reading through this guide: https://docs.provable.xyz/#eos-advanced-topics I'm attempting to see the queries issued to the contract: cleos -u https://kylin.eos.dfuse.io/ get actions oraclizeex1a -...
ekkis's user avatar
  • 515
1 vote
1 answer
151 views

Unsupported abi version

I am making an offline transaction. I am providing the API with the following parameters as an object: rpc: new JsonRpc('https://jungle.eos.dfuse.io/', { fetch }), signatureProvider: new ...
Hasnain Ali's user avatar
2 votes
2 answers
209 views

Error querying RAM: Unable to unpack built-in type etc

Hey guys I'm hitting an error while trying to query my RAM tables - the table definition has vectors of custom structs in it, and for some reason throws an error regardless of the datatype in the ...
John Campbell's user avatar
2 votes
1 answer
47 views

Amount deposited not being recorded in contract [closed]

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....
Bill's user avatar
  • 291
1 vote
2 answers
302 views

How can you use the ONLY_BILL_FIRST_AUTHORIZER feature for updateauth?

When I try to put 2 authorities to updateauth I get this error Error: updateauth action should only have one declared authorization so how can I use another accounts CPU to change my keys not using ...
josh arnet's user avatar

1
2 3 4 5
7