mirror of
https://github.com/fluencelabs/examples
synced 2025-06-22 22:31:32 +00:00
Add testnet option to demo.ts
This commit is contained in:
@ -92,6 +92,9 @@ if (args.length >= 1 && args[0] == "testnet") {
|
|||||||
} else if (args[0] == "krasnodar") {
|
} else if (args[0] == "krasnodar") {
|
||||||
environment = krasnodar;
|
environment = krasnodar;
|
||||||
console.log("📘 Will connect to krasnodar");
|
console.log("📘 Will connect to krasnodar");
|
||||||
|
} else if (args[0] == "testnet") {
|
||||||
|
environment = testNet;
|
||||||
|
console.log("📘 Will connect to testNet");
|
||||||
} else {
|
} else {
|
||||||
throw "Specify environment";
|
throw "Specify environment";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user