Skip to content

Commit

Permalink
Use previous erc20 changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
vdrg committed Oct 22, 2024
1 parent 9d3f8a0 commit 4b9899b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .changeset/giant-birds-argue.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ The new ERC20 World Module provides a simpler alternative to the ERC20 Puppet Mo
To install this module, you can import and define the module configuration from the NPM package:

```typescript
import { defineERC20Config } from "@latticexyz/world-module-erc20";
import { defineERC20Module } from "@latticexyz/world-module-erc20/internal";

// Add the output of this function to your World's modules
const config = defineERC20Config({ namespace: "erc20Namespace", name: "MyToken", symbol: "MTK" });
const moduleDefinition = defineERC20Module({ namespace: "erc20Namespace", name: "MyToken", symbol: "MTK" });
```

For detailed installation instructions, please check out the [`@latticexyz/world-module-erc20` README.md](https://github.com/latticexyz/mud/blob/main/packages/world-module-erc20/README.md).
7 changes: 0 additions & 7 deletions .changeset/gold-moles-punch.md

This file was deleted.

0 comments on commit 4b9899b

Please sign in to comment.