Skip to content

Commit

Permalink
Fix #221
Browse files Browse the repository at this point in the history
  • Loading branch information
zhfnjust committed Nov 20, 2023
1 parent 58665b8 commit 9500a69
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docs/tokens/ft/ft.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ const sym = toByteString('sCrypt', true)
const max = 10000n // Whole token amount.
const dec = 0n // Decimal precision.

// Since we cannot know the id of the token deployment transaction at the time of deployment, the id is empty.
hashLock = new HashLockFTV2(
toByteString(''),
sym,
Expand All @@ -177,11 +178,6 @@ console.log('token id: ', tokenId)
```



:::note
Since we cannot know the id of the token deployment transaction at the time of deployment, the id is empty.
:::

The whole token supply is minted within the first transaction, and whoever can unlock the deployment UTXO will gain full control of the whole supply. Additionally, the smart contract itself can enforce rules for the distribution of the tokens.

### Transfer
Expand Down

0 comments on commit 9500a69

Please sign in to comment.