Be a crypto hero in the market by logging in

Don't you have an account? Sign in

Token price

  • BTC

    8,393,795.7KRW

    0.8%

  • ETH

    178,498.8KRW

    2.4%

  • XRP

    223.9KRW

    0.8%

  • USDT

    1,240.4KRW

    0.1%

  • BCH

    293,149.9KRW

    0.9%

  • BSV

    219,715.3KRW

    0.6%

  • LTC

    54,759.1KRW

    -0.5%

  • EOS

    2,899.3KRW

    1.2%

  • BNB

    17,016.0KRW

    3.0%

  • XTZ

    2,083.1KRW

    0.9%

  • XMR

    66,120.7KRW

    1.7%

  • XLM

    51.5KRW

    1.2%

  • HT

    4,576.4KRW

    4.9%

  • ADA

    39.9KRW

    0.8%

  • TRX

    14.8KRW

    0.9%

  • USDC

    1,239.2KRW

    -0.0%

  • CRO

    60.0KRW

    2.2%

  • DASH

    84,117.0KRW

    0.8%

  • ETC

    6,355.4KRW

    0.9%

  • HEDG

    2,161.7KRW

    2.0%

  • NEO

    8,811.6KRW

    2.5%

  • ATOM

    2,523.1KRW

    3.2%

  • XEM

    47.2KRW

    2.4%

  • ZEC

    41,133.3KRW

    2.9%

  • MKR

    393,930.7KRW

    6.1%

  • ONT

    483.1KRW

    3.2%

  • PAX

    1,238.9KRW

    0.0%

  • DOGE

    2.3KRW

    0.3%

  • BAT

    183.6KRW

    2.6%

  • ELAC

    401.6KRW

    0.8%

  • VET

    4.0KRW

    1.1%

  • LINK

    485.1KRW

    2.0%

  • TUSD

    1,236.7KRW

    0.0%

  • HBAR

    40.9KRW

    -1.0%

  • DCR

    14,734.5KRW

    2.2%

  • BTG

    9,000.4KRW

    -0.8%

  • ICX

    294.1KRW

    0.8%

  • QTUM

    1,585.9KRW

    2.0%

  • ALGO

    221.5KRW

    11.1%

  • LSK

    1,204.5KRW

    0.2%

  • INB

    386.8KRW

    0.5%

  • REP

    12,157.4KRW

    1.0%

  • ZRX

    191.9KRW

    0.6%

  • WAVES

    1,175.7KRW

    -0.3%

  • CNX

    2,107.3KRW

    1.1%

  • RVN

    19.2KRW

    0.6%

  • BCD

    604.5KRW

    1.1%

  • XIN

    202,385.3KRW

    -0.9%

  • XIN

    202,385.3KRW

    -0.9%

  • NANO

    738.5KRW

    5.4%

  • MONA

    1,490.8KRW

    0.2%

  • MCO

    6,195.9KRW

    1.5%

  • ENJ

    120.0KRW

    7.4%

  • OMG

    687.5KRW

    1.2%

  • KCS

    1,169.0KRW

    0.7%

  • DGB

    6.7KRW

    4.0%

  • THETA

    99.5KRW

    6.0%

  • STEEM

    221.3KRW

    -4.7%

  • NEXO

    140.2KRW

    2.8%

  • QNT

    5,974.1KRW

    -5.3%

  • SNT

    20.7KRW

    -3.7%

  • BTM

    71.6KRW

    1.7%

  • BTM

    71.6KRW

    1.7%

  • SC

    1.7KRW

    1.6%

  • ABBC

    118.8KRW

    1.2%

  • VSYS

    32.5KRW

    9.6%

  • KMD

    508.7KRW

    -8.8%

  • BTS

    21.6KRW

    2.3%

  • SXP

    941.1KRW

    -4.4%

  • HC

    1,241.1KRW

    1.4%

  • XVG

    3.2KRW

    0.6%

  • ZIL

    5.0KRW

    2.4%

  • INS

    1,230.2KRW

    2.3%

  • BCN

    0.3KRW

    0.5%

  • IOST

    4.0KRW

    1.2%

  • ELF

    82.2KRW

    4.5%

  • GNT

    43.7KRW

    -0.2%

  • ARDR

    40.9KRW

    1.2%

  • WAX

    36.4KRW

    -0.0%

  • MATIC

    14.3KRW

    0.9%

  • XZC

    3,951.3KRW

    1.8%

  • AE

    125.9KRW

    2.4%

  • CHZ

    8.4KRW

    0.7%

  • RIF

    61.3KRW

    -0.0%

  • LRC

    34.6KRW

    -0.3%

  • STRAT

    345.8KRW

    0.4%

  • MANA

    32.2KRW

    0.7%

  • NPXS

    0.1KRW

    1.5%

  • AION

    79.7KRW

    0.5%

  • ANT

    913.9KRW

    -3.4%

  • POWR

    68.8KRW

    -1.0%

  • MAID

    63.8KRW

    0.7%

  • TRUE

    344.4KRW

    1.5%

  • ELA

    1,481.0KRW

    6.9%

  • CTXC

    106.5KRW

    -8.9%

  • ETN

    2.6KRW

    -1.8%

  • ORBS

    12.3KRW

    1.4%

  • RDD

    0.8KRW

    8.2%

  • ARK

    199.7KRW

    0.8%

  • OCEAN

    67.3KRW

    15.1%

  • PAI

    15.9KRW

    -0.2%

  • PAI

    15.9KRW

    -0.2%

  • TOMO

    325.5KRW

    0.1%

  • GRIN

    589.4KRW

    1.7%

  • BORA

    31.1KRW

    8.6%

  • WTC

    291.9KRW

    2.4%

  • WAN

    163.8KRW

    -0.5%

  • BEAM

    332.9KRW

    3.0%

  • FCT

    2,147.3KRW

    -2.2%

  • NAS

    341.1KRW

    3.8%

  • DAI

    1,256.8KRW

    1.4%

  • LOOM

    18.1KRW

    0.2%

  • PIVX

    301.3KRW

    -2.5%

  • CVC

    24.5KRW

    2.5%

  • QASH

    46.4KRW

    2.2%

  • IGNIS

    21.0KRW

    -0.5%

  • BNT

    227.1KRW

    0.5%

  • GRS

    197.1KRW

    -1.1%

  • PPT

    276.1KRW

    1.9%

  • DAD

    223.4KRW

    2.6%

  • FET

    18.1KRW

    0.5%

  • NXS

    187.8KRW

    1.2%

  • LAMB

    18.6KRW

    18.6%

  • MOAC

    191.2KRW

    0.1%

  • POLY

    24.1KRW

    0.3%

  • DENT

    0.1KRW

    1.0%

  • AOA

    1.6KRW

    2.3%

  • TTC

    25.1KRW

    -1.2%

  • ODE

    45.6KRW

    1.7%

  • ABT

    99.1KRW

    6.0%

  • MBL

    1.7KRW

    2.5%

  • CET

    11.6KRW

    0.9%

  • GO

    8.9KRW

    -1.1%

  • SYM

    123.5KRW

    1.7%

  • GTO

    11.7KRW

    -1.3%

  • CPT

    2.4KRW

    --%

  • CELR

    2.0KRW

    -1.0%

  • REPO

    67.0KRW

    15.0%

  • COSM

    10.9KRW

    1.4%

  • FTM

    4.0KRW

    2.3%

  • ANKR

    1.8KRW

    1.5%

  • GUSD

    1,238.9KRW

    0.6%

  • AERGO

    26.5KRW

    3.4%

  • MOC

    18.4KRW

    -0.0%

  • NAV

    97.3KRW

    -0.4%

  • R

    13.1KRW

    0.1%

  • FLETA

    6.8KRW

    2.2%

  • UPP

    15.9KRW

    1.5%

  • SOC

    3.7KRW

    3.6%

  • PAY

    38.2KRW

    8.1%

  • BCV

    5.0KRW

    0.1%

  • AMO

    0.3KRW

    0.1%

  • TROY

    2.4KRW

    -2.0%

  • MIX

    2.0KRW

    -0.8%

  • APIX

    0.6KRW

    2.1%

  • FNB

    1.6KRW

    4.5%

  • RFR

    0.7KRW

    -1.2%

  • PROM

    598.5KRW

    -0.2%

  • BAAS

    0.6KRW

    -7.4%

  • HUM

    6.3KRW

    9.4%

  • DCC

    0.9KRW

    --%

  • PRO

    54.5KRW

    5.2%

  • EOSC

    2.6KRW

    7.9%

  • MVL

    0.3KRW

    3.0%

  • eDEL

    2.4KRW

    -0.7%

  • RBG

    0.7KRW

    0.7%

  • AKRO

    1.9KRW

    49.6%

  • ABL

    8.1KRW

    3.6%

  • VRA

    0.5KRW

    6.3%

  • BWX

    45.9KRW

    -7.2%

  • EGG

    4.3KRW

    4.0%

  • AIDUS

    4.0KRW

    -0.5%

  • XST

    44.0KRW

    -1.8%

  • LYM

    1.7KRW

    5.3%

  • RBTC

    8,272,241.4KRW

    0.9%

  • KARMA

    0.2KRW

    19.2%

  • CLB

    2.0KRW

    6.5%

  • NGC

    13.6KRW

    10.6%

  • PTON

    0.1KRW

    -2.0%

  • UBEX

    0.3KRW

    0.3%

  • LKY

    17.9KRW

    --%

  • PXL

    23.7KRW

    -10.7%

  • YEED

    0.2KRW

    2.7%

  • ISR

    3.7KRW

    2.9%

  • CLR

    5.7KRW

    8.4%

  • TEMCO

    0.2KRW

    -0.6%

  • WET

    4.4KRW

    2.4%

  • FREE

    0.0KRW

    8.0%

  • AMON

    0.9KRW

    -0.8%

  • MEETONE

    0.3KRW

    -1.7%

  • ZPR

    0.4KRW

    22.7%

  • XRA

    5.6KRW

    --%

  • ADT

    0.6KRW

    -87.1%

  • QDAO

    6,302.2KRW

    0.9%

  • BBC

    0.8KRW

    8.3%

  • NEWS

    1.5KRW

    15.0%

  • WIKEN

    0.9KRW

    -10.3%

  • NPER

    3.6KRW

    --%

  • IQ

    48.8KRW

    1.9%

  • HORUS

    0.2KRW

    -37.8%

  • PUB

    0.1KRW

    1.1%

  • SEAL

    0.2KRW

    --%

  • VANTA

    0.1KRW

    -9.6%

  • STAR

    0.5KRW

    -11.7%

  • PUT

    2.0KRW

    3.6%

  • CCH

    0.0KRW

    --%

  • KNT

    0.0KRW

    0.1%

  • DRM

    8.4KRW

    87.0%

  • UOS

    1.1KRW

    59.8%

  • BLACK

    0.3KRW

    1.0%

  • RCD

    3.0KRW

    --%

  • MCC

    3.6KRW

    --%

  • INC

    0.1KRW

    3.5%

  • BZKY

    0.0KRW

    --%

  • CRE

    0.8KRW

    5.5%

