Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/check-shell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ jobs:
- run: nix develop --command yq --version
- run: nix develop --command gh --version
- run: nix develop --command default-shell-test
- run: nix develop .#sol-shell --command nix run .#sol-shell-test
- run: nix develop .#tauri-shell --command tauri-shellhook-test
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ jobs:
# before trying to save a new cache
# 1G = 1073741824
gc-max-store-size-linux: 1G
- run: nix run ../..#rainix-sol-prelude
- run: nix run ../..#rainix-rs-prelude
- run: nix develop ../.. --command forge soldeer install
- name: Run ${{ matrix.task }}
env:
ETH_RPC_URL: ${{ secrets.CI_DEPLOY_SEPOLIA_RPC_URL || vars.CI_DEPLOY_SEPOLIA_RPC_URL }}
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,27 @@ Add Rainix as a flake input:
Requires Nix with flakes enabled.

```sh
nix develop # default shell (Solidity + Rust + Node + subgraph tools)
nix develop # default shell (Solidity + Rust + Node + subgraph tools)
nix develop .#sol-shell # slim Solidity-only shell — no rust, node, chromium, subgraph
nix develop .#tauri-shell # Tauri desktop app development
```

The default shell auto-sources `.env` if present and runs
`npm ci --ignore-scripts` if `package.json` exists.
`npm ci --ignore-scripts` if `package.json` exists. `sol-shell` skips both.

### Build Tasks

All tasks are Nix packages run via `nix run`. From a consuming repo:

#### Solidity

- `nix run ..#rainix-sol-prelude` — forge install + build
- `nix run ..#rainix-sol-test` — forge test
- `nix run ..#rainix-sol-static` — slither + forge fmt check
- `nix run ..#rainix-sol-legal` — REUSE/DCL-1.0 license compliance
- `nix run ..#rainix-sol-artifacts` — deploy to testnet

#### Rust

- `nix run ..#rainix-rs-prelude` — environment prep (currently no-op)
- `nix run ..#rainix-rs-test` — cargo test
- `nix run ..#rainix-rs-static` — cargo fmt + clippy
- `nix run ..#rainix-rs-artifacts` — cargo build --release
Expand All @@ -64,7 +63,7 @@ Downstream flakes can compose their own tasks and shells using:
- Solidity: solc 0.8.25
- Foundry: via foundry.nix
- Graph CLI: 0.69.2
- Goldsky CLI: 8.6.6
- Goldsky CLI: 13.3.4

## License

Expand Down
62 changes: 0 additions & 62 deletions audit/2026-03-12-01/pass0/process.md

This file was deleted.

21 changes: 0 additions & 21 deletions audit/2026-03-12-01/pass1/Counter.md

This file was deleted.

20 changes: 0 additions & 20 deletions audit/2026-03-12-01/pass1/Counter.t.md

This file was deleted.

19 changes: 0 additions & 19 deletions audit/2026-03-12-01/pass1/Deploy.md

This file was deleted.

64 changes: 0 additions & 64 deletions audit/2026-03-12-01/pass1/flake.md

This file was deleted.

17 changes: 0 additions & 17 deletions audit/2026-03-12-01/pass1/main.md

This file was deleted.

25 changes: 0 additions & 25 deletions audit/2026-03-12-01/pass1/shellhook.test.md

This file was deleted.

37 changes: 0 additions & 37 deletions audit/2026-03-12-01/pass2/Counter.md

This file was deleted.

20 changes: 0 additions & 20 deletions audit/2026-03-12-01/pass2/Deploy.md

This file was deleted.

36 changes: 0 additions & 36 deletions audit/2026-03-12-01/pass2/flake.md

This file was deleted.

Loading
Loading