8000 GitHub - monar24/sol-cpi-example: Basic Example of Cross Program Invocation on Solana
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

monar24/sol-cpi-example

Repository files navigation

sol-cpi-example

  • Cross Program Invocation to System Program to transfer coins
  • Cross Program Invocation from Program A to B to call additional functionality
  • Make sure to update programB as a dependency in program A cargo.toml, with features = ["cpi"]
  • CpiContext::new_with_signer is the equivalent of the System Program's Invoke_signed

About

Basic Example of Cross Program Invocation on Solana

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0