Skip to content

Commit

Permalink
feat(custom-tokens.mdx): remove duplicate copy
Browse files Browse the repository at this point in the history
  • Loading branch information
ymekuria committed Jul 12, 2024
1 parent 2ab6d40 commit 645b6ba
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ A token manager smart contract sets the rules around minting, burning, and sendi

## TokenContract class

Use the `TokenContract` class to perform common token operations, such as minting, burning, and sending tokens. In o1js, the `TokenContract` class is your blueprint for custom token implementations. If you want to create a fungible token you can use the [fungible token standard](https://github.com/MinaFoundation/mina-fungible-token/blob/main/documentation/SUMMARY.md) standard which is built on top of the
`TokenContract` class .
Use the `TokenContract` class to perform common token operations, such as minting, burning, and sending tokens. In o1js, the `TokenContract` class is your blueprint for custom token implementations. If you want to create a fungible token you can use the
[fungible token standard](https://github.com/MinaFoundation/mina-fungible-token/blob/main/documentation/SUMMARY.md) which is built on top of the `TokenContract` class.


As shown in this [example code](https://github.com/o1-labs/o1js/blob/main/src/lib/mina/token/token-contract.unit-test.ts#L13), you inherit from the `TokenContract` class:

Expand Down

0 comments on commit 645b6ba

Please sign in to comment.