MCPcopy Create free account
hub / github.com/solana-program/system / createTestClient

Function createTestClient

clients/js/test/_setup.ts:21–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19} from '../src';
20
21export const createTestClient = () => {
22 return createClient()
23 .use(generatedSigner())
24 .use(litesvm())
25 .use(systemProgram())
26 .use(airdropSigner(lamports(1_000_000_000n)));
27};
28
29export const getCreateNonceInstructionPlan = async (
30 client: ClientWithPayer & ClientWithRpc<GetMinimumBalanceForRentExemptionApi>,

Calls 1

systemProgramFunction · 0.90

Tested by

no test coverage detected