Questions tagged [eosio.token]

Questions related to the system contract for storing the EOS token

Filter by
Sorted by
Tagged with
1
vote
1answer
14 views

Is it possible to do a demo with testnet without buying EOS RAM?

I'm a rookie when it comes to developing Dapps. I'm thinking of doing a project using EOSIO. I just need to do a demo to showcase my project so I don't need to deploy it for others to use. I don't ...
0
votes
1answer
35 views

eosio.contracts and how it works

Hello guys I have a question about eosio.contrcats I am confused about when I want to deploy my contract and my contract use an esoio.contracts should I deploy them too or there is an eosio.contracts ...
0
votes
1answer
90 views

Error while signing a transaction using nodejs wallet API?

I am building an eosdapp using nodejs code.I got the wallet api from the developers portal,but when i run the code i get the following error. {"code":500,"message":"Internal Service Error","error":{"...
0
votes
2answers
59 views

How to reduce NET and CPU usage in Private EOS

I am trying to setup a private eos for my app, I want to know if there is possible to change the usage of CPU, NET etc in private setup without staking tokens. If YES, then please guide me with the ...
0
votes
1answer
24 views

use inline action with eosio.token

Hello guys i am trying to build a contract that act with eosio.token to make a transfer from my contract using inline action with the eosio.token contract here my code #include <eosio/eosio.hpp&...
1
vote
1answer
64 views

The symbol does not match

Token transfer between 2 accounts give me this error. token transfer works though if one of the account is the token contract account. how do i fix this? "details": [ { "message": "...
0
votes
0answers
15 views

Serliazing and singing transactions offline

I am trying to test the throughput and latencies of 1-2k token transfer transactions. I got my logic working for a low amount of transactions - <100. However, when I tried sending 1000 transactions,...
0
votes
0answers
17 views

Make a trade contract between two tokens like (EOS) & (SYS)

hello everyone i made a small contract that trade between two tokens using eosio.token but if i wasn't work on local test how can i have access to EOS tokens or SYS in the main net and how can i do ...
0
votes
1answer
40 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 ...
1
vote
0answers
23 views

Total Unique Addresses Count of EOS

I need to find an API giving the total number of unique addresses used on the EOS blockchain. For example, this page provides it for Ethereum. You can also see a methodology for the cryptocurrencies ...
0
votes
0answers
68 views

How to fix billed CPU time is greater than the maximum billable CPU time?

I have an account where currently I think I have enough CPU resource to make a transaction. I've staked 20 EOS for CPU and now my available CPU is 1.29ms (1.78-0.48). See the pictures below. But when ...
1
vote
1answer
123 views

If I issue an EOS token, how do I afford the running fee?

I got a question about how to afford the cost of emplace action... code in eosio.token like : statstable.emplace( _self, [&]( auto& s ) { s.supply.symbol = maximum_supply.symbol; ...
0
votes
1answer
96 views

can the decimal precision of token contract be changed after launch to mainnet?

I'm having trouble getting my token to show up on the Meet.one wallet, thought i had launched it with basic decimal precision of 4, but after testing with scatter can only send upto 2 decimal places. ...
0
votes
2answers
51 views

Exception in thread “main” client.exception.EosApiException: Not Found: unspecified while creating account

I am using following of Java code while creating account: Using Java library eos-java-rpc-wrapper adyliu/jeos Using Jungle2 testnet Chain Id of jungle2 testnet: ...
0
votes
1answer
152 views

Creating eos token using eos studio

I have done my research. All I found is people recommending me to use eosio.token to create a eos token. The issue is it won't load in eos studio. I am just wondering is there any tutorials (...
0
votes
0answers
15 views

Find smart contract related to token

Some time ago I created and issued one token. As I remember I used this guide. https://hackernoon.com/how-to-create-and-deploy-your-own-eos-token-1f4c9cc0eca1 (now guide looks little bit corrupted) ...
0
votes
2answers
25 views

I have some doubts about open function of eosio.token smartcontract

async function openAccount (tokenCreator ) { try{ const result = await api.transact({ actions: [{ account: tokenCreator, //'eosio.token', name: 'open', //'transfer'...
1
vote
1answer
67 views

eosio.token vs copy of eosio.token

We've created a copy of eosio.token to issue our own in-game token. Going forward we might want to add our token to the crypto exchanges. Question: Given that this token was created by our own copy ...
0
votes
1answer
41 views

How to sign this EOS transaction provided with below code and response?

This below code is working fine in testnet. I want to do transaction, signing and broadcasting individually. I generated the raw transaction, but I don't understand how to sign it. I have provided the ...
2
votes
1answer
46 views

Is there a way to prevent me spending tokens until an action is called?

I am creating a smart contract but came to a halt when writing the code. Is there a way, in a smart contract, to prevent me from spending tokens transferred to me by another user through the smart ...
1
vote
2answers
256 views

How to transfer/deposit tokens on Front end Dapp with Scatter?

I am working on an EOS frontend Dapp with Scatter on local chain. I am getting a problem with transfer/deposit tokens from one account to another. After logging into scatter with "test1" and trying to ...
2
votes
2answers
189 views

get token stats

I found the following in the eosjs docs: eos.getCurrencyStats(code, symbol) ⇒ getCurrencyStatsResult I was able to receive all stats for eos.getCurrencyStats('EOS', 'eosio.token') as well as ...
1
vote
1answer
75 views

Is it possible to deploy contract via curl?

Using command line i am deploying smart contract "eosio.token". cleos -u http://127.0.0.1:8888 set contract eosio.token ./eosio.token -p eosio.token Is it possible to deploy smart contract using ...
1
vote
2answers
532 views

Transaction requires authority, but does not have signatures for it

I am trying to send tokens from one account to another using eosjs & reactjs with the standard eosio.token contract but I have issues with the authority. Can someone please explain the meaning of ...
0
votes
0answers
15 views

Inflation in EOSIO

I learning eosio system contract, I found that when any block-producer call claimrewards action then there is 5% (of total supply per year) is inflated, in which 4% goes to eosio.saving account, 0.25% ...
0
votes
1answer
21 views

Unknown action hashit in contract eosio

stdClass Object ( [code] => 500 [message] => Internal Service Error [error] => stdClass Object ( [code] => 3050000 [name] => action_validate_exception [what] => Action validate exception [details] => ...
0
votes
0answers
18 views

Error 3060002: Account Query Exception

I am getting failed to retrieve account for eosio.token while transferring tokens from account1 to account2. (dev) root@dev-eosio-1:/home/ldxdev/sghxtoken$ cleos get currency balance token1 ...
1
vote
1answer
54 views

Wondering how to fix eosio.token transfer error in contract

I am developing an EOS dapp game When the user acts on the contract after Scatter authentication, the logic is to deposit the bet amount from the user to the contract account. But I get an eosio....
0
votes
0answers
32 views

EOS CPU Full i'm do nothing

Why CPU max overflow what I do nothing. Just I looked at https://bloks.io/ (or) https://eospark.com/ Of my account. Last Transaction is Oct-07-2019, 11:18:08 PM. to now is Oct-09-2019.
6
votes
3answers
1k views

Multiple EOS transfers in a single transaction

Is it possible to pack a few transfers of EOS token to different accounts inside of single transaction? I know it's possible to pack multiple arbitrary actions inside one tx, but what about EOS token ...
1
vote
0answers
29 views

Options for running a full node and simulation node

I want to integrate EOS to our exchange and I want to be able to send new EOS transactions and to follow any incoming transactions to any of my addresses. I wonder what is the best option for this ...
4
votes
2answers
495 views

How to airdrop an eosio token

I am trying to create a new eosio token and airdrop it at a 1:1 ratio to all eosio accounts. I have a snapshot csv file with all the eosio account names, the public key, and EOS token balances. My ...
1
vote
2answers
82 views

Transferring EOS within Smart Contract

I'm building a Smart Contract that transfers EOS from my contract account to end user accounts. I can not seem to find up to date and correct syntax for transferring EOS using eosio.token from within ...
1
vote
1answer
617 views

Transaction expiration time

Is it possible to configure or change the "expiration": "2018-06-26T14:33:24", time? Currently its 30 seconds on my local node after I generate a transaction so I do not get time to execute it and ...
0
votes
0answers
33 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: ...
1
vote
1answer
59 views

Where I can get EOS tokens number precision information

Where can I check EOS tokens(EOSDT, Everipedia, Newdex, etc) precision points?
1
vote
1answer
49 views

Why we need an EOSIO account to transfer token?

I have started working on EOSIO. I am following this document. I have created a wallet using cleos. Then open, unlock and import key in it. After that according to document, we need two accounts to ...
1
vote
0answers
51 views

Unable to retrieve user tokens using get_currency_balance

I am trying to get user tokens with the following method: static async getUserTokens(userAccount) { console.log("Get tokens for: " + userAccount); try { const rpc = new JsonRpc("http://...
0
votes
1answer
32 views

I'd like to swap my eos token using eosio.token with EOS coin

I am a DAPP Developer in Korea. I have publish my own token using eosio.token recently. I love to study eos main network system. Now I am trying to learn how swap my token with EOS. So that I was ...
4
votes
1answer
279 views

How to debug eosio::on_notify(“eosio.token::transfer”) actions?

I'm working on a contract that will run an action when receiving tokens. The following code does not run when the account receives EOS or JUNGLE tokens on the Jungle Testnet. #include "./test.hpp" .....
0
votes
1answer
66 views

EOSIO - Error 3120006: No available wallet

I have created wallet using RPC API. http://127.0.0.1:8891/v1/wallet/create Here, keosd run on port number 8891 and nodeos run on 8892. Then, I have opened, unlock and import key into wallet using ...
1
vote
0answers
15 views

Security Token for EOS

What functions need to be added to the standard EOSIO.token to use it as a base for a security token? I could find some interesting documentation for ethereum (https://eips.ethereum.org/EIPS/eip-1462)...
0
votes
0answers
27 views

Why EOSIO using eosio.token?

When you transfered the token to another account, you can see the console log in terminal... Like this : eos@ubuntu:~$ cleos transfer eosio account_name "0.1 SYS" executed transaction: ...
0
votes
0answers
74 views

Make a transfer from contract code on behalf of user [duplicate]

Installed: eosio: 1.7.3; eosio.cdt: 1.6.1 Implemented and locally deployed: sample market contract and eosio.token contract. In order to make an inline transfer from market contract in behalf of a ...
6
votes
1answer
972 views

How I can typecast the “0.0001 EOS” into eosio::asset

I declared a variable value = "0.0001 EOS"; , inside my action I want to transfer those asset to a account .I am having difficulty to typacasting this string into the eosio::asset value . my code goes ...
0
votes
1answer
185 views

assertion failure with message: no balance object found

This error message occurs when trying to do a transfer: assertion failure with message: no balance object found What causes it and how can it be avoided?
0
votes
2answers
207 views

I have got “cannot modify objects in table of another contract” when trying to modify a table in my transfer function

I saw some contract implement a handler which will be triggered when receiving EOS token via eosio.token::transfer. I tried to have the same transfer handler and change some row of my table. But I ...
5
votes
2answers
2k views

Clearing RAM tables of eosio.token contract

What I am trying to do is clear the RAM table completely. This question is not a duplicate since it is asking for a full and a working solution. The contract that I was executing filling the RAM ...
1
vote
1answer
117 views

EOS Block Producer Claim Reward

I have followed Bios boot sequence tutorial from eosio and setup a private eos blockchain. The problem is the block producers i have created , when i tried to claim reward it shows "cannot claim ...
0
votes
0answers
13 views

EOS token payment gateway

I was trying to create an API which integrates with nodeos on my server, rpc calls can be made by the web api for the purpose of a payment gateway for eos . My question is how to integrate an API with ...