https://github.com/primitivefinance/template_v2
https://github.com/primitivefinance/template_v2
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/primitivefinance/template_v2
- Owner: primitivefinance
- Created: 2023-11-01T16:47:57.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-03T03:28:50.000Z (over 2 years ago)
- Last Synced: 2025-01-21T17:12:50.824Z (over 1 year ago)
- Language: Rust
- Size: 146 KB
- Stars: 0
- Watchers: 5
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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
```