All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
1 view

Eosjs trying to get rows with secondary index

I am using this command through cleos to get rows by index: cleos get table cometogethe3 cometogethe3 tickets -L 2 --key-type i64 --index 2 and from react with eosjs the following: try{ var ...
0
votes
0answers
10 views

I wants to know about same_payer in EOS

I am new to EOS and term same_payer is confusing me, can anyone explain to me what is it signify in the below line? statstable.modify( st, same_payer, [&]( auto& s ) { s.supply += ...
0
votes
3answers
16 views

How does Jungle testnet create new account?

I have created new account in https://monitor.jungletestnet.io . I have a copy of the log # eosio <= eosio::newaccount {"creator":"junglefaucet","name":"myaccount","owner":{"threshold":1,"keys":[{...
0
votes
0answers
5 views

Cannot create account using EOSJS 16: Permissions Error

I know EOSJS 16 is deprecated, but I want to know how to solve this following error in it. var Eos = require('eosjs'); // Default configuration var config = { chainId: 'CID', // 32 byte (64 ...
0
votes
1answer
13 views

How to operate the get_actions endpoint to get transaction history

Following what I think is the official EOS documentation for get_actions . I stumble upon the parameters pos and offset, but they are not documented anywhere. Can somebody explain to me, what these ...
0
votes
0answers
20 views

Error creating account within EOS studio

I am trying to create an account in EOS studio. It throws this error: transaction declares authority {"actor":"eosio","permission":"active"}, but does not have signatures for it.
0
votes
0answers
14 views

Information about the voice token

We have heard a lot about Voice but what about the economy of it: how will the token work ? how to earn it ? is it possible to trade it ?
0
votes
0answers
17 views

How to get/change resource limits for account?

On Jungle testnet I have bidded account name and the auction is closed now, so the name is "mine". I try to create an account with that name and receive an error: account xxxxx has insufficient ram; ...
0
votes
0answers
18 views

Invalid Reference Block

When I tried to set contract from cleos ( cleos --url xxx set contract xx . vxtoken.wasm xtoken.abi), I got the following error: Error 3040007: Invalid Reference Block Ensure that the reference ...
0
votes
1answer
33 views

Optimal hardware and OS setup for a super fast EOS node

What are the important factors when selecting hardware and OS for a super fast EOS Node. I'm assuming single threaded processors only count? A boat load of RAM? Some OS tweaking? I really want to ...
0
votes
1answer
13 views

how to connect eos smart contact with flutter app

flutter has this package name Eosdart,Im able to get the detail from blockchain with app like account detail,but im unable to push the transaction. I want to push a transaction which carry argument ...
0
votes
1answer
11 views

How to get the voters from a particular proxy account?

How to fetch the lists of accounts who delegate their votes to a particular proxy account? If there isn't any direct way to retrieve the list, is there suggestions how to aggregate data and filter ...
0
votes
0answers
10 views

Solved Auth Issues with EOS Studio

I am following the everything eos tutorials https://github.com/mr-fool/Eos/tree/master/cardgame/cardgame I can't seems to get the auth to work. I deployed the contract to the account bob
1
vote
0answers
5 views

what is the native?

eos/chain/apply_context.cpp 66 line i had been found the something where account_name newly was created like eosio.token, eosio.rex.... So, i found some hint controller.cpp // 321 Line #define ...
1
vote
0answers
23 views

Sending transaction with Scatter from a single-page application

Request for help: I need a simple example of sending transaction (pushing a contract action test) by Scatter written in plain JS for a single-page browser scrip without any requirjs , vue , angularjs ...
0
votes
0answers
12 views

eosio.token Error: Account name already exists

I'm trying to following the official guide in order to deploy the token contract but when i type: cleos create account eosio eosio.token "development public key" i receive the following error: ...
0
votes
0answers
39 views

How can i Improve my code (Transaction took too long)

I have Enough CPU and NET i have staked 13 EOS for each and still unable to run the code. Please suggest if i can improve anything. IS there any problem of table index Got this from developer.io if ...
0
votes
0answers
9 views

Error when starting nodeos: “cannot set revision while there is an existing undo stack”

Does anyone know what this error means, how it is caused, and how it can be fixed?
1
vote
1answer
19 views

Failed to migrate to postgres database: nerror: duplicate key value violates unique constraint \“pg_namespace_nspname_index\”

I have been trying to set up demux but I keep on getting this error, { error: duplicate key value violates unique constraint "pg_namespace_nspname_index" at Connection.parseE (/home/nodeos2/...
0
votes
1answer
27 views

COMPILATION ERROR error: static_assert failed "Something went wrong. Please report this issue to the github

Getting an error when the code reaches this particular function. Is there something obvious I am missing here? Kindly Note this is Deferred transaction Please ask if anything else is required from ...
0
votes
1answer
36 views

Not able to run EOSIO module for demux

while trying to run demux, I am getting an error. The proper initialization has not occurred. Failed to migrate the postgres database. The full error code is this: {"name":"demux","hostname":"...
2
votes
1answer
49 views

How does a typical ECDSA signature verify work in EOS and ETH/BTC

I have been studing ECDSA signature/verify for a while. By my understanding: the standard ECDSA signature/verify process are like something as below: A sender combines message and its ECC public key ...
0
votes
0answers
29 views

Technical problem with trying to unstake EOS so it can be withdrawn to an exchange etc

As I understand it, in order to transfer/withdraw/exchange EOS, it must first be unstaked, after which it is held for 3 days temporarily in the 'net' status column, and is then automatically ...
0
votes
1answer
13 views

What is the difference between demux and the state history plugin?

I was looking to work with a tool that would help me reflect transactions on my personal database. I was thinking of using demux but a lot of people suggested state history plugin. I want to know the ...
0
votes
1answer
27 views

multi_index table get const_iterator at a specific position

is there a better way than a loop to get the value/const_iterator at a specific position in multi_index table? current: auto idx = _table.get_index<"name"_n>(); const_iterator b; int count = ...
0
votes
0answers
12 views

How to get active key within smart-contract

I need to get account public key within smart contract. I tried to find public keys in system contracts, but unsuccessfully. Anybody knows how to do it?
0
votes
0answers
6 views

“JsSignatureProvider is not a constructor” in Firebase Cloud Function

I run the following locally in my machine (or in any of my remote servers) and I get no problem: const JsSignatureProvider = require('eosjs/dist/eosjs-jssig').default; const signature = new ...
0
votes
0answers
2 views

eosjs sign data does not match with eosio assert_recover_key data

at client, I create a signature from seed like this. the key pair is [ '5KgLbwEy7d4qufeLqPnPL1YQU1tscJXCnpqTTn7REaZsjYBjDWr', 'EOS5Mk748B6ojrZdTHP8BoLBXyKjQzzthaqGa4v97vfiGEfbEM2Np'] import ...
0
votes
1answer
19 views

COMPILATION ERROR error: non-type template argument is not a constant expression

what is causing this error while im compiling ? struct [[eosio::table]] requestForLoan{ uint64_t req_id; name borr_name; uint64_t borr_id; name uwr_name; uint64_t uwr_id;...
0
votes
1answer
9 views

Signing a transaction: string(22) “Internal Service Error”

I'm using the jungle test chain jungle.eoscafeblock.com:8888 endpoint and import the private key to my local wallet, but when trying to get signature throuth local keosd api /v1/wallet/sign_signature ,...
0
votes
1answer
11 views

bad_cast_exception: Error while starting up Nodeos

I get an error starting up nodeos. I am trying to run a second node on another account and start it as a non block producer. Whenever I start, I get a bad_cast_exception. > Invalid cast from ...
0
votes
1answer
10 views

Cannot find logging.json

I cannot find logging.json. I am trying to find logging.json to increase the logging level but when I search for it in .local/share/eosio/nodeos/config where the documentation says it will be, I ...
0
votes
0answers
14 views

Error message assertion failure with message: “read”

I made my own smart contract. and tried to erase my table. But it didn't. I will attach the following error { "code": 500, "message": "Internal Service Error", "error": { "code": 3050003, ...
0
votes
1answer
7 views

Is there RPC API endpoint to request how much resources account uses?

Is there any way to track or get information about current user account resources consumption using RPC API? I.e. how many operations can be executed with the current tokens or how much RAM or CPU is ...
0
votes
1answer
14 views

How to free up used memory

I have this picture for my account memory: quota: 220.4 KiB used: 207.5 KiB I want to free the memory and sellram. Is it possible, and if yes, how to do that?
0
votes
1answer
13 views

Error: 3190000 block_log_exception: Block log exception: block log does not contain last irreversible block

I was getting an Error while starting nodeos. Error: 3190000 block_log_exception: Block log exception: block log does not contain last irreversible block If you are getting the same error look at ...
0
votes
0answers
18 views

How to set up a non-block producer node and connect it to a block producer node?

To set up demux you need to set a Block Producer node and a non Block Producer node. You are then required to pass various parameters to the non-Block Producer node like read-only Read-Mode, enabled ...
2
votes
1answer
30 views

What is the RAM price on Jungle testnet

I want to buy 250KB of RAM on Jungle testnet but don't know the price. in this thread the answer suggests the command cleos --url <jungle-testnet-url> system buyram <payer-account> <...
0
votes
1answer
27 views

Deferred transaction on EOS [duplicate]

Is it 100% sure that deferred transaction will run on what delay is defined? Is there any possibility that deferred transaction failed to run on defined day? If it fails what is the alternative? ...
0
votes
0answers
26 views

Failed to connect to nodeos at 127.0.0.1

As the questions states I have trouble connecting to nodeos at 127.0.0.1 my localhost address, I also believe my question is a bit unique to the others of similar heading. I am doing a fresh install ...
0
votes
1answer
42 views

Can we store date on eosio table?

Is there any direct datatype in eosio to store date? and if not then how can we store dates in eosio table? void mainloan::paymentConfirm(uint64_t pay_id,uint64_t pay_date,double pay_amunt,name from ...
0
votes
1answer
30 views

How to upgrade a multi_index table in a smart contract

I have initially the following multi_index table: struct [[eosio::table]] plastict { uint64_t id; uint64_t type; uint64_t primary_key() const { return id; } }; typedef eosio::multi_index&...
0
votes
0answers
21 views

How to set up demux-js-postgres?

I was going through the documentation of demux-js-postgres by EOSIO and I would say the documentation is not very informative. There is no instruction on how to run it and eventually connect it to ...
0
votes
1answer
18 views

Can I create account with eos js?

Is there a way to create an account via eos js For example I would to avoid having to go to http://monitor.jungletestnet.io/#account to create an account on the testnet, is that possible?
0
votes
0answers
19 views

get Assert Exception while replaying : size.value <= MAX_SIZE_OF_BYTE_ARRAYS

In order to replay nodeos with blocks.log, I run command like nodeos --replay-blockchain --wasm-runtime wabt --plugin eosio::chain_api_plugin --plugin eosio::http_plugin >> nodeos.log 2>&...
1
vote
1answer
30 views

A working example of cleos push transactions

Has anyone ever pushed an array of transactions using the cleos push transactions command? If so, can you show how you prepared the transaction array JSON and a working example of the command being ...
0
votes
2answers
42 views

How to initialize the blockchain correctly?

I am trying to initialize the blockchain using nodeos --genesis-json /home/nodeos/genesis-test.json --config-dir /home/nodeos/.local/share/eosio/nodeos/config --delete-all-blocks but I am getting an ...
1
vote
0answers
19 views

Which of the following is better for CRUD in a table?

I have two approaches to save data on blockchain, but I don't know which one is the best from time as well as space complexity perspectives. I want to store key value pairs in a table. First Approach:...
0
votes
0answers
7 views

EOSIOSwiftVault - “Key generation failed.” How to generate keyPairs?

Following the tutorial in https://github.com/EOSIO/eosio-swift-vault for EosioSwiftVault I wrote the following function: import EosioSwiftVault func getKeyPair() let vault = EosioVault(accessGroup: ...
0
votes
2answers
29 views

How to loop a multi_index table in a smart contract

I have very simple table items with the following structure: struct [[eosio::table]] item { uint64_t id; uint64_t state; string description; uint64_t primary_key() ...

15 30 50 per page