Is it possible to search solana address which meets all the following conditions?
None of these are possible with the normal JSON RPC calls provided by a Solana node, but you have two options that you can develop.
solana-ledger-tool
to get accounts based on address start and end. Currently it just prints out all the accounts by running solana-ledger-tool accounts -l my-ledger
, but you could put in a PR to add some filters for the start and end letters in base-58 encoding. The source code for it can be found at https://github.com/solana-labs/solana/tree/master/ledger-tool. Note that this requires a validator ledger, which would require you to run your own node.