Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [eosio.token]

The tag has no usage guidance.

0
votes
2answers
18 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?
1
vote
1answer
115 views

What is the smallest unit of eos?

How many decimal places can eos be set to? I want to send the smallest amount of eos to another account.
0
votes
2answers
14 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
25 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
16 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
0answers
22 views

error while compiling code in eosstudio?

Recentlty, i tried a eosio IDE named eosstudio,which is pretty impresive.The problem i face while compiling my code is given in the picture.then I got an advice from a telegram channel that,chenge the ...
1
vote
2answers
75 views

Is there any IDE for eos smart contract?

Is there any IDE for compiling eos smart contract? for example ethereum have remix to compile and run solidity based smart contract.
0
votes
1answer
26 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
2answers
39 views

How to display custom token on Mainnet Monitor?

Let`s assume that I deployed eosio.token to my own account, created some tokens there. I would like to know if it is possible for tokens on that account to be displayed in Account info on EOS Mainnet ...
2
votes
1answer
96 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::...
2
votes
1answer
40 views

What does it mean to have multiple blockchains on EOS

In the whitepaper v2, I saw a section for inter-blockchain communication. Does this mean communicating with blockchains based on other technologies like Ethereum? If not does that mean that each DApp ...
2
votes
1answer
73 views

Custom token in scatter

After researching on many sites i don't found any way to do this Is there any way that in scatter(chrome extention) to show balance of custom token? As shown in the image it shows balance of EOS and ...
1
vote
1answer
25 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 ...
0
votes
1answer
24 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 ...
2
votes
1answer
30 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
1answer
81 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 ...
1
vote
1answer
34 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....
1
vote
0answers
33 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
1answer
46 views

What is the major difference between system contract and other contracts?

What is the difference between defining actions inside a eosio contract such as eosio.token and other contracts. Can I costomize the eosio contract : for example can I customize the eosio.token ...
0
votes
0answers
12 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 ...
0
votes
1answer
64 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 ...
2
votes
1answer
39 views

Is there any BP node that provides full history per account for a given token contract?

Does any block producers currently provide public access API node with full history for each EOS account for any token contracts? I want to fetch all transaction data for any EOS account for any ...
0
votes
1answer
48 views

How to write correct recall action

I got a "missing authority of two" message when calling a custom recall action by command. cleos push action one create '{"to":"one", "quantity":"100000000.0000 SYS"}' -p one@active cleos push ...
0
votes
3answers
130 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
40 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
36 views

can a deferred transaction makes the initial transaction fail

Imagine a user sent me some eosio.token to my contract when i receive the notification, i start a new deferred transaction that can fails later. So my question is can that deferred transaction makes ...
1
vote
2answers
75 views

What is the difference between a method call and the use of SEND_INLINE_ACTION?

in looking at the code for eosio.token (https://github.com/EOSIO/eos/blob/master/contracts/eosio.token/eosio.token.cpp) the issue method calls the transfer method at the bottom, but instead of just ...
2
votes
1answer
401 views

How to transfer EOS token using Scatter.js or eos.js?

I've successfully managed to use eosjs to transfer some EOS but when I'm trying to send something else (a token) it's no longer working. For example that code is working: import ScatterJS from '...
0
votes
1answer
33 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
104 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 ...
1
vote
1answer
233 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
115 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
1answer
50 views

Makefile Compiler Error

I have been using this tutorial from Medium to build my first smart contract. I've come far, finally got a nodeos local node up and running and producing blocks on my Ubuntu VM. I've hit a snag though ...
1
vote
0answers
83 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
1answer
109 views

How to send EOS tokens to a new account using cleos? Are EOS token created by default in private testing blockchians?

I'm using eos 1.4.3 and ubuntu 16.4 I'm not using docker, I've built the project locally. I've just created 2 new accounts (Alice and Bob), I've also instantiated the eosio account. I've read and ...
1
vote
1answer
65 views

In the eosio.token contract, why are the structs private?

In my contract, I'd like to be able to check how much EOS an account has. For that, I'd write some C++ code like this: token::accounts the_table("eosio.token"_n, "useraccount1"_n.value); auto it = ...
1
vote
0answers
75 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 ...
1
vote
0answers
26 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
1answer
58 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 ...
1
vote
1answer
67 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
2answers
165 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
198 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-...
3
votes
1answer
99 views

how to implement a 48-char-long symbol token with balances like “10.0000 custom.name.of.the.token”?

I need to create my.token smart contract on EOS that will be exactly the same as eosio.token contract but my.token's symbol_code will allow a much bigger string. Something like 50 character long ...
3
votes
1answer
154 views

Issue setting permissions for use of eosio.token in smart contract

I have an action in a smart contract called submanager that I want to make use of the transfer action from eosio.token (I'm using eosio.cdt v1.3). ACTION subscribe(name from, name to, asset quantity,...
2
votes
1answer
114 views

How do trade eosio token and other token (NFT) in contract?

I'm trying to develop NFT's contract with reference to unicoeos/eosio.nft. Also I'm trying to develop NFT's shop contract in order to trade NFT and eosio.token. The logic trading NFT and eosio....
1
vote
1answer
45 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 ...
2
votes
2answers
437 views

Unable to compile eosio.token

I'm following the https://developers.eos.io/eosio-home/docs/token-contract block one tutorial using the latest eosio/eos-dev docker image (v1.4.0). I have some issues when I compile eosio.token.cpp ...
2
votes
1answer
49 views

EOS have its official sidechains?

I heard of the concept of sidechains as scalability solutions applied to the EOS blockchain. Did Block.one make any announcement on launching its own sidechains, which in this case the token is EOS ...
2
votes
1answer
87 views

What is the command to use the retire function in eosio.token

Can anyone give me the command line to retire (burn) tokens? I couldn't find it in the developers portal but I see the function in the eosio.token abi Thanks in advance.
2
votes
1answer
236 views

Receiving EOS tokens in the contract's action

I am working on a DAPP which requires users to pay a small amount of EOS in order to participate in the DAPP. In ethereum, every transaction has msg.value which specifies the amount of ether in the ...