mirror of
https://github.com/fluencelabs/examples
synced 2025-04-25 02:32:16 +00:00
Add testnet option to demo.ts
This commit is contained in:
parent
41733278ac
commit
0f454e146c
@ -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";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user