Questions tagged [eosio.token]

Questions related to the system contract for storing the EOS token

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

Transaction failed - Encoding error at root: Invalid type jsobj, no encoding methods implemented

I am getting this error on a compiled contract on WAX testnet I'm not sure where the error is from, but this file may be the cause. I don't know if it's a missing header file, etc. I can't find `jsobj ...
Douglas's user avatar
  • 101
0 votes
0 answers
12 views

i transfered over 300$ using EOSNCONTRACT wallet to another wallet but the token failed to deliver

I transferred the eos token from one wallet to another using the eosncontract wallet address Transaction id: 4458b2639b7cc5ffdde7785ed31d39a4910322baf2c220f0c0bc7d063e11e551 and ...
Emeka James's user avatar
0 votes
1 answer
75 views

What is the latest version of eosio and what is the new github site?

Why is the official github no longer updated last year? How do I build the latest image?
zhao xiangjun's user avatar
0 votes
0 answers
20 views

Transferring Tokens

I have a few accounts I would like to combine. How would it best be done? Everytime I try to transfer them, I get a DOS command line that I have no clue what to do with.
Howard Walker's user avatar
0 votes
1 answer
30 views

Can anyone give me a copy of the latest token contract code?

The old version doesn't work, so I want to request a new version of the contract code
YYYQQQ's user avatar
  • 1
0 votes
0 answers
27 views

How to import key to wallet using api

I want to import the key generated from the mnemonic to the wallet of eosio server using the api. Please let me know the api like the work on the following cmd. cleos wallet import ********************...
MidasTouch's user avatar
0 votes
0 answers
95 views

Error 3070003: Serialization Error Processing WASM while set contract eosio.system

set contract: cleos set contract eosio ./eosio.system -p eosio@active I get : Error 3070003: Serialization Error Processing WASM Publishing contract... Error 3070003: Serialization Error Processing ...
bigbadboii's user avatar
1 vote
0 answers
132 views

solved - contract to transfer multiple tokens

I tried to create a function to transfer multiple tokens on one transaction. code. token.cpp void token::transfers(const name &from, const name &to, ...
Wesley Dias's user avatar
0 votes
1 answer
173 views

Windows Docker Wax Dev failing to build eosio.token contract

Im installing the Wax Dev docker container via: docker run -it --name waxdev -v c:\wax:/wax waxteam/dev bash I then go to run the basic tutorial of creating a simple EOSIO.token from https://...
Matt's user avatar
  • 101
0 votes
1 answer
76 views

Smart contract redeem token action - Example

Do you have some example that shows how to design an action for a smart contract that when the user sends a REDEEMCODE action the smart contract will transfer some quantity of a custom token for the ...
Igor Medeiros's user avatar
0 votes
1 answer
35 views

is it possible to listen the return asset quantity of specified account?

is it possible to listen the return asset quantity of specified account in contract? e.g i use contract(A) to send asset of the specified account(B) to a DEX, can i listen the return asset quantity on ...
James Cai's user avatar
1 vote
0 answers
697 views

eosio: assertion failure with message: datastream attempted to read past the end

Im getting this error "eosio: assertion failure with message: datastream attempted to read past the end" when i try to call transfer function from another mine smart contract. void simplenft:...
Plamen Pla's user avatar
0 votes
2 answers
250 views

Transfer of NFT tokens

Transfer of NFT tokens. I need to send NFT tokens using web JS. I will be able to send coins using this code. But I can't find anything like this for sending nft tokens
В ожидании Чуда's user avatar
0 votes
1 answer
135 views

How to get timestamp of block in action logic like in ethereum

is there a way to find the time stamp of the block in which the transaction was mined like in solidity we can use block.timestamp. Can I have code examples of finding it.
Taaha Waseem's user avatar
0 votes
1 answer
104 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-...
Kevin's user avatar
  • 13
0 votes
1 answer
67 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
Awais Sakhi's user avatar
-1 votes
1 answer
46 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 ...
user5035's user avatar
0 votes
1 answer
84 views

Refunding impossible

I wanted to refund my eos manually, but unfortunately, I get the following error message: transaction declares authority '{"actor":"maczaykowski","permission":"...
Mario's user avatar
  • 1
0 votes
1 answer
105 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?
ALEXD's user avatar
  • 1
1 vote
3 answers
151 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::...
towi_parallelism's user avatar
0 votes
2 answers
203 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(...
towi_parallelism's user avatar
1 vote
1 answer
58 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 ...
emppeak's user avatar
  • 11
1 vote
2 answers
56 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"...
Umer's user avatar
  • 21
1 vote
1 answer
44 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.
Umer's user avatar
  • 21
2 votes
1 answer
240 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 ...
Abdullah Joyia's user avatar
1 vote
1 answer
60 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 ...
Matthew's user avatar
  • 11
0 votes
1 answer
31 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 ...
Sam Lee's user avatar
  • 11
1 vote
1 answer
43 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 ...
tommccann's user avatar
0 votes
1 answer
156 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 ...
Codebrekers's user avatar
1 vote
1 answer
62 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 ...
hongmei's user avatar
  • 11
0 votes
0 answers
23 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 ...
AhmadKajjan's user avatar
0 votes
1 answer
93 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 ...
AhmadKajjan's user avatar
1 vote
2 answers
374 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&...
AhmadKajjan's user avatar
1 vote
0 answers
107 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 ...
Esref's user avatar
  • 111
0 votes
2 answers
315 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 ...
Zohaib Basit's user avatar
0 votes
2 answers
98 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'...
AditiB's user avatar
  • 235
0 votes
1 answer
353 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 ...
Deepak Garg's user avatar
0 votes
1 answer
136 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] => ...
Sunny Kasera's user avatar
1 vote
0 answers
52 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 ...
Faruk Terzioğlu's user avatar
1 vote
1 answer
182 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....
Jeong-Ho Yu's user avatar
0 votes
2 answers
382 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 ...
alexpanter's user avatar
0 votes
1 answer
491 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 (...
djsoyboi's user avatar
1 vote
1 answer
259 views

Where I can get EOS tokens number precision information

Where can I check EOS tokens(EOSDT, Everipedia, Newdex, etc) precision points?
Rafael's user avatar
  • 121
1 vote
1 answer
76 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 ...
msc's user avatar
  • 145
1 vote
0 answers
174 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://...
Viktor Gagaleski's user avatar
0 votes
1 answer
61 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 ...
Alan Kim's user avatar
1 vote
2 answers
315 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 ...
hughjammer's user avatar
0 votes
1 answer
177 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 ...
msc's user avatar
  • 145
2 votes
1 answer
190 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 ...
msc's user avatar
  • 145
1 vote
0 answers
26 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)...
standup75's user avatar
  • 113