├── .github └── workflows │ ├── build.yml │ ├── docs.yml │ ├── lint.yml │ └── release.yml ├── .gitignore ├── .yarnrc.yml ├── CHANGELOG.md ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── README.md ├── docs ├── .gitignore ├── .vuepress │ ├── config.js │ └── public │ │ └── favicon.ico ├── README.md └── tutorial │ └── README.md ├── jest.config.ts ├── logo.png ├── npm ├── darwin-arm64 │ ├── README.md │ └── package.json ├── darwin-universal │ ├── README.md │ └── package.json ├── darwin-x64 │ ├── README.md │ └── package.json ├── linux-x64-gnu │ ├── README.md │ └── package.json └── linux-x64-musl │ ├── README.md │ └── package.json ├── package.json ├── rome.json ├── rust-toolchain.toml ├── rustfmt.toml ├── solana-bankrun ├── index.ts ├── internal.d.ts └── internal.js ├── src └── lib.rs ├── tests ├── anchor-example │ ├── .gitignore │ ├── Anchor.toml │ ├── anchor.test.ts │ └── target │ │ └── deploy │ │ ├── puppet.so │ │ └── puppet_master.so ├── clock-example │ ├── Cargo.toml │ ├── clock.test.ts │ └── src │ │ └── lib.rs ├── copyAccounts.test.ts ├── fixtures │ ├── bankrun_clock_example.so │ ├── helloworld.so │ └── spl_example_logging.so ├── main.test.ts ├── oneTransfer.test.ts ├── splLogging.test.ts ├── sysvar.test.ts ├── tsconfig.json ├── usdcMint.test.ts └── util.ts ├── tsconfig.json ├── typedoc.config.cjs └── yarn.lock /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/.github/workflows/docs.yml -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/.gitignore -------------------------------------------------------------------------------- /.yarnrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/.yarnrc.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/README.md -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/docs/.gitignore -------------------------------------------------------------------------------- /docs/.vuepress/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/docs/.vuepress/config.js -------------------------------------------------------------------------------- /docs/.vuepress/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/docs/.vuepress/public/favicon.ico -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- 1 | --- 2 | next: /tutorial/ 3 | title: Introduction 4 | --- 5 | !!!include(./README.md)!!! 6 | -------------------------------------------------------------------------------- /docs/tutorial/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/docs/tutorial/README.md -------------------------------------------------------------------------------- /jest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/jest.config.ts -------------------------------------------------------------------------------- /logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/logo.png -------------------------------------------------------------------------------- /npm/darwin-arm64/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/npm/darwin-arm64/README.md -------------------------------------------------------------------------------- /npm/darwin-arm64/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/npm/darwin-arm64/package.json -------------------------------------------------------------------------------- /npm/darwin-universal/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/npm/darwin-universal/README.md -------------------------------------------------------------------------------- /npm/darwin-universal/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/npm/darwin-universal/package.json -------------------------------------------------------------------------------- /npm/darwin-x64/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/npm/darwin-x64/README.md -------------------------------------------------------------------------------- /npm/darwin-x64/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/npm/darwin-x64/package.json -------------------------------------------------------------------------------- /npm/linux-x64-gnu/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/npm/linux-x64-gnu/README.md -------------------------------------------------------------------------------- /npm/linux-x64-gnu/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/npm/linux-x64-gnu/package.json -------------------------------------------------------------------------------- /npm/linux-x64-musl/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/npm/linux-x64-musl/README.md -------------------------------------------------------------------------------- /npm/linux-x64-musl/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/npm/linux-x64-musl/package.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/package.json -------------------------------------------------------------------------------- /rome.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/rome.json -------------------------------------------------------------------------------- /rust-toolchain.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/rust-toolchain.toml -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- 1 | tab_spaces = 4 2 | edition = "2021" 3 | -------------------------------------------------------------------------------- /solana-bankrun/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/solana-bankrun/index.ts -------------------------------------------------------------------------------- /solana-bankrun/internal.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/solana-bankrun/internal.d.ts -------------------------------------------------------------------------------- /solana-bankrun/internal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/solana-bankrun/internal.js -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/src/lib.rs -------------------------------------------------------------------------------- /tests/anchor-example/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/tests/anchor-example/.gitignore -------------------------------------------------------------------------------- /tests/anchor-example/Anchor.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/tests/anchor-example/Anchor.toml -------------------------------------------------------------------------------- /tests/anchor-example/anchor.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/tests/anchor-example/anchor.test.ts -------------------------------------------------------------------------------- /tests/anchor-example/target/deploy/puppet.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/tests/anchor-example/target/deploy/puppet.so -------------------------------------------------------------------------------- /tests/anchor-example/target/deploy/puppet_master.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/tests/anchor-example/target/deploy/puppet_master.so -------------------------------------------------------------------------------- /tests/clock-example/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/tests/clock-example/Cargo.toml -------------------------------------------------------------------------------- /tests/clock-example/clock.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/tests/clock-example/clock.test.ts -------------------------------------------------------------------------------- /tests/clock-example/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/tests/clock-example/src/lib.rs -------------------------------------------------------------------------------- /tests/copyAccounts.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/tests/copyAccounts.test.ts -------------------------------------------------------------------------------- /tests/fixtures/bankrun_clock_example.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/tests/fixtures/bankrun_clock_example.so -------------------------------------------------------------------------------- /tests/fixtures/helloworld.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/tests/fixtures/helloworld.so -------------------------------------------------------------------------------- /tests/fixtures/spl_example_logging.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/tests/fixtures/spl_example_logging.so -------------------------------------------------------------------------------- /tests/main.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/tests/main.test.ts -------------------------------------------------------------------------------- /tests/oneTransfer.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/tests/oneTransfer.test.ts -------------------------------------------------------------------------------- /tests/splLogging.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/tests/splLogging.test.ts -------------------------------------------------------------------------------- /tests/sysvar.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/tests/sysvar.test.ts -------------------------------------------------------------------------------- /tests/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/tests/tsconfig.json -------------------------------------------------------------------------------- /tests/usdcMint.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/tests/usdcMint.test.ts -------------------------------------------------------------------------------- /tests/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/tests/util.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/tsconfig.json -------------------------------------------------------------------------------- /typedoc.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/typedoc.config.cjs -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinheavey/solana-bankrun/HEAD/yarn.lock --------------------------------------------------------------------------------