Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobcreech authored Jan 17, 2025
1 parent e205fbb commit 4ae6fa2
Showing 1 changed file with 4 additions and 63 deletions.
67 changes: 4 additions & 63 deletions README.md
Original file line number Diff line number Diff line change
@@ -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 <your_rpc_url> --private-key <your_private_key>
```

### Cast

```shell
$ cast <subcommand>
```

### 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.

0 comments on commit 4ae6fa2

Please sign in to comment.