logos-blockchain-testing/examples/doc-snippets/src/dsl_cheat_sheet_wallets.rs
2026-01-26 09:08:00 +01:00

11 lines
343 B
Rust

use testing_framework_core::scenario::{Scenario, ScenarioBuilder};
use testing_framework_workflows::ScenarioBuilderExt;
use crate::SnippetResult;
pub fn wallets_plan() -> SnippetResult<Scenario<()>> {
ScenarioBuilder::topology_with(|t| t.network_star().nodes(1))
.wallets(50) // Seed 50 funded wallet accounts
.build()
}