Community

ERC-1155: The Final Token Standard on Ethereum

Enjin | 06.18| 220

Exactly one year after its introduction, ERC-1155 has become an official Ethereum token standard and is available to be used by the entire Ethereum development community.

Exactly one year ago on June 17, 2018, I pushed the first version of the ERC-1155 Multi Token Standard to Ethereum’s Github repository and opened an issue for comments and feedback.

Since then, the standard has received an incredible amount of support with more than 50 revisions and 400 comments from the community, who have provided invaluable input and helped shape ERC-1155 into the most powerful Ethereum token standard ever written.

Today, I am proud to share that ERC-1155 has progressed to Final status and has become an official Ethereum token standard.

Now that it has been sealed as “final” by the Ethereum community, there are no more changes to be made to ERC-1155. It is the new accepted standard for minting fungible and non-fungible assets, and the development community can start building applications that integrate ERC-1155 assets with full confidence that the current standard is future-proof.

ERC-1155 is here to stay.

ERC-1155 Multi Token Standard

Ethereum Improvement Proposals

A few years ago, the Ethereum community agreed on a process for introducing new improvement proposals to the Ethereum ecosystem. An issue is raised by a community member on the Ethereum GitHub page and describes a new feature, process, or standard that benefits the blockchain and its surrounding neighborhood.

