All Questions

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

What is the difference between using rocksdb and chainbase for blockchain storage?

Is it better to use rocksdb? I didn't find the specific difference between the two.
user avatar
  • 1
0 votes
0 answers
8 views

How can I add a logo of my token?

I issued my tokens, and obviously I can't see its logo when searching it via block explorers. Does anybody know how to add a logo? Thank you in advance.
user avatar
0 votes
0 answers
41 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 ...
user avatar
  • 11
0 votes
1 answer
5 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, ...
user avatar
  • 1
0 votes
0 answers
16 views

Why eosio.code permission is not required in my local blockchain?

I am running a local blockchain with the following command: nodeos -e -p "eosio" --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin --delete-all-blocks > /dev/null 2>&...
user avatar
  • 1
0 votes
0 answers
5 views

The error was happend on JsSignatureProvider of eosjs on React Native

I'm developing the eos wallet app on react native. But it happens the issues like following. My code is import { Api, JsonRpc, RpcError } from 'eosjs'; import { JsSignatureProvider } from 'eosjs/dist/...
user avatar
0 votes
1 answer
22 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 ...
user avatar
  • 109
0 votes
0 answers
5 views

Transfering ownership of premium address

say i have an premium address premium in a single sig eos account and a multisig account with address asfbuueffs33. I effectively want to be able to send transactions on behalf of premium using my ...
user avatar
0 votes
1 answer
23 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/...
user avatar
  • 3
0 votes
1 answer
3 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 ...
user avatar
  • 3,405
0 votes
1 answer
13 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?
user avatar
0 votes
1 answer
19 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 ...
user avatar
  • 3,405
0 votes
1 answer
20 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.
user avatar
0 votes
0 answers
10 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.
user avatar
0 votes
0 answers
7 views

unstaking wax problem in eosauthority

i was unstaking wax in eosauthority, i waited 3 days after that i clicked the manually refund and it says Transaction failed - assertion failure with message: refund is not available yet.
user avatar
  • 1
0 votes
1 answer
15 views

What is the eosio private key when running on local?

I was trying to test the smart contract I created in my local but I am currently blocked as I cant create a new account. As per EOS documentation, I used the command below to create a new account: ...
user avatar
1 vote
0 answers
24 views

I want to store additional data on the "submit_transaction" using transact on the api object

I am new to the eosio platform. My goal is to store additional data onto the testnet.eos.io and receive a transaction_id which I managed to do. However on searching my transaction_id I see my ...
user avatar
  • 11
0 votes
0 answers
5 views

how to calculate signatures parameter in the push_transaction request json offline?

I referred to the writing in EosioSoftkeySignatureProvider, passed in the jsonData data of the request parameters, and then calculated it together with chainIdData and contextFreeDataHash, but there ...
user avatar
  • 1
0 votes
0 answers
17 views

UAL-anchor not getKeys()

I'm using ual-anchor.js in a web project. The user successfully logs in, but I try to call getKeys(), to then authorize the transaction signature and I get the following error Error: Unable to getKeys ...
user avatar
0 votes
0 answers
15 views

How to get index of week from time_point_sec(current_time_point())

How to get index of week from time_point_sec(current_time_point()) uint64_t addDay = (86400 * 3); time_point_sec start_at = time_point_sec(current_time_point()); time_point_sec end_at = create_at + ...
user avatar
  • 1
0 votes
0 answers
17 views

Smart Contracys - Migration from Ethereum to EOS

I spent a lot of time to develop a number of smart contracts for the Ethereum blockchain, with custom functions I would use for my personal projects. Now I am exploring EOS and I would like to migrate ...
user avatar
  • 11
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
12 views

I can't search owner's NFTS in spesific collection and schema

I want to make a website about; i write owner's wam adress and collection and schema. It will search owner's NFTS in these collection and schema but i cant do it. I need help in this code. It isn't ...
user avatar
  • 1
0 votes
0 answers
18 views

I cant search assets with collection and owner name

I want to search owner's NFTs on spesific collection and spesific schema. here's the code but i cant get owner's assets name in this collection and schema <script> function bindUI() { const ...
user avatar
  • 1
0 votes
0 answers
29 views

How to change endpoint url in an rpc call if the node does not respond

I want to implement a mechanism which is fault tolerance if a node does not responds. Currently i have 2 nodes in a private blockchain. I want to change my "endpoint url" when the first node ...
user avatar
0 votes
1 answer
31 views

Go Away: Wrong Chain

I am really not certain what happened here, but I was trying to change my keypair in the config.ini file because I could not get it to register as a block producer. And then after restarting it I have ...
user avatar
  • 101
0 votes
0 answers
15 views

How to make a transaction unique?

I'm constantly getting "duplicate transaction" error when sending a transaction. Besides changing the data, is there any way i can make it unique ?
user avatar
0 votes
0 answers
15 views

I cant create tokens

i can't create tokens. I need support for what am i doing. I cloned eosio token (include/src/CMakeLists etc) not builded- (cmake .. and make command aren't executed in terminal) I changed contract ...
user avatar
  • 1
0 votes
0 answers
21 views

How to catch transaction errors?

I'm trying to send a specific number of transactions per day to a smart contract. Because of low CPU stake I easily get CPU error. My goal is to catch this error and handle it in order to keep trying ...
user avatar
0 votes
0 answers
17 views

