All Questions
1,594 questions
1
vote
0answers
3 views
Deploy Contract from browser using eosjs
so I would like to deploy an EOS contract using eosjs. I encountered several problems (especially with converting the .abi and .wasm files).
All the examples either use node (so fs is available) or an ...
1
vote
0answers
9 views
Where are deferred transaction errors logged to?
I'm trying to learn about deferred transactions.
I'm creating a bogus deferred transaction that invokes a non-existent action "fakeaction":
transaction out{};
out.actions.emplace_back(...
0
votes
2answers
19 views
which cleos command is used to transfer tokens
I am developing a wallet service for eosio, and i want to transfer tokens, how can i do this.
I have used cleos for account creation
cleos create account eosio mynewacct1 EOSxxxxxxxxxxxxxx ...
0
votes
1answer
8 views
How to set up a private blockchain using EOS?
I have read that it is possible to set up a private blockchain using EOS. Can anyone help me to understand how to set up a private chain using EOS.
Thanks in advance
0
votes
1answer
13 views
nodeos allow connection from any ip?
I was doing this tutorial. Locally it works fine, but I need to remotely access the endpoint via curl http://my.ip.adreess:8888/v1/chain/get_info
But it doesn't work and I am sure it isn't my ubuntu ...
0
votes
1answer
23 views
Can a contract know the creation date of accounts?
Is the creation date of accounts part of consensus? Can I query it within contracts? If so, how to do it?
0
votes
1answer
9 views
Linking private EOS node with EOS mainnet
I want to build a scenario where I can exchange EOS private net tokens with EOS main net tokens.
Is there a way to directly link a private network with the main net, or do we have to involve some ...
1
vote
1answer
21 views
How to stop receiving EOS token from another account?
Sometimes we have to stop our service for system upgrades, repairs...
So is there any way to stop receiving token from another account?
0
votes
2answers
16 views
Difference In ChainIDs When Running NodEOS - Am I Connected To Mainnet?
I noticed my server throws this ChainID:
chain_id":"cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f"
When I run
curl http://127.0.0.1:8888/v1/chain/get_info
Now in another working ...
0
votes
0answers
21 views
Getting “code”:404,“message”:“Not Found” error while creating a wallet address in node js
Here is my node.js code as described here
var request = require("request");
var options = { method: 'POST',
url: 'http://127.0.0.1:8888/v1/wallet/create',
headers: { 'content-type': 'application/...
0
votes
1answer
10 views
I accidentally changed active key for my EOS account but I have my owner key. How to reset my active key [duplicate]
I accidentally changed active key for my EOS account but I have my owner key. How to reset my active key. Any help is much appreciated.
0
votes
1answer
26 views
How to create a side chain in EOS
I heard that it is possible to make independent side chains in EOS. How can I create a side chain? Is there any documentation for that?
0
votes
1answer
18 views
How do I destroy (completely reset) the blockchain?
Is there a nodeos command-line switch to just destroy the entire blockchain state and start over from the first block? Or can I achieve this by deleting one or more specific directories that are ...
0
votes
2answers
24 views
Has there been any proposals to onboard new users in creating EOS accounts without the need to pay for it?
The EOS account name system is great for newcomers to crypto. But the fact that you have to "pay" to create an account kind of kills the onboarding of new users to the EOS ecosystem. Are there any ...
0
votes
1answer
24 views
How to list all balances of tokens managed by an eosio.token contract?
Let's say I have deployed the standard eosio.token contract to an account called "myeosiotoken," and I have used it to create an "ABC" token. Then, I issue 1,000 ABC to "someaccount1" and 2,000 ABC to ...
0
votes
1answer
19 views
Is there an Infura or similar node service compatible with eosjs? For testnet/mainnet? Or, is starting your own node the way to go?
Are there any public api nodes for EOS? I.e. API key rate limited, etc
I'd also appreciate a post on using the EOS testnet the first time. I can't find anything in Google search results about EOS, ...
1
vote
1answer
33 views
How to extend the functionality of eosio.token?
I want to create an EOSIO token with additional functionality. For example, I want users to be able to claim() an additional token per day (since e.g. account creation date).
Should I create a new ...
0
votes
1answer
31 views
Does permission_level (_self) means that only contract can use this method?
If yes, then how do I make sure that anyone or any specified address can call a method? If not then what is the usage of permission_level (_self ...)?
action{
permission_level{_self, "active"_n}...
0
votes
0answers
10 views
How conversion of abi from abi_def to bytes goes
I am curious about how exactly abi is encoded to bytes.
As I understand, at first abi_def is converted to fc::variant and then to bytes. But I didn't managed to find out how conversion goes.
0
votes
1answer
13 views
My Testnet Account has got few tokens other than EOS, which are not showing in Kylin Testnet wallet
Kylin test account: thomsonimjd15 has got few tokens like RTT, PPT, LVE
Please see the above image from explorere for transaction on the tokens
I have connected to the wallet using scatter, I am not ...
0
votes
1answer
17 views
unlock-timeout keosd issues and keosd connection
I'd like to change the length of time a wallet stays unlocked. I tried two things:
1) I directly modified the config.ini file so that unlock-timeout = 40000.
2) I tried keosd --unlock-timeout == ...
0
votes
1answer
14 views
Token transfer missing_auth_exception
{
"code":500,"message":"Internal Service Error",
"error":{"code":3090004,"name":"missing_auth_exception",
"what":"Missing required authority",
"details":[{"message":"missing authority of thomsoimj21","...
0
votes
0answers
17 views
Expired transaction
Seq: ---
Undelegate
xxxxyyyygggg undelegated from the account ---- 2.0000 EOS for NET, and 1498.0000 EOS for CPU
Seq: ---
bankofstaked - expireorder
{
"id": ---
}
What is the meaning of this ...
0
votes
1answer
16 views
How to deploy a contract to api-kylin.eosasia.one testnet
I have written a helloworld contract and got compiled that successfully
thomsonim123 is my kylin testnet account with some EOS when I want to deploy the contracct to the testnet I get few errors.
...
0
votes
1answer
16 views
Is it possible to overload contract actions?
I had a method:
-- t.hpp --
[[eosio::action]]
void exchange();
-- t.cpp --
void token::exchange()
{
...
}
EOSIO_DISPATCH(eosio::token, (exchange))
and then decided that if a parameter were ...
0
votes
2answers
39 views
Mainnet Api to generate new account?
Using this api http://faucet.cryptokylin.io/create_account?testingaccoun2 it's possibile to generate new wallet whicch can be used on the testnet of crypto kylin. I need same thing for the mainnet, ...
0
votes
1answer
12 views
Newly created wallet does not exist on blok.io EOS explorer
I have followed the blow quick start to run EOS node on my mac
enter link description here
And I have created a wallet using wallet api http://127.0.0.1:8888/v1/wallet/create by account name ...
0
votes
0answers
16 views
what is receiver account for and what is ds, in new version of eosio contract's constructor declaration
In new version of eosio we declare the constructor as :
addressbook(name receiver, name code, datastream<const char *> ds) : contract(receiver, code, ds){}
My question is how ds work here and ...
0
votes
1answer
11 views
How to run EOS nodeos in Testnet? [duplicate]
How can I run EOS node in testnet mode to test my transaction for wallet and mange my contracts like Koven testnet in Ethereum?
0
votes
0answers
15 views
How does EOS check that signature is canonical? [closed]
What algorithm is used for checking that signature is canonical?
0
votes
0answers
17 views
RPC api http_plugin.cpp error
I have eos rpc endpoint when it's accessed through cleos, the endpoint works perfectly but when it's accessed through http client link by browser or Postman, below error thrown as a result.
{
...
0
votes
1answer
23 views
Authorisation failure with deferred transaction
I have a contract action that does some cleanup:
void token::cleanup() { ... }
that I want to run asynchronously from another action like this: schedule("cleanup", 10). my scheduling method looks ...
0
votes
0answers
11 views
How much can one make renting out their staked resources? What is projected?
What is the projected earning potential when the REX (resource exchange) comes out? Say if I had 1000, 10000, or 100000 staked EOS. What is my rental profit at the end of the day / week / month?
...
2
votes
1answer
27 views
Iterating through secondary indices
I have a table with some secondary indices. I want to iterate through the rows whose values are act >= 1 and discard the rest.
So:
table holders(_self, _self.value);
auto index_by_act = holders....
0
votes
0answers
23 views
Exception Details: 3080006 deadline_exception: Transaction took too long
I'm getting this error and have read all there is to read on the net (which isn't much) about it. mostly I see others complaining about this error when they run an action for the first time
in my ...
0
votes
1answer
18 views
Erasing records with for loops
if I want to erase a table:
orderbook b(_self, _self.value);
auto m = b.get_index<name("idxprod")>();
for (auto &i : m) {
m.erase(i);
}
I get the error:
Error 3160005: The table ...
3
votes
1answer
30 views
How to sort a table?
I'm following this explanation https://developers.eos.io/eosio-cpp/v1.1.0/docs/multi-index-table-tutorial using v1.5.0 of the CDT. Here's what I've got:
struct [[eosio::table]] order_struct {
...
0
votes
1answer
15 views
Symbol stringification?
an action in my contract accepts an asset:
void token::burn(asset a)
which I want to print out:
printf("Asset [%s] burnt\n", a.symbol.to_string());
except the symbol class does not offer ...
0
votes
1answer
17 views
What is the most reliable way to sync contact account tables?
I have a contract account which has some tables. I want to watch for onchain table changes and sync them to an offline database as soon as possible. What is the most reliable way to do this? I have ...
1
vote
2answers
18 views
Is there a way to check the histroy of a contract's table?
Is there a way to check the history after deleting the information in the table? For example, check yesterday's table information.
1
vote
1answer
19 views
What is eosio.code permission?
I have seen that some contract need eosio.code permission to deploy contract.
So, i have few questions regarding eosio.code that are as below
What is eosio.code permission?
Do we need to add ...
0
votes
2answers
68 views
How to watch my account for transactions
I am looking for an example of checking transactions that occur on my account.
I read that there is a demuxjs library that supports this, but it is difficult to approach.
Clarification: I am ...
1
vote
1answer
21 views
How the RAM in Eos nodes works?
I want to create my own private Eos chain for my own specific use case which is very RAM hungry. Imagine that I have a network of nodes having, for example, 32GB of ram. But I have two contracts with ...
0
votes
1answer
43 views
difference between history plugin and state history plugin
What I know is,
history_plugin : plugins that enable store sort of historical data like action traces, transaction traces.
history_api_plugin : plugins that enable to use /history/* APIs.
So, ...
0
votes
2answers
10 views
Asset instantiation woes
if I declare an asset:
asset a(10, symbol("TST", 0);
and I print it:
a.print();
I get pretty much what I'd expect:
TST
the format's not quite right (10 TST would have been better), but ...
1
vote
1answer
11 views
Multiple print statements?
given the lack of debugging facilities in EOS contract development I add print() statements to my code, but I'm finding that only the first one gets printed, so:
print("HERE\n");
print("HERE\n");
...
0
votes
0answers
19 views
Unlocking wallet with file inside bash script
I'm running a forked EOS blockchain. During my eosio_install.sh I create the default wallet and store it into a temp .ini file:
cleos wallet create --file walletkey.ini -n default
During a launcher ...
0
votes
1answer
7 views
CPU for transaction on my own node
If my EOS account run out of CPU, would it help if I run my custom node to process my own transactions?
If I'm required to become a block producer for this, what are the benefits of running hungry ...
0
votes
1answer
18 views
Waiting for staking
I've received this error :
billed CPU time (1277 us) is greater than the maximum billable CPU time for the transaction (0 us). I guess I need to stake EOS for CPU. If I stake for example, 3.0 EOS for ...
1
vote
1answer
26 views
How can i send 10,000 NFT in a single transaction like we send EOS tokens
I have implemented the nft statndard in EOS but I am having issue that I can't send more than 60 tokens at a single time. In NFT standard each token has unique id so they need to be send one at a time....