-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
49b8cd3
commit adde2ee
Showing
651 changed files
with
49,784 additions
and
5,794 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
NODE_ENV=development | ||
|
||
TONHTTPAPI_MAINNET_URL=https://tonhttpapi.mytonwallet.org/jsonRPC | ||
TONHTTPAPI_MAINNET_URL=https://tonhttpapi.mytonwallet.org/api/v2/jsonRPC | ||
TONHTTPAPI_MAINNET_API_KEY= | ||
TONHTTPAPI_TESTNET_URL=https://tonhttpapi-testnet.mytonwallet.org/jsonRPC | ||
TONHTTPAPI_TESTNET_URL=https://tonhttpapi-testnet.mytonwallet.org/api/v2/jsonRPC | ||
TONHTTPAPI_TESTNET_API_KEY= | ||
TONINDEXER_MAINNET_URL=https://tonhttpapi.mytonwallet.org/api/v3 | ||
TONINDEXER_TESTNET_URL=https://tonhttpapi-testnet.mytonwallet.org/api/v3 | ||
TONAPIIO_MAINNET_URL=https://tonapiio.mytonwallet.org | ||
TONAPIIO_TESTNET_URL=https://tonapiio-testnet.mytonwallet.org | ||
PROXY_HOSTS="tonproxy.io:38080 tonproxy.io:38081 tonproxy.io:38082" | ||
BRILLIANT_API_BASE_URL= | ||
STAKING_POOLS= | ||
CSP_CONNECT_SRC_EXTRA_URL= |
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
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 |
---|---|---|
|
@@ -23,3 +23,4 @@ trash/ | |
coverage/ | ||
src/i18n/en.json | ||
notarization-error.log | ||
.patch-version |
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import type { CapacitorConfig } from '@capacitor/cli'; | ||
|
||
const config: CapacitorConfig = { | ||
appId: 'org.mytonwallet.app', | ||
appName: 'MyTonWallet', | ||
webDir: 'dist', | ||
server: { | ||
androidScheme: 'https', | ||
hostname: 'mytonwallet.local', | ||
}, | ||
android: { | ||
path: 'mobile/android', | ||
includePlugins: [ | ||
'@capacitor-mlkit/barcode-scanning', | ||
'@capacitor/app', | ||
'@capacitor/dialog', | ||
'@capacitor/haptics', | ||
'@capacitor/status-bar', | ||
'@capgo/capacitor-native-biometric', | ||
'@mauricewegner/capacitor-navigation-bar', | ||
'capacitor-plugin-safe-area', | ||
'native-bottom-sheet', | ||
], | ||
}, | ||
ios: { | ||
path: 'mobile/ios', | ||
scheme: 'MyTonWallet', | ||
}, | ||
plugins: { | ||
SplashScreen: { | ||
launchAutoHide: false, | ||
}, | ||
}, | ||
}; | ||
|
||
export default config; |
Empty file.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
Some hotfixes |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
const path = require('path'); | ||
const fs = require('fs'); | ||
|
||
const ROOT_PATH = `${path.dirname(__filename)}/..`; | ||
const PATCH_VERSION_PATH = `${ROOT_PATH}/.patch-version`; | ||
const PACKAGE_JSON_PATH = `${ROOT_PATH}/package.json`; | ||
const VERSION_TXT_PATH = `${ROOT_PATH}/public/version.txt`; | ||
|
||
// This patch value is used to override the one from package.json | ||
const currentPatch = fs.existsSync(PATCH_VERSION_PATH) ? Number(fs.readFileSync(PATCH_VERSION_PATH, 'utf-8')) : -1; | ||
const packageJsonContent = fs.readFileSync(PACKAGE_JSON_PATH, 'utf-8'); | ||
const currentVersion = JSON.parse(packageJsonContent).version; | ||
const [major, minor] = currentVersion.split('.'); | ||
|
||
const newPatch = currentPatch + 1; | ||
const newVersion = [major, minor, newPatch].join('.'); | ||
const newPackageJsonContent = packageJsonContent.replace(`"version": "${currentVersion}"`, `"version": "${newVersion}"`); | ||
|
||
fs.writeFileSync(PATCH_VERSION_PATH, String(newPatch), 'utf-8'); | ||
fs.writeFileSync(PACKAGE_JSON_PATH, newPackageJsonContent, 'utf-8'); | ||
fs.writeFileSync(VERSION_TXT_PATH, newVersion, 'utf-8'); |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
source "https://rubygems.org" | ||
|
||
gem "fastlane" | ||
|
||
plugins_path = File.join(File.dirname(__FILE__), 'android', 'fastlane', 'Pluginfile') | ||
eval_gemfile(plugins_path) if File.exist?(plugins_path) |
Oops, something went wrong.