Commit f694280
Add Avnu paymaster and VRF integration (#399)
Depends on #417
Adds sidecar integration for `paymaster-service` and `vrf-server`, including CLI/config flags, bootstrap, VRF wrapping in cartridge outside execution, and paymaster profile generation with Avnu pricing. Removes custom katana paymaster/VRF crates, updates Docker to install sidecar binaries from `.tool-versions`, refreshes spec, trims the release workflow, derives a u64 VRF secret from the configured account key for `vrf-server` compatibility, and fixes paymaster/VRF CLI arg ids/defaults to avoid startup crashes. Adds unit tests for sidecar helpers and VRF seed/parsing to improve coverage. Tests: `cargo check -p katana-node --features cartridge`, `cargo test -p katana-node --features cartridge`, `cargo test -p katana-rpc-server --features cartridge --lib`, `cargo test -p katana-rpc-server --features cartridge --test paymaster_proxy`, `cargo test -p katana-cli --features cartridge`.
**Paymaster service**:
https://github.com/avnu-labs/paymaster/tree/main/crates/paymaster-service
**VRF Service**: https://github.com/cartridge-gg/vrf/tree/main/server
---------
Co-authored-by: Ammar Arif <kariy@users.noreply.github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Ammar Arif <evergreenkary@gmail.com>1 parent 9c32a1c commit f694280
File tree
69 files changed
+4711
-3096
lines changed- .github/workflows
- crates
- cartridge
- src
- vrf
- chain-spec/src/rollup
- cli
- src
- contracts
- contracts
- vrf
- .github/workflows
- src
- macro/src
- src
- controller
- classes
- src
- genesis/src
- node
- src
- config
- paymaster
- src
- primitives/src
- utils
- rpc
- rpc-api
- src
- rpc-server
- src
- cartridge
- starknet
- tests
- rpc-types/src
- runner/src
- tracing/src
- tests/db-compat/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
69 files changed
+4711
-3096
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
| 211 | + | |
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
| 217 | + | |
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | 15 | | |
19 | 16 | | |
20 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
0 commit comments