~dcrck/solana

fcae69ce9129fe9c34d82f7209fa2cce8719586a — dcrck 3 months ago 6233125
add BPF Loader program ID to Solana module
1 files changed, 6 insertions(+), 0 deletions(-)

M lib/solana.ex
M lib/solana.ex => lib/solana.ex +6 -0
@@ 53,6 53,12 @@ defmodule Solana do
  """
  def recent_blockhashes(), do: pubkey!("SysvarRecentB1ockHashes11111111111111111111")

  @doc """
  The public key for the [BPF Loader
  program](https://docs.solana.com/developing/runtime-facilities/programs#bpf-loader)
  """
  def bpf_loader(), do: pubkey!("BPFLoaderUpgradeab1e11111111111111111111111")

  @doc false
  def lamports_per_sol(), do: 1_000_000_000
end