mirror of
https://github.com/fluencelabs/examples
synced 2025-04-24 18:22:15 +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") {
|
||||
environment = krasnodar;
|
||||
console.log("📘 Will connect to krasnodar");
|
||||
} else if (args[0] == "testnet") {
|
||||
environment = testNet;
|
||||
console.log("📘 Will connect to testNet");
|
||||
} else {
|
||||
throw "Specify environment";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user