Enoki Docs
  • What is Enoki?
  • Update
  • Fundamentals
    • Why do we need sharding?
    • What is a sharded token?
  • Smart Contracts
    • Enoki Token Standard
    • Enoki Exchange
    • Market Maker Bot
  • Resources
    • Reach out
Powered by GitBook
On this page
  • Current Standards
  • Shards
  1. Fundamentals

What is a sharded token?

PreviousWhy do we need sharding?NextEnoki Token Standard

Last updated 2 years ago

Current Standards

Current token standards like has all user balances on a single canister (with a possible scaling solution for data storage). All transactions have to go through one canister in a synchronous fashion. While this keeps the model simple, it also limits the scalability of the token to the throughput capacity of a single subnet in the Internet Computer.

Shards

A solution to this scalability problem is to split user accounts into separate shards. To send a transaction, a user sends a transaction to their shard, which then communicates with the recipient's shard to update balances. While this requires 1-3 canister calls per transaction, it allows multiple transactions to be processed asynchronously in parallel.

You can read more about this horizontal sharding .

DIP-20
here