-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Only list available networks (#578)
Signed-off-by: Michiel Mulders <[email protected]>
- Loading branch information
1 parent
b776270
commit 3d15b0c
Showing
5 changed files
with
107 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,72 @@ | ||
{ | ||
"network": "testnet", | ||
"network": "localnet", | ||
"mirrorNodeLocalnet": "http://localhost:5551/api/v1", | ||
"mirrorNodePreviewnet": "https://previewnet.mirrornode.hedera.com/api/v1", | ||
"mirrorNodeTestnet": "https://testnet.mirrornode.hedera.com/api/v1", | ||
"mirrorNodeMainnet": "https://mainnet.mirrornode.hedera.com/api/v1", | ||
"testnetOperatorKey": "", | ||
"testnetOperatorId": "", | ||
"mainnetOperatorKey": "", | ||
"mainnetOperatorId": "", | ||
"previewnetOperatorId": "", | ||
"previewnetOperatorKey": "", | ||
"localnetOperatorKey": "", | ||
"localnetOperatorId": "", | ||
"recording": 0, | ||
"recordingScriptName": "", | ||
"scriptExecution": 0, | ||
"scriptExecutionName": "", | ||
"scriptExecution": 1, | ||
"scriptExecutionName": "account-create-simple", | ||
"accounts": {}, | ||
"tokens": {}, | ||
"topics": {}, | ||
"scripts": { | ||
"script-init": { | ||
"name": "init", | ||
"commands": [] | ||
"script-token": { | ||
"name": "token", | ||
"creation": 1737051452976, | ||
"commands": [ | ||
"account create -a random --args privateKey,privKeyAcc1 --args alias,aliasAcc1 --args accountId,idAcc1", | ||
"account create -a random --args privateKey,privKeyAcc2 --args alias,aliasAcc2 --args accountId,idAcc2", | ||
"account create -a random --args privateKey,privKeyAcc3 --args alias,aliasAcc3 --args accountId,idAcc3", | ||
"token create -n mytoken -s MTK -d 2 -i 1000 --supply-type infinite -a {{privKeyAcc1}} -t {{idAcc2}} -k {{privKeyAcc2}} --args tokenId,tokenId", | ||
"token associate --account-id {{idAcc3}} --token-id {{tokenId}}", | ||
"token transfer -t {{tokenId}} -b 1 --from {{aliasAcc2}} --to {{aliasAcc3}}", | ||
"wait 3", | ||
"account balance --account-id-or-alias {{aliasAcc3}} --token-id {{tokenId}}", | ||
"state view --token-id {{tokenId}}" | ||
], | ||
"args": {} | ||
}, | ||
"script-account-create": { | ||
"name": "account-create", | ||
"creation": 1737051452983, | ||
"commands": [ | ||
"account create -a random -b 10000000 --type ecdsa --args privateKey,privKeyAcc1 --args alias,aliasAcc1 --args accountId,idAcc1", | ||
"wait 5", | ||
"account balance --account-id-or-alias {{idAcc1}} --only-hbar" | ||
], | ||
"args": {} | ||
}, | ||
"script-account-create-simple": { | ||
"name": "account-create-simple", | ||
"creation": 1737051452984, | ||
"commands": [ | ||
"account create -a random -b 10000000 --type ecdsa --args privateKey,privKeyAcc1 --args alias,aliasAcc1 --args accountId,idAcc1", | ||
"wait 5" | ||
], | ||
"args": {} | ||
}, | ||
"script-topic-create": { | ||
"name": "topic-create", | ||
"creation": 1737051452984, | ||
"commands": [ | ||
"account create -a random --args privateKey,privKeyAdmin", | ||
"account create -a random --args privateKey,privKeySubmit", | ||
"topic create --admin-key {{privKeyAdmin}} --submit-key {{privKeySubmit}} --args topicId,topicId" | ||
], | ||
"args": {} | ||
} | ||
}, | ||
"tokens": {}, | ||
"topics": {}, | ||
"testnetOperatorKey": "", | ||
"testnetOperatorId": "", | ||
"mainnetOperatorKey": "", | ||
"mainnetOperatorId": "", | ||
"previewnetOperatorKey": "", | ||
"previewnetOperatorId": "", | ||
"localnetOperatorKey": "302e020100300506032b65700422042091132178e72057a1d7528025956fe39b0b847f200ab59b2fdd367017f3087137", | ||
"localnetOperatorId": "0.0.2", | ||
"localNodeAddress": "127.0.0.1:50211", | ||
"localNodeAccountId": "0.0.3", | ||
"localNodeMirrorAddressGRPC": "127.0.0.1:5600" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters