Skip to content

Commit

Permalink
Updating configs to juno uni-4 testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
spoo-bar committed Sep 25, 2022
1 parent 134a989 commit 0e7965e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 18 deletions.
7 changes: 2 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,20 @@ All notable changes to the "cosmy-wasmy" extension will be documented in this fi
### Security
-->

## [Unreleased]
## [v1.2.0] - 24 September 2022

### Added

- Added new setting `cosmywasmy.openTxExplorerInVscode`, if set to true, on a successful tx execution, instead of a notification, the tx explorer link will open within vscode in the simple browser. (only works if txExplorerLink is set as well for the chain config)

### Changed

### Deprecated

### Removed
- Changed Juni uni-3 to uni-4 configuration in present chain config

### Fixed

- Fixed issue where it was possible to import multiple accounts with same mnemonic.

### Security


## [v1.1.0] - 25 August 2022
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ All the required components will now be installed for you to start your smart co

To access all the Cosmwasm related features, click on the Cosmy Wasmy icon on the sidebar.

The extension by default connects to the Juno `uni-3` testnet. You can go to the [settings](/docs/configuration.md) and customize this to target your local instance or any other testnet.
The extension by default connects to the Juno `uni-4` testnet. You can go to the [settings](/docs/configuration.md) and customize this to target your local instance or any other testnet.

## Warnings

Expand Down Expand Up @@ -50,8 +50,7 @@ Find release notes in [CHANGELOG](CHANGELOG.md)
## Thanks

Big shoutout to [aswever](https://github.com/aswever), lots of the feature inspirations came from [cosmwasm.tools](https://cosmwasm.tools/).
And to [deuslabs.fi](https://deuslabs.fi) for providing rpc endpoints for the juno uni-3 testnet. Their endpoints are used as default configuration by the extension.



## Support

Expand Down
12 changes: 6 additions & 6 deletions docs/configuration.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Extension Configuration

**[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.
**[Juno uni-4 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
Expand All @@ -10,8 +10,8 @@ You can set up the extension settings here

| Setting | Type | Default | Scope | Details |
| --------|------|----------|-------|---------|
| [Deprecated] ~~`cosmywasmy.chainConfigName`~~ | ~~string~~ | ~~Juno UNI-3~~ | ~~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, Juno, Osmosis test-4, Osmosis, Archway constantine-1 config | Application | This setting stores an array of JSON objects which contains the Chain config details. <br /> This setting can be expanded to include any localnet or testnet chains (_mainnet not recommended_). <br/> The structure of the expected setting is elaborated below this table |
| [Deprecated] ~~`cosmywasmy.chainConfigName`~~ | ~~string~~ | ~~Juno UNI-4~~ | ~~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-4, Juno, Osmosis test-4, Osmosis, Archway constantine-1 config | Application | This setting stores an array of JSON objects which contains the Chain config details. <br /> This setting can be expanded to include any localnet or testnet chains (_mainnet not recommended_). <br/> 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 <br /> * Alphabetical - Sort the Smart Contracts alphabetically by their label<br /> * CodeId - Sort the Smart Contracts by the Code ID<br /> * 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 <br /> * NewFile - Open a new dummy doc with response <br /> * 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 |
Expand All @@ -21,11 +21,11 @@ The structure of the expected setting for `cosmywasamy.chains`:
```json
[
{
"configName": "Juno UNI-3 testnet", // This need to match exactly the `cosmywasmy.chainConfigName` when the chain config needs to be selected
"chainId": "uni-3", // The localnet/testnet Chain ID
"configName": "Juno UNI-4 testnet", // This need to match exactly the `cosmywasmy.chainConfigName` when the chain config needs to be selected
"chainId": "uni-4", // The localnet/testnet Chain ID
"chainEnvironment": "testnet", // Is the chain localnet, testnet or (god forbid 😨) mainnet
"addressPrefix": "juno", // Used to derive account address
"rpcEndpoint": "https://rpc.uni.juno.deuslabs.fi", // Used for query and tx exec of smart contracts
"rpcEndpoint": "https://rpc.uni.junonetwork.io/", // Used for query and tx exec of smart contracts
"defaultGasPrice": "0.025", // Gas price set for the smart contract tx execution
"chainDenom": "ujunox", // the micro denom used to pay for gas and to track account balance
"faucetEndpoint": "http://localhost:8000", //Faucet address and port to request funds
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "cosmy-wasmy",
"displayName": "cosmy wasmy",
"description": "wibbly wobbly cosmy wasmy tool to interact with cosmwasm smart contracts",
"version": "1.1.0",
"version": "1.2.0",
"preview": false,
"publisher": "Spoorthi",
"icon": "media/icon.png",
Expand Down Expand Up @@ -272,11 +272,11 @@
},
"default": [
{
"configName": "Juno UNI-3",
"chainId": "uni-3",
"configName": "Juno uni-4",
"chainId": "uni-4",
"chainEnvironment": "testnet",
"addressPrefix": "juno",
"rpcEndpoint": "https://rpc.uni.juno.deuslabs.fi",
"rpcEndpoint": "https://rpc.uni.junonetwork.io/",
"defaultGasPrice": "0.025",
"chainDenom": "ujunox",
"accountExplorerLink": "https://testnet.mintscan.io/juno-testnet/account/${accountAddress}",
Expand Down

0 comments on commit 0e7965e

Please sign in to comment.