Questions tagged [eosio.token]

Questions related to the system contract for storing the EOS token

Filter by
Sorted by
Tagged with
0
votes
1answer
131 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
0answers
18 views

How much RAM to buy?

How can one determine the amount of RAM to buy for a new account and for regular transfer actions? The page here recommends 4K of RAM: https://support.bancor.network/hc/en-us/articles/360018325291-...
-1
votes
1answer
25 views

Does EOS wallet a storage for the token or just a key locker box?

I am new to crypto currency and just start to study EOS. I have general idea about various concepts and terms in EOS area. However I still quite confused by this EOS wallet thing. My understanding is ...
0
votes
2answers
106 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&...
0
votes
1answer
359 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
1answer
21 views

Buyng Ram EOSIO

Hello i want to make api for buying RAM so is there any api available or any library please let me know but im already using eosjs ,eos-api of nodejs please let me know in comment thank you
2
votes
1answer
84 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
128 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 ...
0
votes
1answer
42 views

I still have ERC20 version EOS, how can I map it?

I am a EOS long time holder. I put my EOS in ImToken wallet. The EOS I have is still ERC20 version, how can I change it?
0
votes
2answers
32 views

Inline action for transferring tokens

I am trying to transfer some tokens as part of my contract action, but I get an error: ACTION maincontract::sendtoken(const name sender, const name receiver) { action( permission_level{ get_self(...
0
votes
0answers
25 views

Jungle Testnet Tokens not recognized in Scatter

I have created a jungle test net account and used the faucet to get some test tokens, I have 200 EOS / JUNGLE tokens. I have connected the jungle network in Scatter with the following details: ...
0
votes
1answer
15 views

Refunding impossible

I wanted to refund my eos manually, but unfortunately, I get the following error message: transaction declares authority '{"actor":"maczaykowski","permission":"...
2
votes
1answer
53 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
297 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
1answer
114 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
2k 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
3answers
22 views

on_notify does not get triggered

I am using a very simple example: mycontract.hpp: [[eosio::on_notify("eosio.token::transfer")]] void depos(name from, name to, asset quantity, string memo); mycontract.cpp: [[eosio::...
1
vote
1answer
34 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
55 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
106 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
223 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 ...
1
vote
1answer
24 views

GetAccount Not Found Error, is this Testnode Sync Issue?

I am testing the EOS SDK and have testnode running on my local, it gives me an error Not Found, Exception I have created an account from developer dashboard at testnode and using the accountname ...
1
vote
1answer
98 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
2answers
102 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
96 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 ...
2
votes
1answer
523 views

Issue in transferring EOS from Ledger Nano to exchange

I was getting an issue at the time of transferring my EOS from Ledger Nano S using Fairy wallet to one exchange. It was unable to complete the transaction due to deadline. I got few good response and ...
0
votes
1answer
54 views

How to access keosd API like create wallet, what are the input parameter

I am new with eosio, and I want to create a wallet and sub wallet. I just took reference of [https://developers.eos.io/manuals/eos/latest/index][1] and while going through the document I found that ...
1
vote
2answers
28 views

send different amount of tokens to different accounts in single transaction

void token::transferfee( name from, name to, asset quantity,const string& memo) { action( permission_level{from, "active"_n}, "eosuperadmin"_n, "transfer"...
8
votes
3answers
2k 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
1answer
18 views

Smart Contract Close Function

cleos push action eosio.token close '["bob","TIK"]' -p alice@active I'm calling close function of eosio.token smart contract using above command on local node.
2
votes
1answer
16 views

Error: Provided keys, permissions, and delays do not satisfy declared authorizations

I am facing some error while running this command cleos create account eosio eosio.bpay EOS6wFEd5JHuUHWtaV12mxnm1v9udPsdrB7LUy1mVFc8iYJNdDMaL It show's the output given below Error 3090003: Provided ...
0
votes
1answer
22 views

Advantage of storing data in EOS compared to traditional database

I am learning blockchain concept and EOS. From my understanding, data which is stored in blockchain can not be modified. But, data in table in EOS can actually be modified? Then what is difference ...
0
votes
1answer
22 views

Is it possible to get the initiating contract name from a token transfer?

When an external account transfers tokens to my account (which has a contract with an "on_notify" action for incoming transfers), is there any way I can get the name of the contract that ...
1
vote
1answer
156 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; ...
1
vote
1answer
28 views

Is there a requirement to use the eosio.token account/contract for managing tokens?

I understand that the eosio.token account/contract is used to maintain a 'register' of tokens and also maintains a balance for each user. Alternatively, I could create my own account and implement the ...
0
votes
0answers
33 views

Erorr : assertion failure with message: unable to find key on push action eosio init

I have read other answers regarding this error but this case is different. I have created a private network on which i deployed eosio.token contract on a account with name other than eosio.token (...
2
votes
2answers
499 views

Make a transfer inline

I would like to send SYS token owned by the smart contract account to a third party account when anyone call a specific action. I have tried the following code but I am getting an error: [[eosio::...
0
votes
0answers
18 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 ...
1
vote
0answers
59 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
2answers
36 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'...
2
votes
2answers
197 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 ...
0
votes
1answer
48 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] => ...
1
vote
1answer
93 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
42 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.
1
vote
0answers
36 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
547 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
177 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
791 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 ...
1
vote
1answer
139 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
64 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 ...