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
42 views

Deploy contract from downloaded WASM and ABI file

I'm trying to redeploy an old version of a currently deployed contract to a new account. I have tried downloading the .wasm and .abi file from a block explorer and deploying it to a this new account ...
user avatar
  • 1
0 votes
0 answers
36 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 ...
user avatar
0 votes
0 answers
14 views

Cleos commands whithin PHP exec

cleos -u https://wax.greymass.com push transaction test.json this command in console works exec("cleos -u https://wax.greymass.com push transaction test.json",$out,$tr); this code in php - ...
user avatar
0 votes
1 answer
87 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://...
user avatar
  • 101
0 votes
0 answers
29 views

Is there a small C++ library or a simple gist/function just for signing transactions?

I'm building an app that consists of two services, one service will run on the edge and the other in the cloud. Obviously, I want the service on the edge to be lightweight since It will run on ...
user avatar
  • 111
0 votes
1 answer
12 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"...
user avatar
0 votes
1 answer
38 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 ...
user avatar
1 vote
1 answer
93 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 ...
user avatar
  • 536
0 votes
1 answer
54 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:...
user avatar
  • 1
0 votes
1 answer
52 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 ...
user avatar
  • 201
0 votes
1 answer
57 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 ...
user avatar
  • 293
0 votes
1 answer
45 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 ...
user avatar
0 votes
1 answer
55 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 ...
user avatar
  • 123
0 votes
1 answer
53 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 ...
user avatar
0 votes
1 answer
43 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 ...
user avatar
1 vote
1 answer
137 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 ...
user avatar
  • 11
0 votes
1 answer
82 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....
user avatar
0 votes
1 answer
123 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 ...
user avatar
0 votes
2 answers
34 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 ...
user avatar
1 vote
1 answer
31 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 ...
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 ...
user avatar
1 vote
1 answer
78 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' ...
user avatar
4 votes
2 answers
97 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 ...
user avatar
2 votes
1 answer
36 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 ...
user avatar
2 votes
1 answer
28 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. ...
user avatar
  • 293
1 vote
1 answer
18 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 ...
user avatar
  • 11
1 vote
1 answer
42 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: ...
user avatar
  • 21
0 votes
1 answer
70 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 ...
user avatar
  • 135
1 vote
1 answer
42 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 ...
user avatar
  • 235
1 vote
1 answer
156 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: "...
user avatar
  • 23
1 vote
1 answer
144 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 ...
user avatar
0 votes
1 answer
124 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 ...
user avatar
2 votes
1 answer
278 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 '{"...
user avatar
  • 21
2 votes
1 answer
902 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 ...
user avatar
  • 293
1 vote
1 answer
105 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 ...
user avatar
  • 293
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 "...
user avatar
  • 191
2 votes
1 answer
33 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', ...
user avatar
1 vote
1 answer
28 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 ...
user avatar
1 vote
1 answer
346 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 ...
user avatar
1 vote
1 answer
41 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(...
user avatar
1 vote
2 answers
117 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?
user avatar
  • 510
2 votes
2 answers
159 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 ...
user avatar
1 vote
1 answer
41 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 ...
user avatar
0 votes
1 answer
40 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 -...
user avatar
  • 495
1 vote
1 answer
114 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 ...
user avatar
2 votes
2 answers
155 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 ...
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....
user avatar
  • 291
1 vote
2 answers
266 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 ...
user avatar
2 votes
1 answer
697 views

Error 3080004: Transaction exceeded the current CPU usage limit imposed on the transaction

I have an account with very little staked CPU/NET but I need to do some transfers of another token and I currently can't do anything: $ cleos -u https://api.eosnewyork.io:443 get account auewijsdh312 ...
user avatar
0 votes
1 answer
40 views

Function not giving expected output Eos smart contract

My contract .Cpp part void mainloan::adduwr(name acc_name, double interest, uint64_t loan_amount ) { print("Adding underwriter", acc_name); // require_auth( _self ); uwr_table.emplace(get_self(...
user avatar

1
2 3 4 5
7