Hot answers tagged

18 votes

How to do an inline transfer of a token?

Inline actions sent by a contract are executed with a virtual "signature" that satisfies the contract@code permission where contract is the account where the code is installed. Your inline action ...
user avatar
11 votes
Accepted

How can I lease my EOS once the mainnet launches?

Chintai is building a dApp (decentralized app) on the EOS blockchain that will allow you to lease your tokens. You can view it here: https://chintai-eos.io/ They will likely be on the Chintai ...
user avatar
  • 126
9 votes
Accepted

What is the correct way of issuing your own token?

The first line of token::create is require_auth( _self );. So I think only the contract account eosio.token can create the tokens. What you can always do is to reutilize this contract in an account ...
user avatar
  • 3,023
9 votes
Accepted

Are there any established EOS Token Standards?

The eosio.token contract implements what will become the standard. In the future eosio.token will allow users to create their own tokens that it manages.
user avatar
  • 1,985
8 votes
Accepted

What wallets are available for the EOS coin?

This answer probably will change over time, but you should be able to find a list of wallets on: https://eosprojects.org/categories/wallet/ Currently listed are: http://scatter-eos.com/ https://...
user avatar
  • 727
8 votes

get token balance from another contract

Declare the following struct in your contract struct account { asset balance; uint64_t primary_key()const { return balance.symbol.name(); } }; typedef eosio::multi_index<N(...
user avatar
7 votes
Accepted

Why tokens aren't being offered or distributed to U.S. or Chinese persons?

They need to protect themselves from the SEC which is in the middle of determining a classification for crypto currencies and ICOs. They have no means of actually preventing you from purchasing, ...
user avatar
  • 1,135
7 votes

What wallets are available for the EOS coin?

An EOS wallet is in the making by 3rd party developers recognized by Block.one. You can find details about 'EOSWallet' under EOS Essentials here https://github.com/EOSEssentials.
user avatar
  • 1,469
7 votes
Accepted

What is SYS token?

It will be the native token symbol. It has been renamed from EOS to SYS. This is to prevent confusion (even though it might add to it). The intention is that if you start a test net or fork the ...
user avatar
6 votes
Accepted

Block.One are not starting the EOSIO blockchain, so who will be?

Here's a post outlining a hypothetical example of how the chain will be launched written by the VP of Product at block.one: https://medium.com/@thomas.cox_39839/magic-15-unlocking-the-eosio-...
user avatar
6 votes
Accepted

What is the smallest unit of eos?

Token precision (number of decimal places) is defined when executing the create function on the eosio.token contract. You pass max supply to the token contract, which will include the precision. In ...
user avatar
5 votes
Accepted

Are there benefits to holding EOS as a user?

Users of the EOS network will not require any holdings to interface with dApps. As you mentioned Airdrops are certainly a benefit of owning EOS, many companies are using this as a way to circumvent ...
user avatar
  • 1,135
4 votes

Why tokens aren't being offered or distributed to U.S. or Chinese persons?

Their are various legal reasons why it is more difficult to accept direct investment in direct ICO purchases for EOS. Many projects choose to exclude US or Chinese citizens because the law under which ...
user avatar
4 votes
Accepted

What's the difference between EOS tokens on sale periods and EOS sold on exchanges?

EOS tokens traded on exchanges are tokens that were purchased from the EOS ICO. The price of a token when buying from the ICO is determined at the end of the 24 hour period, meaning you can expect the ...
user avatar
  • 1,469
4 votes

Why are string-related data types like account_name converted to type uint64_t?

The account name is converted into an integer uint64 using the function string_to_name defined in types.hpp file static constexpr uint64_t string_to_name( const char* str ) { uint32_t len = 0; ...
user avatar
4 votes
Accepted

Why are string-related data types like account_name converted to type uint64_t?

They are not strings, but rather base32 string representations of the uint64s. That’s why they are limited to 12 chars length and only the characters a-z, 1-5 and . When ever you see the preprocessor ...
user avatar
3 votes

What is the correct way of issuing your own token?

You can view the eosdactoken contract here - https://github.com/eosdac/eosdactoken We've implemented some extra functions for membership which will tie into our forthcoming DAC voting and worker ...
user avatar
  • 211
3 votes

Rent tokens and still receive airdrops?

Some airdrops like HorusPay will airdrop only to genesis block holders. That means If you had your tokens the day of the snapshot, you will get 1:1 ratio according to your eos tokens. Otherwise like ...
user avatar
  • 286
3 votes

What wallets are available for the EOS coin?

Among other things EOS.CYBEX claims they will launch the world's first hardware cold wallet for EOS. They state on their home page, linked, that "transactions happening on EOS are rather big in data ...
user avatar
  • 31
3 votes

What's the difference between EOS tokens on sale periods and EOS sold on exchanges?

It's the same token. It's likely throttled throughout the day. The most accurate depiction of cost is closer to the end of the sale period. No matter when you submit your ether during the sale period ...
user avatar
3 votes

eosiocpp -g generates empty abi file

I had this happen to me last night. Make sure the class name and your file names match. In other words, if you're compiling the hello contract, make sure the file names are hello.hpp and hello.cpp....
user avatar
  • 3,405
3 votes
Accepted

How to transfer EOS after a particular delay?

You need to call the transfer action of eosio.token contract with the appropriate arguments after your preferred delay: void send(account_name from, account_name to, asset amount, string memo, ...
user avatar
  • 5,524
3 votes

EOS: AirDrop vs. ICO

Why does it seem that there are hardly any ICO for EOS projects? But there are many AirDrops on EOS? I believe there are a few aspects that led to this phenomenon: Regulatory risk. ICOs have seen ...
user avatar
  • 5,524
3 votes

How to send EOS based tokens from one account to another?

You would add a transfer command to your token's contract as can be seen here. There is also a simple token contract example here if you don't need all the bells and whistles. .hpp void transfer( ...
user avatar
  • 3,405
3 votes
Accepted

Why do token transfers on EOSIO consume RAM?

I don't think the other answers clarify this aspect, so I'll post this as well: I just can't figure out why token transfers on EOS are stored in (expensive) RAM and not just simply in the ...
user avatar
  • 5,524
3 votes
Accepted

How can i send 10,000 NFT in a single transaction like we send EOS tokens

Do I need to shift to a standard like erc-20 ? This really depends on what you're trying to achieve. The NFT and ERC-20 are fundamentally different. Do you understand the difference? Non fungible ...
user avatar
  • 1,686
2 votes
Accepted

What does it mean that EOS tokens will become fixed/frozen?

There will come a time when EOS will have to take a snapshot of all Ethereum wallets that are registered before launching their mainnet. To ensure that there are no new EOS tokens being purchased and ...
user avatar
  • 1,469
2 votes

Will all EOS platforms give me access to my frozen EOS tokens?

The chain which is selected by the majority will inevitably have to honor the snapshot, otherwise users will not: a) Choose the chain to vote on. b) have the tokens to support the vote-in for the ...
user avatar
  • 453
2 votes

Are there benefits to holding EOS as a user?

There could be benefits yes, depending on which dApps a user might interact with. It might be possible that a dApp will require a user to stake tokens to the dApp to power it, and/or for storage, ...
user avatar
2 votes

ERC-721 Style token on EOS

Lots of ways, apparently. Here is one. https://github.com/unicoeos/eosio.nft
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible