A command-line tool for discovery of the origin timestamp for any Solana program deployed to the blockchain.
solc is a simple tool that can be used to verify the authenticity of a Solana program by checking the timestamp of its deployment on the ledger. This is useful for verifying the origin of a program, especially when the program is not open-source or when the program is not deployed by the original author.
Currently, the tool is available only through this repository.
You can clone the repository and build the tool using the Rust toolchain.
If you don't have Rust installed, you can install it using rustup. You can find the installation instructions here.
$ git clone BHawleyWall/solception
$ cd solception
$ cargo build --releaseYou can also build the tool using Docker. The Dockerfile is included in the repository.
$ git clone BHawleyWall/solception
$ cd solception
$ docker build -t solc .This tool requires the program ID of the Solana program to be verified. The program ID is a base 58 address for the Program Data Account on the blockchain.
$ ./target/release/solc --help$ docker run solc --helpThe tool uses the Solana RPC API to query the ledger for the timestamp of the program deployment transaction. The program ID is used to query the transaction history of the account and retrieve the timestamp of the first transaction that deployed via the BPF Loader for that account.
These transaction queries are pushed in parallel to the Solana RPC API to speed up the process. The tool uses the rayon crate to power the concurrency from a synchronous context. This bottlenecks the performance directly on the throttling employed by the target RPC node. Using a private, full-history node with no rate limits is recommended for best performance.
This project is licensed under the GNU General Public License - see the LICENSE file for details.
Currently, the project is in its early stages and is not accepting contributions. However, feel free to open an issue if you have any suggestions or feedback.