Questions tagged [eosio.token]

Questions related to the system contract for storing the EOS token

Filter by
Sorted by
Tagged with
0
votes
1answer
22 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
1answer
22 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
10 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
16 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
69 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 ...
0
votes
1answer
11 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?
1
vote
1answer
34 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
6 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 ...
1
vote
0answers
30 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
1answer
59 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 ...
2
votes
1answer
52 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" .....
1
vote
1answer
28 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
21 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 ...
0
votes
2answers
27 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
256 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
24 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
48 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
1answer
60 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
25 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
88 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
29 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
48 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
161 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
42 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
108 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
28 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
35 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
35 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
122 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
38 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
35 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
58 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 ...
1
vote
0answers
18 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
94 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
43 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
63 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
177 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
54 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 ...
1
vote
2answers
132 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
503 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
37 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
131 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
325 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
169 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
53 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
122 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
126 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
85 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
81 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
27 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?