Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Null Program

The simplest Solana program that does nothing but return an error code from the entrypoint.

Building

solana-verify build

Get hash

solana-verify get-executable-hash target/deploy/null_program.so

Expected hashes:

  • solana-verify get-executable-hash: 8a0ee22e1f1f95f1c0f516e5669940c2c88f0cdc543e8a6d25460125debfcd8f
  • Program binary sha256 digest: 7d1e13e6790cc56a5eac5072db3d09482aa237ef7d1fb25691a9ecd1f2b51818

The discrepancy is due to solana-verify truncating trailing zeroes prior to hashing.

The null_program.so file is included, but you should build and verify it yourself.

About

The simplest Solana program that does nothing but return an error code from the entrypoint

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages