Questions tagged [eosio.token]

Questions related to the system contract for storing the EOS token

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

Tutorial on how to load up your own ERC20 EOS token using a template contract.

I have the following template contract: https://github.com/EOSIO/eos/tree/master/contracts/eosio.token Is there a step by step tutorial on what I need to do to load up my own token? What are the ...
1
vote
2answers
165 views

How does EOS prevent spam if there are ZERO transaction fees? What is the purpose of the EOS coin then?

I read that EOS has zero transaction fees. How is spam prevented from someone just sending a bunch of eos to themselves to clog the network? And what is the purpose of the EOS coin if not the prevent ...
1
vote
1answer
177 views

Hello contract: How do i execute “hi” action when notified by eosio.token contract of an EOS transfer?

I want to extend the Hello contract (as an exercise) How do i execute "hi" action when notified by eosio.token contract of an EOS transfer ? I understood i have to extend EOSIO_ABI macro to handle ...
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
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 ...
1
vote
0answers
54 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 ...
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 ...
1
vote
0answers
78 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://...
1
vote
1answer
111 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
0answers
17 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)...
1
vote
0answers
58 views

What is the inflation schedule for EOS private blockchain?

I have followed the bios boot sequence https://developers.eos.io/eosio-nodeos/docs/bios-boot-sequence to create private EOS blockchain. Now everything has been done but there are some point I want to ...
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 ...
1
vote
1answer
97 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": "...
1
vote
0answers
34 views

How many requirement to make EOS testnet

I have made my local EOS testnet. Almost I followed the Bios Boot Sequence Pages. So I made a "eosio" account and created two block producers that were registered in chain. So three were created. But ...
1
vote
0answers
43 views

What is the difference between EOS and NEM?

What is the difference between EOS and NEM? Looks like NEM can do a lot of things EOS can do. How they are different & why?
1
vote
0answers
21 views

tables of eosio.token are not generated in abi file

I am using "server_version_string": "v1.2.3". And I am trying to compile and customize the eosio.token contract, but the tables are accounts and currency_stats table are not generated in abi file. How ...
1
vote
1answer
435 views

Push signed transaction without packed transaction data in EOS?

In ripple, bitcoin and ethereum you can sign a transaction and push/broadcast signed transaction hash only. That effectively represents the whole transaction. for example ...
1
vote
0answers
187 views

Whats the difference between EOS signature and ethereum signature

As I see, both use secp256k1 signcompact method So can I use ethereum crypto package when make an EOS transfer? the below source code sign https://github.com/ethereum/go-ethereum/blob/master/crypto/...
1
vote
0answers
35 views

How does EOS21 protocol work on transfering (teleporting) Ethereum's ERC20 tokens to eos?

Is there a tutorial on how one would transfer ethereum erc20 tokens to eos? Who initiates this "transfer" and does it go into an ERC20 eos smart contract? Who takes control of it then?
1
vote
2answers
295 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 ...
1
vote
0answers
326 views

How to do a transaction using rpc with python?

I am trying to make a transaction on eos. I have a node running on docker and created an account with cleos. I tried following this: https://github.com/EOSBlock/EOS-Tutorials/blob/master/EN/transfer-...
0
votes
2answers
100 views

How to automatically push an action when EOS is sent to the contract

I am looking for an alternative to the payable function of Ethereum in EOSIO. I want to invoke an action when EOS is sent to the contract. Is it possible?
0
votes
3answers
21 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::...
0
votes
1answer
129 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 ...
0
votes
1answer
449 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
3answers
299 views

unknown type name `account_name` in current version of eosio.token contract?

I'm attempting to follow this guide, which seems official: https://developers.eos.io/eosio-home/docs/token-contract which uses the v1.4.0 branch of the EOSIO contracts when I follow the steps, the ...
0
votes
1answer
60 views

How can eosio.token (v1.4.0) compile?

I'm attempting to follow this guide, which seems official: https://developers.eos.io/eosio-home/docs/token-contract and which begins by grabbing the v1.4.0 branch of the EOSIO contracts: git clone ...
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 ...
0
votes
1answer
21 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
109 views

How to add the formula of ram calculate price for eos in our project?

Actually I am building an application and I would like to add the ram calculation for eos there. if anyone wants to calculate the ram for the accounts creation, he can use our website.thanks.
0
votes
1answer
398 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
217 views

eosio 1.5.1 - keosd & produces: Application does have a valid signature

Following the eosio website I install eosio with brew. https://developers.eos.io/eosio-home/docs/getting-the-software The first step after the install is to run keosd &. I get the following ...
0
votes
1answer
48 views

Blacklisting specific addresses on token::transfer

I've issued a token using eosio.token standard contract. I want to prevent transfers to a number of specific accounts, for a limited time. Since it is temporary, I think I can simply hardcode the ...
0
votes
2answers
283 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 ...
0
votes
1answer
28 views

Why we match asset quantity with the uris vector in issue action?

I am working on the repo https://github.com/unicoeos/eosio.nft If I want to issue some tokens to the another accout,For that I have to send account_name , asset, uris, name,memo to issue action as ...
0
votes
1answer
7 views

Refunding impossible

I wanted to refund my eos manually, but unfortunately, I get the following error message: transaction declares authority '{"actor":"maczaykowski","permission":"...
0
votes
1answer
30 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
30 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
22 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
0answers
29 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 (...
0
votes
1answer
52 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 ...
0
votes
0answers
11 views

How can I track the transfer of my account and the person to whose account it was deposited?

This operation was not performed by me and I physically kept my account information .... Can I get the details or email of the person in question from kucoin exchange with the transfer information? ...
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 ...
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
2answers
98 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
2answers
205 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
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'...
0
votes
1answer
112 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
43 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
39 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.