Function near_sdk_sim::init_simulator[][src]

pub fn init_simulator(genesis_config: Option<GenesisConfig>) -> UserAccount

The simulator takes an optional GenesisConfig, which sets up the fees and other settings. It returns the master_account which can then create accounts and deploy contracts.