Newest Questions
2,407 questions
0
votes
0
answers
14
views
Error when setting up eosio.system contract - env.preactivate_feature unresolveable
Setting up a local eosio network using docker and facing an issue while setting the contract for eosio.system and eosio.bios.
Eosio setup
eosio : v2.1.0
eosio.cdt: v1.7.0
eosio.contracts: v1.9.0
...
0
votes
0
answers
4
views
Stock investment
Stock investment involves purchasing shares of companies to generate returns through capital appreciation and dividends. Ruchir Gupta Training Academy offers comprehensive courses, equipping ...
0
votes
0
answers
2
views
Can i use EOS Notechain boilerplate to achieve Multi org setup?
I am building a supply chain DApp using Notechain, which works well in a local single-node environment. Now, I want to expand it to a multi-node setup to make it more distributed.
What are the key ...
0
votes
0
answers
36
views
Multi-Org Testnet fails in synchronizing. (Using EOS notechain boilerplate)
I am able to setup Multi-Org (4 organization) EOS network using docker. However I am not able to get the details executed by org1 action to the other nodes (i.e org2, org3 and org4). I get the account ...
0
votes
0
answers
2
views
on websocket ,how can raw::unpack(state_result), or other way to do ? use abieos_bin_to_json?
Problem Description:
When using WebSocket for communication, I need to deserialize the received binary data into a state_result struct, or convert it to JSON format. I understand that I can use fc::...
0
votes
0
answers
9
views
EOSJS Transfer Fail with message: Assertion failure: unable to find key
Here is my code that attempts to do EOS transfer using eosio.token smart-contract:
import { Api, JsonRpc } from 'eosjs';
import { JsSignatureProvider } from 'eosjs/dist/eosjs-jssig.js';
const ...
0
votes
0
answers
15
views
I wonder if it is possible to store the key pair separately and use it externally instead of storing it in the wallet of the local node
I am a Korean wallet blockchain developer!
While developing EOS, something came up that I was curious about, so I decided to post this.
I understand that in the case of EOS, a wallet is registered on ...
1
vote
0
answers
8
views
Trying to unstake EFX coin after 4 years
I have been staking effect.ai token EFX for more than 4 years now and honestly didn't touch it during that time.
Now I wanted to unstake it, but when I try to connect my wallet here
https://dao.effect....
0
votes
0
answers
9
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}},
...
0
votes
0
answers
14
views
Transaction failed - Encoding error at root: Invalid type jsobj, no encoding methods implemented
I am getting this error on a compiled contract on WAX testnet
I'm not sure where the error is from, but this file may be the cause.
I don't know if it's a missing header file, etc. I can't find `jsobj ...
0
votes
0
answers
15
views
Trace API get block call fails on a few blocks - _binary_to_variant function crashing
I'm running 6 mainnet archive nodes, today morning onwards a few blocks are returning 500, internal server error!
curl --location $url/v1/trace_api/get_block --header 'Content-Type: application/json' -...
0
votes
0
answers
11
views
Require a method to identify deflationary tokens before initiating a transaction
I have a quick question regarding identifying deflationary tokens before initiating a crypto transaction.
For instance, I recently intended to exchange 20 ABC tokens for 10 DANK tokens(Which sends 0.1%...
0
votes
0
answers
34
views
404 Client Error: Not Found for url: https://wax.greymass.com/v1/chain/abi_json_to_bin
For the transaсtion, I used this construction. Recently it has stopped working. I get an error 404 when calling abi_json_to_bin endpoint with the above, it doesn't seem to accept the json payload list....
0
votes
1
answer
28
views
Error when executing get_account method: incoming message length unexpected
When sending POST request to /v1/chain/get_account using the following code, I get 502 back.
import requests, json
url = "https://api-node.eos.mydomain.com/v1/chain/get_account"
data = {&...
0
votes
1
answer
40
views
Error when setting eosio.bios contract
I am instantiating a new EOS network for a private blockchain. When the bios node executes cleos set contract eosio /contracts/eosio.bios -p eosio -x 1000 I get the following error. How can I fix ...
1
vote
0
answers
58
views
Beginner question on how EOS is used in gambling
Hey so there is this gambling site I use, which according to them uses the EOS blockchain to randomize the outcome. I'm trying to figure out if the games are rigged or not but can't get anywhere since ...
0
votes
1
answer
22
views
Alternative to std::ifstream for eosio contract
I'm watching for an alternative to "std::ifstream" because "#include " can't include as header in a contract.
My code is:
std::istream& operator>>(std::istream& str, ...
0
votes
1
answer
26
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
...
0
votes
1
answer
34
views
EOS Pubkey to Addresses Conversion
I have few Public Keys for EOS and I want to generate Address from them. I was not able to find the conversion code. Any help would be highly appreciated
0
votes
1
answer
234
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 ...
0
votes
1
answer
44
views
How to get account name of current action?
I am gonna get account name of caller(wallet) in my action of smart contract.
I used functions current_receiver(), get_sender(), get_first_receiver().
but I got contract`s account name and empty ...
0
votes
1
answer
52
views
Transfer nft with anchor-link
I use this repository to connect to Anchor-Wallet while trying to transfer nfts:
anchor-link
When I send the transaction, in the console I have this error:
Uncaught (in promise) exception: Account ...
1
vote
1
answer
78
views
Is EOS.IO Archived ? No New release or security patches will be available?
Is the EOS.IO archived ? Please confirm. I am able to see it is archived in Github.
Any plan to coming up with an upgraded version ?
0
votes
1
answer
100
views
Get table row count or property from the last row
As I said I need to get the count of rows in a table. Preferly via rpc with http plugin or from a new action inside the Smart Contract.
This is my Smart Contract:
#include <eosio/eosio.hpp>
...
0
votes
0
answers
23
views
Is there a way to reduce the number of producers?
Trying to reduce 3 out of 9 producers
I ran the unregprod command, but it doesn't seem to be applied. Is there a way to reduce the producer?
0
votes
1
answer
78
views
What is the latest version of eosio and what is the new github site?
Why is the official github no longer updated last year?
How do I build the latest image?
1
vote
1
answer
54
views
Maximum limit for data included in a transaction?
I am really new to EOS.IO. I need to send transactions to a private Blockchain and I am having some trouble with geth, so I was wondering if EOS could be a solution. I know by geth source code it is ...
0
votes
1
answer
39
views
When you query on a secondary index, are you provided with a cryptographic proof?
EOS newbie here. Thanks for any insight. If you can point me towards more info, great.
0
votes
0
answers
22
views
Transferring Tokens
I have a few accounts I would like to combine. How would it best be done? Everytime I try to transfer them, I get a DOS command line that I have no clue what to do with.
0
votes
1
answer
73
views
What is the maximum size of smart contract?
I'm developing a smart contract and yesterday I couldn't deploy it into testnet with error:
root@698a02be20d9:/# cleos --verbose set contract myaccount /work/mycontract -p myaccount@active
Reading ...
0
votes
1
answer
51
views
How are block hashes generated
I was wondering how the future block hashes are generated. Is this fully random or could this be influenced by someone?
0
votes
1
answer
39
views
eosio claimrewards action - got error: unable to find key
I've votef for proxy on Eos chain and when want to claim proxy rewards I get this error: unable to find keys.
0
votes
2
answers
45
views
Get Action Index (or contract) from inside notification
Is there a way to get the index (ordinal) of the current action that is being processed?
If you could access apply_context you could do get_action_id() but afaik that isn't exposed inside an action.
...
0
votes
1
answer
34
views
What does FC mean?
When I see EOSIO log errors, there are many things that start with FC. By the way, what exactly does prefix "FC" mean here?
ex)
FC_DECLARE_DERIVED_EXCEPTION( chain_type_exception, ...
0
votes
1
answer
30
views
Can anyone give me a copy of the latest token contract code?
The old version doesn't work, so I want to request a new version of the contract code
0
votes
2
answers
56
views
How to declare a table outside of its contract-class?
As we know from the documentation, a table must be initialized as shown below:
class [[eosio::contract]] helloworld: public eosio::contract
{
public:
helloworld(eosio::name receiver, eosio::name ...
0
votes
1
answer
38
views
Purpose of max_inline_action_size?
What is the practical purpose of max_inline_action_size in global settings?
I was attempting to create a contract that would be set with [email protected] / [email protected] active permissions ...
0
votes
1
answer
21
views
Efficency of Actions
I am new to smart contracts, and I am developing a smart contract for a game.
I am trying to understand if the smart contract that I created is efficient or not.
I have deployed the smart contract on ...
0
votes
1
answer
49
views
How to get name of account which is processing action recent in contract?
I need to authorize with admin table of contract. but I could not account name which is processing action of contract. Let me know about any eos function to get account name, if anyone know well.
...
0
votes
1
answer
75
views
Adding Ricardian Clause
I am new to eosio and so far I have been learning using EOS Studio. I have come to the point where I would like to be able to write some Ricardian Clauses in the abi file but EOS Studio does not seem ...
0
votes
1
answer
141
views
Can't implement kv_table in smart contract
I'm trying to implement kv_table in my smart contract. Here is my sample code.
#include <eosio/eosio.hpp>
#include <eosio/system.hpp>
#include <eosio/time.hpp>
#include <string>...
0
votes
1
answer
80
views
Iterating a table by primary key greater than x and secondary key == y
How does one go about iterating a table for the next largest primary key in a table that also has a specific secondary value?
Values to iterate with:
uint64_t last_key_known == 1652645054;
name ...
0
votes
1
answer
58
views
how can my on_notify trigger calls contract actions (permisson issue)
I need to write a contract that automaticaly mint nfts when tokens are being transferred.
So i have my :
[[eosio::on_notify("*::transfer")]]
void logdeposit(name from,name destination, ...
0
votes
1
answer
46
views
how to get cpu usage of prev. actions in contract call?
Is it possible to figure out before transaction is completed, how much CPU an action in a smart contract will use? E.G. I make transaction with X actions + call to my smart - contract. Is possible to ...
0
votes
1
answer
44
views
How to return all/multiple tokens owned by an account?
How do you return the balance of multiple tokens for an account in a single call?
I'm using get_currency_balance to return the balance of a single token:
POST https://eos.greymass.com/v1/chain/...
0
votes
1
answer
19
views
Can you stack wait delay threshold for a multi signature transaction?
If for example you have an account with a permission level that has:
threshold of 11
11 accounts with 1 weight each
3 day delay with weight of 2
7 day delay with a weight of 4
Would you be able to ...
0
votes
1
answer
176
views
How do I connect Wombat Wallet to my Dapp
I'm trying to integrate the Wombat wallet into our DApp. I was told the code is similar to integrating Anchor wallet to a DApp.
Can anyone provide proper code or instructions?
0
votes
1
answer
204
views
What causes this error: Error: Required configuration or TAPOS fields are not present
What causes this error?
Error: Required configuration or TAPOS fields are not present
I am pushing transactions to a mainnet block producer and I am receiving this error intermittently.
Any help would ...
0
votes
1
answer
29
views
Issue tokens via API
I can issue my own tokens via cleos, it works fine. But I can't find any reference on how to issue tokens via EOS API. Is there any way?
Thanks in advance.
0
votes
1
answer
167
views
How to generate the EOS keys from Mnemonic/Seed on Expo
I try to develop the eos crypto wallet app on Expo. But I can't find the solution to generate the eos keys from Mnemonic/seed phrases on Expo.
Once you know the solution, please let me know.