Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/badger-finance/badger-avatars
https://github.com/badger-finance/badger-avatars
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/badger-finance/badger-avatars
- Owner: Badger-Finance
- Created: 2022-06-21T14:43:41.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-22T18:06:28.000Z (over 1 year ago)
- Last Synced: 2023-03-06T04:22:42.811Z (over 1 year ago)
- Language: Solidity
- Homepage:
- Size: 2.67 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Badger-Avatars
![](./docs/images/badger_logo.png)# Getting Started
## Prerequisites
- [Foundry](https://github.com/gakonst/foundry)
## Installation
Install and update submodules:
```console
forge install
```## Compilation
```
forge build
```## Tests
```
forge test
```- Use a fixed block number (`--fork-block-number` or `vm.createSelectFork("mainnet", xxx)`) to make tests run faster
## Create a new Avatar
- Create a new folder with your Avatar's name under `src/`
- Copy the [template](./src/template/Avatar.sol) into your folder
- Modify the `name()` function and add your Avatar's name
- Add any custom functions add the end of your Avatar's contract
- Dont't forget to add any required tests!