At Enjin, we had been building something that we called the “Monolithic Token Contract” internally since 2017. We realized that the existing ERC-20 and ERC-721 token standards were not flexible enough for the kinds of game items we envisioned.

Eventually, we realized that this structure had some incredible benefits and use cases for both gaming and other industries, and if we wanted these new tokens to become a reality, we had to standardize it.

Creating a standard meant that the larger Ethereum community would begin to support this new kind of token, and it would pave the way for quicker adoption in wallets, exchanges, games, and new projects using tokenized blockchain assets.

ERC-1155 enables an infinite number of both fungible and non-fungible tokens in a single smart contract.

One Smart Contract, Many Tokens

While ERC-20 and ERC-721 tokens required a new smart contract deployed for each new “class” of token, the core concept behind ERC-1155 is that a single smart contract can govern an infinite number of tokens.

Think of this like a vending machine that holds a wide variety of soda, juices, and even snacks. A customer interacts with the machine using a single secure interface (inserting a coin, pressing a button), and the machine dispenses the goodies they have selected. In the same way, an ERC-1155 contract made for a game could contain a wide variety of items, from weapons and armor to health potions, magic scrolls, and more.

Each of these items could be “fungible,” having more than one copy available. Fungible tokens are used for divisible currencies (most ERC-20 tokens), and they’re also very useful for stackable items that don’t need to be differentiated, like a bundle of arrows for a bow.

