15 lines
852 B
Markdown
15 lines
852 B
Markdown
# Usage
|
|
|
|
Because it is a ERC20 token you can use it with any wallet that support the standard, like MetaMask, Rabby, and a lot more...
|
|
|
|
You can send all the function via foundry-rs'`cast` command, via a blockchain explorer or anything that can communicate with a EVM compatible RPC.
|
|
|
|
## Mint it
|
|
|
|
You can call the function `mint(uint256)` and giving it a number of token (in *10^decimals). And then you will be credited with the corresponding tokens.
|
|
|
|
## To use it
|
|
|
|
You can make transfer it and check your balance via any wallet ERC20 compatible. You can also send an `approve(address _spender, uint _value)` to approve another address to send on your behalf, so they can use `transferFrom(address _from, address _to, uint256 _value)` to make transfer from your address. \
|
|
You can also check if transfer or approval occurs via the corresponding events.
|