How to import key to wallet using api

I want to import the key generated from the mnemonic to the wallet of eosio server using the api. Please let me know the api like the work on the following cmd. cleos wallet import ********************...
user avatar
0 votes
0 answers
23 views

unable to unstake or withdraw tokens

I tried to withdraw my EOS from Simpleos wallet but was getting " Error: billed CPU time (286 us) is greater than the maximum billable CPU time for the transaction (0 us). So ,I decided to stake ...
user avatar
0 votes
1 answer
17 views

How does --contract-whitelist and --actor-whitelist work for nodeos?

Does the --actor-whitelist and --contract-whitelist work in the sense that if the list is set for that block producer that only those actors can perform transaction and only those contracts may be ...
user avatar
  • 3,405
0 votes
0 answers
9 views

Can I make a snapshot which contains less blocks than the actual blockchain?

My goal is to make a snapshot which contains the state of the blockchain untill a specific block (probably not block header). So the specific block must be "older" than the block header. For ...
user avatar
0 votes
0 answers
28 views

Get multiple rows in eosio smart contract

I have table with multiple rows for one account and i need to get all of his rows in mu smart contract, but i can't understand how i can get all rows in one time . Can someone explain me? thanks
user avatar
0 votes
0 answers
39 views

Index - Constructor for must explicitly initialize the member which does not have a default constructor

I try to create two tables and mult_index, I received an error on output. header file #include <eosio/eosio.hpp> #include <eosio/asset.hpp> using namespace eosio; CONTRACT game : public ...
user avatar
0 votes
0 answers
7 views

How to calculate cpu and net fraction value for PowerUp?

I am unable to understand the CPU and NET fraction values in the powerup action in eosio.system. For example, what should be the fraction values if I want to powerup 1.5 ms of CPU and 1 KB of NET.
user avatar
0 votes
0 answers
12 views

Table values write correctly but fails to read values, possible serialize error

I'm trying to write a contract that has a table with few vectors, even tho it seems to be writing all the values correctly it fails to read the values back. The structs and tables are bellow: struct ...
user avatar
  • 101
0 votes
1 answer
104 views

How to extract data from atomic assets ATTRIBUTE_MAP

Title says it all. I'd like to get data from atomic assets' attribute map. This is the link to their docs https://github.com/pinknetworkx/atomicassets-contract/wiki/Custom-Types#atomic_attrbiute tried ...
user avatar
1 vote
0 answers
78 views

Staking NFT to withdraw a token

What would be a good example of a smart contract that will allow users to stake NFTs and withdraw an amount of a certain token on a daily basis?
user avatar
  • 11
0 votes
1 answer
15 views

How do you run nodeos as a non-root user?

I'm working on one node which is running on a testnet, and since I'm kinda new to this environment I'm wondering how can I drop privilege level to a non-root user for running a node on a server? Can I ...
user avatar
  • 101
0 votes
1 answer
20 views

Is there a way to convert an object to JSON in the smart contract?

I want to convert a series of data/object/struct into a json text before saving it into my table. Is this possible?
user avatar
1 vote
0 answers
13 views

How to properly replay blocks to generate trace data?

When attempting to query a specific block against the trace_api on an EOS node that has full chain data and I'm receiving a 404 error. curl https://mynode.localhost/v1/trace_api/get_block --data '{&...
user avatar
  • 11
0 votes
0 answers
20 views

How can we Burn native EOS tokens?

Outside of BP's burning EOS tokens, how can an average user or contract burn EOS tokens? I imagine transferring to eosio.null is the only way?
user avatar
  • 11
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
1 answer
23 views

How to find lost tokens? I staked eos bet tokens from a trust wallet. I played on site where it showed they were staked. Went back and they were gon

I have a transaction number showing the 300 went to another address. Think it mighta been the wrong address. I was staking form trust wallet which is a binance address but I think it mighta sent to an ...
user avatar
0 votes
1 answer
68 views

How to deploy a smart contract on the mainnet?

I created and tested my smart contract on testnet. Now I want to deploy it on mainnet, I assume I have to purchase some EOS token and buy ram, cpu and net... I can't find anything in the docs about ...
user avatar
  • 111
1 vote
0 answers
72 views

solved - contract to transfer multiple tokens

I tried to create a function to transfer multiple tokens on one transaction. code. token.cpp void token::transfers(const name &from, const name &to, ...
user avatar
0 votes
0 answers
18 views

How to develop custom plugins?

Is there any good resources on how to develop plugins? The plugin creating script was updated years ago and even the custom plugins in https://github.com/liquidapps-io/awesome-eosio-plugins seem to be ...
user avatar
0 votes
1 answer
42 views

Skipping resource provider: Blockchain not supported by this resource provider

I'm using Anchor Wallet to sign my transactions (through UAL) and sometimes, it's bugging with this error whenever I try to sign a transaction: Skipping resource provider: Blockchain not supported by ...
user avatar
3 votes
0 answers
89 views

Random Number Generator without wasting RAM

I want to implement RNG on EOS the mainnet. My reference is the WAX ORNG smart contract It is based on the signidice which is an Ethereum implementation. That algorithm is based on an external oracle ...
user avatar
  • 1,686

15 30 50 per page
1
2 3 4 5
49