You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A native Rust implementation of the Lit Protocol SDK, providing programmatic access to the Lit Network for distributed key management, conditional access control, and programmable signing.
4
7
5
8
Currently in Beta and only supports Datil, DatilDev, and DatilTest networks.
@@ -560,6 +563,30 @@ Common issues and solutions:
560
563
-**"Invalid signature"**: Verify PKP public key format (should include 0x prefix)
561
564
-**"Rate limit exceeded"**: Ensure Rate Limit NFT has sufficient capacity
562
565
566
+
## CI/Development
567
+
568
+
The repository includes comprehensive GitHub Actions workflows for testing and validation:
569
+
570
+
### CI Pipeline
571
+
572
+
-**Basic CI** (`ci.yml`): Runs on every push/PR with formatting, clippy, unit tests, and all integration tests
573
+
-**Documentation** (`docs.yml`): Validates README files and builds documentation
574
+
-**Release Tests** (`release.yml`): Full test suite that can be run manually for release testing
575
+
576
+
### Required GitHub Secrets
577
+
578
+
For CI to work properly, the following secrets must be configured in the repository:
579
+
580
+
```bash
581
+
ETHEREUM_PRIVATE_KEY # Private key for test wallet (should have test ETH)
582
+
PKP_PUBLIC_KEY # Existing PKP public key for tests (optional)
583
+
PKP_TOKEN_ID # Existing PKP token ID for tests (optional)
584
+
PKP_ETH_ADDRESS # Existing PKP Ethereum address for tests (optional)
585
+
ETHEREUM_RPC_URL # RPC URL for Ethereum/L2 network interactions
586
+
```
587
+
588
+
**Note**: The CI will work with just `ETHEREUM_PRIVATE_KEY` and `ETHEREUM_RPC_URL` for basic tests. PKP-related secrets are only needed for advanced tests.
589
+
563
590
## Contributing
564
591
565
592
Contributions are welcome! Please ensure all tests pass before submitting a PR:
@@ -570,6 +597,19 @@ cargo fmt
570
597
cargo clippy
571
598
```
572
599
600
+
### Running Tests Locally
601
+
602
+
```bash
603
+
# Run all tests (requires environment variables)
604
+
cargo test -- --nocapture
605
+
606
+
# Run only local session signature tests (simpler setup)
607
+
cargo test local_session_sigs -- --nocapture
608
+
609
+
# Run specific test
610
+
cargo test test_connect_to_lit_network -- --nocapture
0 commit comments