diff --git a/README.md b/README.md index 9265b45..3d7691d 100644 --- a/README.md +++ b/README.md @@ -1,66 +1,7 @@ -## Foundry +## SPL20 -**Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.** +**Solana tokens are different than Ethereum tokens** -Foundry consists of: +ERC20 consists of an interface standard meant for anyone to use. Due to the way the Solana account model is setup, there are more benefits to having a single Token smart contract on Solana. This repository consists of an example of what SPL-Token on Solana is written in Solidity -- **Forge**: Ethereum testing framework (like Truffle, Hardhat and DappTools). -- **Cast**: Swiss army knife for interacting with EVM smart contracts, sending transactions and getting chain data. -- **Anvil**: Local Ethereum node, akin to Ganache, Hardhat Network. -- **Chisel**: Fast, utilitarian, and verbose solidity REPL. - -## Documentation - -https://book.getfoundry.sh/ - -## Usage - -### Build - -```shell -$ forge build -``` - -### Test - -```shell -$ forge test -``` - -### Format - -```shell -$ forge fmt -``` - -### Gas Snapshots - -```shell -$ forge snapshot -``` - -### Anvil - -```shell -$ anvil -``` - -### Deploy - -```shell -$ forge script script/Counter.s.sol:CounterScript --rpc-url --private-key -``` - -### Cast - -```shell -$ cast -``` - -### Help - -```shell -$ forge --help -$ anvil --help -$ cast --help -``` +*Note:* This contract is obviously not audited and written in a short timespan. The gas usage on it is likely inefficient.