diff --git a/CHANGELOG.md b/CHANGELOG.md
index 295b4eb..075e66b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -31,7 +31,7 @@ Its **v1.0.0**!!
- Contract context menu actions to update contract admin and to remove contract admin.
- Added [#10](https://github.com/spoo-bar/cosmy-wasmy/issues/10) - Developers can add small notes and comments to their imported contracts. The added notes are shown on hovering over the contracts in the sidebar contract view. The notes supports markdown. Note : The added notes are only for the dev view, this info is not stored on chain.
- Added [#11](https://github.com/spoo-bar/cosmy-wasmy/issues/11) - Block explorer link added to the account view. If set up, the icon opens the account in a block explorer in the default browser
-
+- Added Osmosis testnet and localnet settings into default populated chain configs
### Changed
@@ -39,6 +39,7 @@ Its **v1.0.0**!!
- Contract view does not show contracts which were imported under othes chain configs. Only current config contracts or contracts with no config are shown.
- The icons used in extension are now vscode theme-icons and not custom svgs.
- The warning text when `rust-lang.rust-analyzer` is not installed now shows the link to marketplace to download the extention.
+- Docs are a bit more organized now, or maybe they are worse. idk. let me know in the comment section below 👇🏻
diff --git a/docs/configuration.md b/docs/configuration.md
index f7bbb86..4c59ada 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -1,7 +1,7 @@
# Extension Configuration
-**[Juno uni-3 testnet](https://testnet.ping.pub/juno)** config and **[Juno Localnet](https://github.com/CosmosContracts/juno/pkgs/container/juno)** config is preset by default. Any other chain can be manually added.
+**[Juno uni-3 testnet](https://testnet.ping.pub/juno)**, **[Localnet - Juno](https://github.com/CosmosContracts/juno/pkgs/container/juno)**, **[Testnet - Osmosis](https://docs.osmosis.zone/developing/network/explorers.html#testnet)** and **[Localnet - Osmosis](https://docs.osmosis.zone/developing/tools/localosmosis.html#what-is-localosmosis)** configs are preset by default. Any other chain can be manually added.
You can set up the extension settings here
> File > Preferences > Settings > Cosmy Wasmy
@@ -11,7 +11,7 @@ You can set up the extension settings here
| Setting | Type | Default | Scope | Details |
| --------|------|----------|-------|---------|
| `cosmywasmy.chainConfigName` | string | Juno UNI-3 testnet | Workspace | This setting is used to select which of the given Chain configs is to be used in this workspace |
-| `cosmywasmy.chains` | json | Juno UNI-3 testnet and Localnet - Juno config | Application | This setting stores an array of JSON objects which contains the Chain config details.
This setting can be expanded to include any localnet or testnet chains (_mainnet not recommended_).
The structure of the expected setting is elaborated below this table |
+| `cosmywasmy.chains` | json | Juno UNI-3 testnet, Localnet - Juno, Testnet - Osmosis, Localnet - Osmosis config | Application | This setting stores an array of JSON objects which contains the Chain config details.
This setting can be expanded to include any localnet or testnet chains (_mainnet not recommended_).
The structure of the expected setting is elaborated below this table |
| `cosmywasmy.contractSortOrder` | enum | None | Workspace | This setting controls the sorting order of the Smart Contracts in the Contract view
* Alphabetical - Sort the Smart Contracts alphabetically by their label
* CodeId - Sort the Smart Contracts by the Code ID
* None - No explicit sorting - Maintains the order the contracts were imported in |
| `cosmywasmy.cosmwasmResponseView` | enum | Terminal | Workspace | This setting controls where the smart contract interactions should be displayed
* NewFile - Open a new dummy doc with response
* Terminal - A seperate output channel by Cosmy Wasmy in the Output view |
| `cosmywasmy.maxHistoryStored` | number | 20 | Workspace | Controls the latest number of queries and txs kept in history for easy re-execution. If set to `0` the feature is disabled and nothing is stored |
diff --git a/package.json b/package.json
index bce8ca3..9a166c8 100644
--- a/package.json
+++ b/package.json
@@ -225,6 +225,23 @@
"defaultGasPrice": "0.025",
"chainDenom": "ujunox",
"faucetEndpoint": "http://localhost:8000"
+ },
+ {
+ "configName": "Testnet - Osmosis",
+ "chainId": "osmo-test-4",
+ "addressPrefix": "osmo",
+ "rpcEndpoint": "https://rpc-test.osmosis.zone",
+ "defaultGasPrice": "0.025",
+ "chainDenom": "uosmo",
+ "accountExplorerLink": "https://testnet.mintscan.io/osmosis-testnet/account/${accountAddress}"
+ },
+ {
+ "configName": "Localnet - Osmosis",
+ "chainId": "localosmosis",
+ "addressPrefix": "osmo",
+ "rpcEndpoint": "http://localhost:26657",
+ "defaultGasPrice": "0.025",
+ "chainDenom": "uosmo"
}
]
},