Closed ra0x3 closed 10 months ago
This is a great first issue. 👌🏽
To a would be contributor: I actually implemented this functionality in the past, but that branch is loooooooong out of date. Feel free to use this updated snippet as a clue for your work:
lazy_static! {
pub static ref AVAILABLE_NETWORKS: HashMap<&'static str, &'static str> =
HashMap::from([
("Local Node", "127.0.0.1:4000"),
("Beta-4", "beta-4.fuel.network:80"),
]);
}
--fuel-node-host beta-4.fuel.network
and--fuel-node-port 80
can be a bit much--network
option that will automagically imply--fuel-node-host beta-4.fuel.network
and--fuel-node-port 90
fuel-indexer --run-migrations --network beta-4
Additional context
--network beta-4