diff --git a/package.json b/package.json index 38cb44d..a7c6aec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tezwell/visual-tez", - "version": "1.2.0", + "version": "1.2.1", "description": "A visual programming tool for writing smart contracts in the Tezos blockchain", "private": true, "author": { @@ -21,7 +21,7 @@ "@testing-library/react": "13.3.0", "@testing-library/user-event": "14.2.0", "@tezwell/michelson-sdk": "0.4.3", - "@tezwell/smartts-sdk": "0.9.0", + "@tezwell/smartts-sdk": "0.9.1", "@tezwell/tezmonitor": "0.0.4", "@tezwell/tezos-testing-sdk": "0.0.18", "@types/crypto-js": "4.1.1", diff --git a/src/context/Tezos.tsx b/src/context/Tezos.tsx index cc6d1a7..4e1203d 100644 --- a/src/context/Tezos.tsx +++ b/src/context/Tezos.tsx @@ -7,13 +7,13 @@ import Logger from 'src/utils/logger'; export enum NetworkKind { Mainnet = 'mainnet', Ghostnet = 'ghostnet', - Jakartanet = 'jakartanet', + Kathmandu = 'kathmandu', } export const DEFAULT_RPC = { - [NetworkKind.Mainnet]: 'https://mainnet.visualtez.com', + [NetworkKind.Mainnet]: 'https://mainnet-tezos.giganode.io', [NetworkKind.Ghostnet]: 'https://ghostnet.visualtez.com', - [NetworkKind.Jakartanet]: 'https://jakartanet.visualtez.com', + [NetworkKind.Kathmandu]: 'https://rpc.kathmandunet.teztnets.xyz', }; export const NETWORK_OF_RPC: Record = Object.values(NetworkKind).reduce( diff --git a/src/services/wallet/index.ts b/src/services/wallet/index.ts index d1caca3..2b6610f 100644 --- a/src/services/wallet/index.ts +++ b/src/services/wallet/index.ts @@ -23,8 +23,6 @@ const getNetwork = (network: NetworkKind): NetworkType => { switch (network) { case NetworkKind.Mainnet: return NetworkType.MAINNET; - case NetworkKind.Ghostnet: - case NetworkKind.Jakartanet: default: return NetworkType.CUSTOM; } diff --git a/src/settings.json b/src/settings.json index fcb0b54..ccb6960 100644 --- a/src/settings.json +++ b/src/settings.json @@ -1,9 +1,7 @@ { "storage_prefix": "@VisualTez", "networks": [ - "mainnet", - "ghostnet", - "jakartanet" + "ghostnet" ], "protocols": [ { diff --git a/yarn.lock b/yarn.lock index 16c589f..b393ca9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2028,10 +2028,10 @@ resolved "https://registry.yarnpkg.com/@tezwell/michelson-sdk/-/michelson-sdk-0.4.3.tgz#387dfa3a25c715ae9c83cef5ebfadaccceb495f9" integrity sha512-Uc+sEksoIO5v3YaPNep+yKD/0+7pdSP/L3Bs2UyFWVrQVcTVnX76gwhShJPU5lfbJZtWIN0ciIbTlX8BzzBBlg== -"@tezwell/smartts-sdk@0.9.0": - version "0.9.0" - resolved "https://registry.yarnpkg.com/@tezwell/smartts-sdk/-/smartts-sdk-0.9.0.tgz#6926957fa16b474169ea13c86535ea5a918a4c59" - integrity sha512-wP5JuPEM2ibuK/oFs9IULx/5BwcqNxmb0szgRG/XVd97zwMGzSgLYia8NtdfUyllCNISThUGpxNBeJClp/+Y+Q== +"@tezwell/smartts-sdk@0.9.1": + version "0.9.1" + resolved "https://registry.yarnpkg.com/@tezwell/smartts-sdk/-/smartts-sdk-0.9.1.tgz#2665225950d225d82308435276c2456baca43740" + integrity sha512-5/P6+kyhUKhJ7cjDzW5r595UklgzCpFGBUVwznQB3xjaucOCPwNgxX5BmKnbwCg2VV3HoLlXUtrxoNyWeTd9bQ== "@tezwell/tezmonitor@0.0.4": version "0.0.4"