An open API service indexing awesome lists of open source software.

https://github.com/primitivefinance/template_v2


https://github.com/primitivefinance/template_v2

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# arbiter-template

Minimal template for simulating contracts with arbiter.

## Usage

1. Clone this repository

```
git clone https://github.com/primitivefinance/arbiter-template.git
cd arbiter-template
```

2. Install foundry

```
curl -L https://foundry.paradigm.xyz | bash
foundryup
```

3. Install forge libraries

```
forge install
```

4. Generate bindings

```
forge bind --revert-strings debug -b src/bindings/ --module --overwrite
```

5. Run the project

```
cargo run
```