Skip to content

Commit

Permalink
feat: update node rpc's
Browse files Browse the repository at this point in the history
RomarQ committed Jul 16, 2022
1 parent e335bcf commit b726bac
Showing 5 changed files with 10 additions and 14 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
6 changes: 3 additions & 3 deletions src/context/Tezos.tsx
Original file line number Diff line number Diff line change
@@ -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<string, NetworkKind> = Object.values(NetworkKind).reduce(
2 changes: 0 additions & 2 deletions src/services/wallet/index.ts
Original file line number Diff line number Diff line change
@@ -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;
}
4 changes: 1 addition & 3 deletions src/settings.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"storage_prefix": "@VisualTez",
"networks": [
"mainnet",
"ghostnet",
"jakartanet"
"ghostnet"
],
"protocols": [
{
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -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/[email protected].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/[email protected].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/[email protected]":
version "0.0.4"

0 comments on commit b726bac

Please sign in to comment.