All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
15 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....
0
votes
1answer
32 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 ...
1
vote
0answers
19 views

Help understanding subjective cpu billing

Can someone explain to me this subjective cpu billing thing, the PR description isn't making sense to me and from the commits, it looks like there was a 10% check on the CPU being added to ensure that ...
0
votes
0answers
16 views

Jungle Testnet Tokens not recognized in Scatter

I have created a jungle test net account and used the faucet to get some test tokens, I have 200 EOS / JUNGLE tokens. I have connected the jungle network in Scatter with the following details: ...
0
votes
1answer
14 views

cleos: add auth level to account with specific key pair and limited permissions

Each EOS account has two key pairs: "@owner" and "@active". I want to add another key pair under the name "@limited" which I can use in an unsafe environment (VPS) to ...
0
votes
1answer
26 views

Information on eos block

500ms generate 1 block. May I ask you? How many megabytes is the maximum in block? When a block reaches Maximum block size, will it move to the next block? Thank for view and reply.
0
votes
1answer
25 views

problem with signing from ledger account

When I try to sign a refund, I have following error : Error transaction declares authority '{"actor":"fonteintjeos","permission":"owner"}', but does not have ...
0
votes
2answers
31 views

How to create an EOS account using eosjs without existing account and its private key

I have a question about EOS, eosio and eosjs. I want to create an EOS account using frontend website that I developed. I I recognize that creating an account needs existing account, and needs its ...
0
votes
0answers
23 views

How to access data inside multi-index table when using 2D vector / 2D array?

What is going on? :D I write data, but cannot find it after I write it. The following code successfully emplaces the row into the multi-index table: See specifically the vector<vector <...
0
votes
1answer
26 views

staked without interest

I have this old account that is converted from eth when eos was first sold, I'm only to trying to use it now, but I just found that it only leaves 10eos as unstaked, while all other tokens are stacked,...
-1
votes
0answers
19 views

It's 2021, what is the most reliable mobile wallet for EOS to date for android and iOS?

I've been having issues with lynx lately. What are some other reliable mobile wallets on Android that has proven the test of time and actively developed?
-1
votes
0answers
14 views

Permissions denied

'{"actor":"1v1ncr2p5zq2","permission":"active"} How can I change that? I am in a need for step by step guidance. Atomic wallet, scatter installed. I just can't ...
0
votes
1answer
14 views

EOSJS get information about a list of the multi-index table rows

Suppose that I have a user table, where each user has a status. TABLE user_info { name username; uint64_t status = 0; auto primary_key() const { return username.value; } }; ...
1
vote
0answers
9 views

getting error when i try to add permission to a user who is signing a smart contract action

here is what i am trying to do : users will sign a specific action which will take their username, permission_name, smart_contract_name, action_name, public_key i am trying to assign the user ...
1
vote
0answers
12 views

NFT's with MP3 on Atomic Hub

I am experimenting with NFT's and recently learned of an MP3 "attachment". How do u combine a jpg and mp3 to create an NFT on Atomic Hub.
1
vote
1answer
20 views

GetAccount Not Found Error, is this Testnode Sync Issue?

I am testing the EOS SDK and have testnode running on my local, it gives me an error Not Found, Exception I have created an account from developer dashboard at testnode and using the accountname ...
1
vote
0answers
21 views

How can i update a table by TransactionID? And can transactionId be the same when we update the data?

I am running my nodeos on my local machine, I can retrieve all the data via api and do some CRUD also. I have succeeded update the table by tableId, But can someone suggest to me how do I update the ...
1
vote
1answer
22 views

nested stuff inside index_table

I'm trying to build a small hearthstone like game and I've finished up the front-end for the game client. I created a NoSQL mockup of the user data and now it's time to move those to the index_table ...
1
vote
2answers
25 views

send different amount of tokens to different accounts in single transaction

