Skip to content

Commit

Permalink
Subcurrency Explanation (#1114)
Browse files Browse the repository at this point in the history
Added a small explanation for subcurrency.
  • Loading branch information
SilentCicero authored Mar 30, 2022
1 parent 9599aba commit eb4ce8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/src/examples/subcurrency.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Subcurrency

The following is a simple example of a subcurrency which implements a `mint` and `send` function for a token. This example does not use Fuel's native asset system (see: [Native Assets](../blockchain-development/native_assets.md)).

```sway
{{#include ../../../examples/subcurrency/src/main.sw:body}}
```

0 comments on commit eb4ce8b

Please sign in to comment.