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 command-line interface for managing Yellowstone Shield access control policies on Solana. This tool enables you to create permission-based policies that control access for validators, wallets, and programs.
4
+
3
5
## Overview
4
6
5
7
The Yellowstone Shield CLI is a command-line tool for managing access policies for Solana identities, such as validators, wallets, or programs. It allows users to create and manage policies, add, update and remove identites, and configure various settings related to the policy.
6
8
7
9
## Installation
8
10
9
-
To install the CLI, ensure you have Rust and Cargo installed on your system. Then, clone the repository and build the project:
11
+
### Prerequisites
12
+
- Rust and Cargo (latest stable version)
13
+
- Solana CLI tools configured with a valid RPC endpoint
1.**Batch Operations**: When adding/removing many identities, use files to batch operations
239
+
2.**Backup Mint Addresses**: Save policy mint addresses for future reference
240
+
3.**Metadata URIs**: Host policy metadata on IPFS or Arweave for permanence
241
+
4.**Access Strategy**: Choose between Allow (whitelist) and Deny (blocklist) based on your security model
242
+
5.**Regular Audits**: Use `policy show` to regularly audit access lists
94
243
95
-
The CLI uses the Solana CLI configuration file to manage RPC endpoints and keypair paths. You can override these settings using the command-line options provided.
244
+
## Troubleshooting
96
245
97
-
##Contributing
246
+
### Common Issues
98
247
99
-
Contributions are welcome! Please fork the repository and submit a pull request with your changes.
248
+
1.**Insufficient SOL**: Ensure your wallet has enough SOL for transaction fees
249
+
2.**RPC Errors**: Try using a different RPC endpoint with `-r` flag
250
+
3.**Large Identity Lists**: Files are processed in batches of 20 to avoid transaction size limits
251
+
4.**Permission Errors**: Only the policy owner can modify identities
100
252
101
253
## License
102
254
103
-
This project is licensed under the MIT License. See the [LICENSE](../LICENSE) file for details.
255
+
This project is licensed under the AGPL-3.0 License. See the [LICENSE](../LICENSE) file for details.
104
256
105
-
## Contact
257
+
## Support
106
258
107
-
For questions or support, please open an issue on github.
0 commit comments