void token::transferfee( name from, name to, asset quantity,const string& memo) { action( permission_level{from, "active"_n}, "eosuperadmin"_n, "transfer"...
0
votes
1answer
27 views

Where to start building a blockchain on EOSIO

Where can I find a step by step or at least the docs on how to create a blockchain on EOSIO? Their website has a bunch of resources but mostly for apps and smart contracts, but not clear info on ...
1
vote
1answer
20 views

How to actually deploy a live blockchain?

I have been researching a lot about how to build a new blockchains. So far, all guides say very similar things: Identify use case Identify consensus method Design nodes design blockchain select a ...
0
votes
2answers
23 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 ...
0
votes
0answers
13 views

i would like to compile eosio with -g, to debug with GDB

hi ino t expert with cmake and i would like to be able to compile with -g flag ( the debug symbols) to be able to use gdb as debbuger, but i dont know how to activate -g flag, or where i have to put: ...
1
vote
1answer
26 views

EOSIO Error: 3040006 from api

from this afternoon we receive the error in question from the api, without having changed anything after several months of use. Anyone have an idea why?
0
votes
1answer
17 views

EOSIO unsupported key_type uint64_t

I am using a secondary key to get table rows: static async getItemById(itemId){ try{ const rpc = new JsonRpc(process.env.REACT_APP_EOS_HTTP_ENDPOINT); const result = await rpc....
1
vote
1answer
18 views

Smart Contract Close Function

cleos push action eosio.token close '["bob","TIK"]' -p alice@active I'm calling close function of eosio.token smart contract using above command on local node.
1
vote
1answer
13 views

Is there a site where I can see how much EOS is being unstaked over time?

I'm looking for a chart that shows how much EOS is being unstaked over time. Say last week 5 million was being unstaked and then today, there is 10 million being unstaked. Is there a chart for this?
1
vote
2answers
36 views

Prometheus exporter for eosio

I am new to Prometheus and Grafana. I need Prometheus eos exporter for the purpose of Eosio private blockchain dashboard. I researched but didn't get any expected results. I need to show the eos node (...
1
vote
1answer
22 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 ...
1
vote
1answer
21 views

Compile Error: fatal error: 'eosiolib/eosio.hpp' file not found

eosio.cdt version 1.6.2 OS: Debian GNU/Linux 10 Code Contract #include <eosio/eosio.hpp> using eosio::contract; using eosio::print; using eosio::name; CONTRACT hello : public contract { ...
1
vote
0answers
17 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 ...
2
votes
1answer
60 views

Set source file properties called with incorrect number of arguments

When attempting to compile a new contract, I am getting this error. I'm using eosio version 2.1 for this. CMake Error at /home/michael/eosio.cdt/build/lib/cmake/eosio.cdt/EosioCDTMacros.cmake:18 (...
1
vote
1answer
33 views

Why is nodeos not producing blocks?

I have been following this EOSIO guide and cannot seem to get past step 2 of section 1.5. https://developers.eos.io/welcome/latest/getting-started/development-environment/start-your-node-setup I start ...
1
vote
1answer
23 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' ...
0
votes
1answer
46 views

How user stake and earn reward and How we can implement this staking model

Basically, staking and unstaking are an on going process throughout the life of a blockchain and in EOSIO we have 0.1 token not 10% of the account's tokens is staked for RAM Cleos stakes 8 KB of RAM ...
2
votes
1answer
25 views

Is having hashes of document certificates in EOS blockchain for tamper proof a good use case for EOS?

I have a application where I want to store a SHA256 hash of a document in a Blockchain. I want it to have a good life, ie storing the SHA256 hasha as a data in a transaction should bot be deleted ...
2
votes
1answer
28 views

Multinode data with eosjs

I need to prepare eosio dashboard for that I need multi nodes information. I am using eosjs nodejs library to get genesis node chain information. Can I get which other nodes are connected with genesis ...
1
vote
0answers
20 views

Where are accounts and smart contracts stored?

I'm a bit confused by answers to the following questions: Where are new accounts stored? Where is the smart contract is stored How can everything be stored on RAM at all time? 3KB for each user means ...
4
votes
2answers
51 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 ...
-1
votes
0answers
8 views

What is the new proposed new resources model for 2021?

There is a new proposed resources model for upcoming 2021? How does it differ from what it is now and how can it prevent the massive spam that has plagued the network for the past year?
3
votes
1answer
39 views

Returning values from actions

I am trying to return a value from an action as follows: [[eosio::action("test2")]] int test2(int x) { return x; } The code compiles correctly, and the ABI file shows the correct action ...
3
votes
1answer
35 views

How to pass specific eosio-cpp/eosio-ld options via cmake

I'm typically using CMake to compile my contracts, like described here. How can I pass specific eosio-cpp/eosio-ld options (specifically -stack-size) described here?
6
votes
1answer
190 views

When to use RocksDB compared to Chainbase?

The EOSIO developers website says: Nodeos stores the transaction history and a current state. The transaction history is stored in the blocks.log file on disk. State, which is changed by the ...
2
votes
1answer
13 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 ...
1
vote
0answers
7 views

Is there any way to know the number of transactions?

Is there a way to know in advance the number of transactions of the block value generated after 30 seconds, 1 minute, and 2 minutes?
0
votes
0answers
13 views

Implement Shamir Secret Algorithm in smart contract

I need to implement Shamir's Secret algorithm in EOS smart contract. Looking for some open source libraries which will support EOS. I researched some here https://github.com/topics/shamir from which I ...
0
votes
1answer
29 views

How to Define and use Array of Strings in Struct?

My Sample Struct and its method // Department Table struct [[eosio::table]] department_info { uint32_t ID; std::string deptname; std::string deptcode; std::...
1
vote
1answer
26 views

Difference between _self and get_Authorization and RAM optimization

I have build a Smart Contract with 14-15 Tables for I/O. It will be used to store important data of our platform. I have used require_auth(_self) as this contract will not be used by 3rd person. It ...
2
votes
1answer
23 views

how to find greatest common divisor inside smart contract?

I need the greatest common divisor between two numbers in the smart contract. I tried: int gcd = __gcd(num1, num2); num1 and num2 are two numbers. When the smart contract is compiled, its generating ...
0
votes
0answers
13 views

Generate random numbers in the smart contract

I am writing smart contract and stucked on this line : int p = 0; p = (rand() % 997); This is giving error error: use of undeclared identifier 'rand' I do search and got some reference links but ...

15 30 50 per page
1
2 3 4 5
46