One-of-a-kind tokens are called non-fungible tokens (NFTs). This structure allows every token to have its own unique parameters, history, and mirrors the real world. A pet dragon in a video game could be an NFT and have a unique name of its own, a power level, and a rich history in the game.

Batch Transfers

With ERC-1155, multiple tokens can be sent in a single transaction — offering significant savings on gas costs and preventing the need to wait for each block in single transfers.

Projects using ERC-1155 can also build Atomic Swaps with the same basic design, allowing users to exchange one kind of token for another with absolute security from fraud and no intermediate party involved.

Further Optimizations

Further experimentation by some of the authors has led to even more optimizations and dramatic gas improvements!

The Sandbox developer Ronan Sandford was able to mint more than 1,500 tokens in a block while preserving true ownership with their ERC-1155 implementation.

Horizon Games developer Phillippe Castonguay was able to use a technique called Balance Packing (storing 16 lower-resolution tokens in a single ID) to achieve 80–90% gas savings compared to regular transfers.

Here Be Dragons : Going Beyond ERC-20 and ERC-721 To Reduce Gas Cost by ~80%

Phillippe was also able to achieve a transfer speed of over 155 assets per second with their ERC-1155 tokens!

Data Economy

The main characteristic of the ERC-1155 Multi Token Standard is multiple tokens instantiated in a single smart contract. This means that “creating” a new token type can be as simple as calling a function that adds a new ID to the pool of tokens available.

In comparison, creating a new token type with the ERC-20 and 721 standards means editing code and deploying an entirely new contract to an address on the Ethereum blockchain. Deploying a contract costs an enormous amount of gas (ETH) because data storage is naturally expensive on a blockchain shared by the world. Most ERC-20 contracts are based on the exact same code, with a couple of lines edited, making the rest of the code unnecessary. That means every single one of Ethereum’s 25,000+ nodes becomes cluttered with redundant code that will remain there for eternity!

There’s also the operational overhead of needing to be notified of each new ERC-20 or ERC-721 contract address every time a new token is launched. One hundred new tokens would mean 100 new contracts to watch — for every wallet and every piece of software that must be made aware of the token even existing.

Therefore, while the previous two standards are good for narrow use cases — either a single currency or a single class of NFT — the vast majority of creators will benefit from ERC-1155’s ability to create new tokens on the fly and represent more than a single “type” without the duplication of identical contracts.

Strict Rules Make Tokens Reliable

An incredible feature of the ERC-1155 token standard is made possible by the strict set of rules a token must follow.

ERC-1155 tokens are the first type of token that can execute a deterministic smart contract function by simply sending a token to an address.

This is huge.

By simply sending a token to a DEX exchange address, the exchange could immediately return another token back to the sender’s address. Similarly, a blockchain game could perform a game function as soon as it receives an ERC-1155 token from a user. Tokens could be wrapped, converted, crafted, or escrowed with no need to access ABIs or interact with the smart contract directly.

