Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 792 Bytes

README.md

File metadata and controls

39 lines (25 loc) · 792 Bytes

Extendable Token Standard

| Table of Contents

Usage

Vessel

  1. Run vessel init to create the config files.
  2. Import this package.

You can find an example configurations in one of the example directories.

Type Checking

$(dfx cache show)/moc $(vessel sources) -r MyToken.mo

Interfaces

You can use the predefined interfaces to check whether you have implemented al the required methods.

import Ext "mo:std/EXT/Ext";
import Interface "mo:std/EXT/Interface";

shared({caller = owner}) actor class Token() : async Interface.FungibleToken = {
    // ...
};

References