All Questions

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

Add transaction fee to the EOS private network

As it's said, EOS is a flexible blockchain network that we are free to change the parts. As you can check on config.hpp, we can change all the policies and systems. The thing I'm looking for is adding ...
1
vote
1answer
11 views

When I build with eosio_build.sh script is -i: invalid option

I have cloned recursively repositories. Next I go cd ~/eosio/eos and try ./scripts/eosio_build.sh Is error: ./scripts/eosio_build.sh: line 126: set: -i: invalid option Line 126: ( [[ ! $NAME == &...
1
vote
1answer
19 views

Altering userres and delband tables after set_resource_limit(-1, -1, -1)

For a private network to remove ram net cpu i set the resource limit to unlimited for each newaccount created. By chaging set_resource_limits to set_resource_limits( newact, -1, -1, -1 ); //unlimited ...
1
vote
2answers
18 views

Trouble starting nodeos - multiple errors

I'm working off of this: https://developers.eos.io/welcome/latest/getting-started/development-environment/start-your-node-setup 1.1: keosd starts correctly. 1.2: after I enter the nodeos commands I ...
0
votes
1answer
13 views

Calling external action with 'action_wrapper' and 'action'

In contract we have two way to call another action: Use 'action' action(permission_level{get_self(), eosio::name{"active"}}, eosio::name{"eosio"}, ...
0
votes
0answers
25 views

Unable To Access EOS

I'm really hoping someone can help me. I'm struggling to access my EOS since the main-net launch (yes I know this was a while ago). I registered my EOS tokens prior to the cut-off date and held them ...
0
votes
1answer
26 views

How to get the genesis block of a running EOSIO blockchain?

Given the P2P and API endpoints of a running, public EOSIO blockchain, how do I query either of them for the JSON genesis block description of that running blockchain? Specifically, I want to discover ...
0
votes
2answers
19 views

How to install nodeos on ubuntu 20.04

The prebuilt binaries are for Ubuntu 16.04 and Ubuntu 18.04 My laptop has Ubuntu 20.04 and I want to install nodeos for development and testing. I downloaded the eosio_2.0.7-1-ubuntu-18.04_amd64.deb ...
0
votes
1answer
7 views

contract compilation of 'eosio.bios' fails

I am trying to setup Local Multi-Node Testnet using the version 2.0.7. Clone the sysytem contracts from the repo as follows. git clone https://github.com/EOSIO/eosio.contracts --branch master --...
1
vote
1answer
20 views

Does the size of a contract affect CPU consumption

Does the size of a contract increase CPU consumption in general? To my knowledge, there may be several secondary factors that slow down the processing of transactions. For example, a memcpy command ...
1
vote
1answer
19 views

convert the action name to human readable (e.g. …1c5..1k)

I have the follow from using const tx = api.deserializeTransaction(body.packed_trx);. { "expiration": "1970-07-18T18:12:21.000", "ref_block_num": 1544, "...
0
votes
1answer
14 views

How can I change quantity in transfer

Good Day!! I want to change add_balance in transfer How can change quantity value in add_balance? Ex) invalid operands to binary expression ('eosio::asset' and 'int') add_balance( to, quantity - 100 , ...
0
votes
0answers
15 views

IOS (in app ledger / in app currency)

I hope this isn't too wack of a question or way out of this forum but what methods do apps like sweatcoin (aware this is not a blockchain), coin (by xyo), and stormx use to track their respective in ...
0
votes
1answer
28 views

EOS Blockchain How to free up RAM or optimize Smartcontract

We have developed a small program that uses the EOS blockchain and we are storing some of our data in an EOS smart contract. Together with a UUID we are storing the object status. Our goal is to have ...
0
votes
0answers
9 views

invalid_ref_block_exception

I am trying to test a smart contract via eoslime tool. Using nodeos, but the node is not localhost(default). So, I installed and trying to deploy the smart contract using: eoslime deploy --network.url=...
0
votes
1answer
32 views

Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0

I am working on an EOS dApp that is listing dogs (it could be other items) and displaying them on an HTML page. The dApp has a function in its JS file to add dogs. This dApp is working with nodeos up ...
0
votes
1answer
27 views

Permission Denied Error with Starting Nodeos

I am completely new to blockchain in general and to EOS blockchain. So I am following the official tutorial up to Step 1.2, and that is where I encountered the error: bash: nodeos.log: Permission as ...
1
vote
1answer
27 views

Smart contract compiling loop

When I try to compile the contract the process creates an infinite loop. Here is my code, please help! kjnjrwsyxszg.cpp #include "kjnjrwsyxszg.hpp" void kjnjrwsyxszg::create(const name owner,...
0
votes
0answers
13 views

transaction authorization failed in execute A Multisig Transaction

I am facing this error,i follow all step first i propose a multisig transaction from the account of "adeelabbasna" then i approved the transaction with account of "rajazahoor11", ...
0
votes
1answer
19 views

Name should be less than 13 characters, or less than 14 if last character is between 1-5 or a-j

i am facing this error when i hit my Post API,Basically i am creating this API for propose the Multisig Transaction. And i am follow the documentation of EOSJS from offical website of EOSIO. MY naming ...
0
votes
0answers
6 views

expired cpu and net loans?

I am testing on Jungle testnet 2. Why do I see expired cpu and net loans? When are they going to be deleted? I see them by cleos get table eosio eosio cpuloan --index 3 --key-type i64 -L <ACCOUNT&...
0
votes
0answers
20 views

Strange error in get_table_rows

I'm getting a strange error when trying to get_table_rows... <script src='/wp-content/themes/oceanwp/assets/beta3/eosjs-api.js'></script> <script src='/wp-content/themes/oceanwp/...
0
votes
0answers
10 views

Smart Contracts Handling EOS - Concept

I am having doubts about a theoretical concept... I would like to know what do you think about it. Imagine I use an eosio.token contract to create, issue and transfer some tokens. In every token ...
0
votes
1answer
19 views

Is there a requirement to use the eosio.token account/contract for managing tokens?

I understand that the eosio.token account/contract is used to maintain a 'register' of tokens and also maintains a balance for each user. Alternatively, I could create my own account and implement the ...
0
votes
0answers
4 views

What is “state history debug mode”?

We can enable it by '--trace-history-debug-mode' switch. But, what is the difference if any? Thanks in advance!
0
votes
0answers
12 views

what is eosio.contract 1.9.x for when 1.8.x is still developed?

i see that contract 1.9.1 is out and 1.8.4 has a rc. What are differences or when to use 1.9.x and when 1.8.x? I read somewhere (few months ago) that eosio 2.0 and contract 1.8.x have difficulties ...
0
votes
1answer
25 views

Multiple transaction hash collisions on mainnet

There are currently multiple transaction hash collisions in consecutive blocks in EOS as noted below: 7dcdcdb558028c7703faddee96e1aa48e9bbe7cd3a07cd0a74513a3599185b40 at block 10712420 and 10712421 ...
0
votes
0answers
7 views

How to find current week number inside a smart contract?

Is it any effective way to know inside eosio contract which week number is now? e.g. kind of epoch converter for eosio? Rgds
0
votes
1answer
27 views

How can i convert a time_point to a string?

I want to convert a time_point variable to a string using eos studio. I need to insert a time_point variable in a string in order to creare the object of my smart contract.
0
votes
1answer
28 views

Convert type string to type checksum256

fist off let me get this strait, yes I know the dangers of memo parsing, yes I am aware of the vulnerabilities that can be created from doing such a process, so please there is no need to lecture me ...
0
votes
0answers
6 views

How does one see how much Vigor (VIG) is locked up in the Vigor Protocol?

Is there a way to see how much VIG is locked up in the VIGOR protocol? There is 1 billion issued, but is there is a lockup amount if I'm correct.
0
votes
0answers
9 views

I'm facing this error after replaying the nodeos, towards the very end block. Can anybody please explain and suggest me something?

I've used this command for replaying on single local testnode and my nodeos version is 2.0.1 sudo nodeos --replay-blockchain -e -p eosio --plugin eosio::producer_plugin --plugin eosio::chain_plugin --...
1
vote
0answers
6 views

is there a service that creates EOS or TRX div tokens?

is there a service that creates EOS or TRX div tokens? Or can someone point me in the right direction? Thank you
0
votes
1answer
16 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 ...
0
votes
1answer
35 views

Unable to fetch transaction using transactionId on Local Single Node Testnet eos. What could be the reason?

So I am trying to grab the information for a given transaction from EOS Local Single Node Testnet. No matter what I do it says it can't find the transactionID I pass. The transactionID ID is the valid ...
0
votes
0answers
20 views

Using Swift SDK to Encode and Mint Atomic Assets?

I've been trying to solve this for weeks but I'm new to this. Atomic Assets use C++ variants to hold asset data. I've tried a range of ways to create structs and enums that can be encoded into ...
0
votes
1answer
32 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: "...
0
votes
0answers
17 views

Caught exception: TypeError: Cannot read property 'getAvailableKeys' of undefined

When i try to do transaction this error gets thrown no information on this so far I am using latest version of eosjs v= 21.0.2 I am reading the accounts names balance to transfer and public key from a ...
0
votes
1answer
9 views

CORs Error for /v1/chain/push_transactions To Production Block Producer (Not localhost)

All of my other POST calls to a production EOS BP are succeeding no problem. However, when I use push_transactions via ScatterJS I get a 500 CORs error. const networkJson = { blockchain:'eos', ...
0
votes
1answer
19 views

How to run nodeos consistently even when dirty flag is set?

Here is my chain of invocation npm run compose:up -> ./start_compose.sh -> docker-compose -f compose.yml up package.json ... "compose:up": "concurrently -n \"DOCKER\" \&...
0
votes
0answers
24 views

Detailed EOS transaction signature

I want to know exactly how the final EOS transaction signature is built. I use C++ but it could be any language. I can't find any detailed documentation about it. I'm really not sure of what I found ...
0
votes
1answer
13 views

addressbook example. Where is the message used in the notify action?

Section 2.6 of the EOSIO developer docs https://developers.eos.io/welcome/latest/getting-started/smart-contract-development/adding-inline-actions describes how send an inline action. It all works fine ...
0
votes
1answer
18 views

Multi-Sig set permission vs Multi-sig propose transaction, do you need to specify the accounts in both?

So I created an MSIG account using set permissions cleos set account permission msigact11113 active '{"threshold":2,"keys":[],"accounts":[ {"permission":{"...
0
votes
1answer
49 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 ...
0
votes
1answer
20 views

chainbase::database error

After program is terminated, user defined object cannot be loaded to chainbase::database. my code is followed. enum my_type { my_inx01_object_type }; namespace eosio { namespace chain { using ...
0
votes
0answers
12 views

How to use txn_test_gen_plugin plugin?

I want to build multiple block-making nodes to use the txn_test_gen_plugin plug-in for pressure testing. What should I do?
0
votes
0answers
16 views

Erorr : assertion failure with message: unable to find key on push action eosio init

I have read other answers regarding this error but this case is different. I have created a private network on which i deployed eosio.token contract on a account with name other than eosio.token (...
0
votes
0answers
10 views

How similar is running a local EOS chain to being a Block Producer on the main chain?

I've being going over the official EOS tutorial on setting up a local node: https://developers.eos.io/welcome/latest/getting-started/development-environment/start-your-node-setup I'm curious, if I ...
0
votes
0answers
10 views

What is purpose of eos flag --enable-stale-production?

I am trying to setup a private eos network but when i unset flag --enable-stale-flags node does not start producing blocks what is exactly the purpose of this flag In which cases this flag should be ...
0
votes
2answers
31 views

Can I send transactions to nodeos via websocket? are there any 'API' available?

For some reason I need send transactions to nodeos via WebSocket I tried to find relevant information from the developer documentation, but did not find

15 30 50 per page
1
2 3 4 5
45