Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aviate-labs/ext.std
Extendable Token Standard
https://github.com/aviate-labs/ext.std
Last synced: 3 months ago
JSON representation
Extendable Token Standard
- Host: GitHub
- URL: https://github.com/aviate-labs/ext.std
- Owner: aviate-labs
- License: apache-2.0
- Created: 2021-09-27T12:12:02.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-23T07:02:51.000Z (over 2 years ago)
- Last Synced: 2024-04-19T01:32:36.991Z (7 months ago)
- Language: Motoko
- Homepage:
- Size: 45.9 KB
- Stars: 12
- Watchers: 1
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-motoko - extendable token standard - Extendable Token Standard. (Applications / Cryptocurrencies)
README
# Extendable Token Standard
| **Table of Contents**
- [Usage](#usage)
- [Vessel](#vessel)
- [Interfaces](#interfaces)## 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`](./examples) directories.
#### Type Checking
```shell
$(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.
```motoko
import Ext "mo:std/EXT/Ext";
import Interface "mo:std/EXT/Interface";shared({caller = owner}) actor class Token() : async Interface.FungibleToken = {
// ...
};
```### References
- [Toniq Labs' EXT Standard](https://github.com/Toniq-Labs/extendable-token)