We use playnet as our mini solana vm runtime. Since the core of it is bank, the core problem of using it is fill in bank with proper parameters.
- accounts -
HashMap<Pubkey, Account>
orBTreeMap<Pubkey, Account>
, the execution context needed accounts - slot, block_height, genesis_hash, latest_blockhash - current environment parameters
- builtins - All normal bank's builtin should be here too
- feature_set - some feature set
Above are basic context needed for mini bank, if it is not enough, we should consider add more bank context from solana repo.