This type of functionality was initially proposed in ERC-223, but the standard failed to catch on. ERC-721 also implemented “safeTransferFrom” but has the fatal problem of not strictly requiring this for all transfers, meaning that users can permanently lose their tokens and contract authors can’t rely on guaranteed execution when sending a token.

The decision to make this strict in ERC-1155 means that reliable networks of smart contracts and tokens can now begin to build upon this powerful functionality. All the user needs to do is send their token to an address to trigger an awesome chain of events.

Metadata

One of the major updates to the ERC-1155 standard in the last year was the decision to move all metadata about a token to an external JSON file. This was heavily inspired by the ERC-721 Metadata Extension, but we added some improvements.

No More Legacy Metadata

Symbol: (found in the ERC-20 and ERC-721 standards) was not included as this wasn’t a relevant piece of data for virtual items/assets. These 3-letter symbols are normally only used in tickers and for currency trading, but they aren’t as useful when you are tokenizing more general items.

Name: was also removed from the core standard. Why? In many use-cases, storing a name on the blockchain would be overkill. Instead, each token’s name can now be defined in the JSON Metadata Standard.

ID Substitution

By using the substitution string “{id},” an ERC-1155 contract can now point to an infinite number of token URIs without storing any additional data on-chain. This can even be used to point to a web service that hosts dynamically generated token JSON for each token in a database. The {id} string can also be used inside the JSON itself to automatically link to imagery for each token. This significantly reduces the overhead that’s required for developers to display metadata for large collections of tokens.

Localization

Since token information is defined in JSON format, localization is now possible for multiple languages using {locale}. Wallets and software that supports multiple languages can display alternate versions of token names, images, and any other data.

Guaranteed Log Trace

As the Ethereum ecosystem continues to grow, many dapps are relying on traditional databases and explorer API services to retrieve and categorize data. The ERC-1155 standard guarantees that event logs emitted by the smart contract will provide enough data to create an accurate record of all current token balances. A database or explorer may listen to events and be able to provide indexed and categorized searches of every ERC-1155 token in the contract.

Smart contracts no longer need to maintain indexes of every token ID, and IDs don’t need to be sequential in any way.

This is a radical departure from enumeration (the ability to browse through all tokens on-chain), but it brings a significant benefit in efficiency and even allows for an entire standardized record of every token mint, burn, and transfer. This has not been possible in a standardized way until today and will permit cool ecosystem benefits like deep data analytics on tokens and rich token explorers.

Imagine being able to rewind and fast-forward through time and analyze usage patterns and life cycles of completely different ERC-1155 tokens, regardless of which smart contract is being analyzed.

Token owners will be able to learn more about their assets, such as exactly when their particular token was minted, and in the future, tools may be developed which would provide useful insights for companies building on this technology.

Conclusion

The ERC-1155 standard is the culmination of a year of hard work by the blockchain community. If you are planning on implementing ERC-1155, you can view the entire standard, as well as the rationale behind each decision here.

ERC-1155 Multi Token Standard

You can also visit the original issue thread to see the discussion history:

ERC: Multi Token Standard · Issue #1155 · ethereum/EIPs

To create an ERC-1155 token contract of your own, Enjin’s official reference implementation is open-source on GitHub:

enjin/erc-1155

You can use this code as a starting point for your own smart contract. You might also consider using the Enjin Platform, the most feature-rich set of blockchain development tools for developers and non-developers alike.

The Creators

The following authors were involved in making ERC-1155 a reality:

  • Witek Radomski
  • Andrew Cooke
  • Eric Binet
  • James Therien
  • Philippe Castonguay
  • Ronan Sandford

These amazing people each made significant contributions and improvements to the Multi Token Standard EIP specification, and my genuine appreciation goes out to each author for their help and dedication to making ERC-1155 more powerful and future-proof than we ever thought possible.

Finally, we’d all like to extend our gratitude to the amazing Ethereum community and thank everyone who participated with their feedback to finalize the new ERC-1155 Multi Token Standard!


ERC-1155: The Final Token Standard on Ethereum was originally published in Enjin on Medium, where people are continuing the conversation by highlighting and responding to this story.

Comment 0

delete

Are you sure you want to delete this post?