Questions tagged [eosio.token]
Questions related to the system contract for storing the EOS token
106
questions
1
vote
1answer
15 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
12 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
19 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
20 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 ...
1
vote
1answer
23 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
24 views
Caught exception: TypeError: Cannot read property 'getAvailableKeys' of undefined
When i try to do transaction this error gets thrown no information on this so far I am using latest version of eosjs v= 21.0.2
I am reading the accounts names balance to transfer and public key from a ...
0
votes
0answers
23 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 (...
1
vote
1answer
34 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
17 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,...
1
vote
1answer
26 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
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
51 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
65 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
0answers
43 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
348 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 ...
0
votes
2answers
161 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
35 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
96 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
33 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
0answers
34 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.
2
votes
0answers
34 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 ...
2
votes
1answer
83 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
1answer
74 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 ...
0
votes
1answer
277 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 (...
1
vote
1answer
115 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
62 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
74 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
38 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 ...
2
votes
2answers
153 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 ...
0
votes
1answer
118 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 ...
2
votes
1answer
100 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)...
0
votes
0answers
28 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: ...
1
vote
0answers
81 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 ...
1
vote
1answer
338 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
139 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 ...
1
vote
0answers
57 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 ...
2
votes
2answers
1k 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 ...
5
votes
1answer
421 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
87 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 ...
0
votes
2answers
95 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?
2
votes
1answer
853 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
90 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
117 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
102 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":{"...
1
vote
2answers
154 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.
1
vote
1answer
103 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.
2
votes
2answers
77 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 ...