Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ootle): init Tari Ootle #1548

Draft
wants to merge 96 commits into
base: build-ootle
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
0b3731f
feat: add ootle settings & registered tapplets store
karczuRF Dec 3, 2024
ad92721
add ootle locales
karczuRF Dec 4, 2024
1d5ff48
feat: add installed tapplet list
karczuRF Dec 4, 2024
e884bc0
feat: add dev tapp list
karczuRF Dec 4, 2024
4a0d272
feat: add tapplet list components
karczuRF Dec 5, 2024
05903a6
refactor: use single tapplet store
karczuRF Dec 5, 2024
a034e3b
wip: active dev tapplet launched
karczuRF Dec 5, 2024
ac4dbdf
fix tari js metamask provider error
karczuRF Dec 5, 2024
49327e1
launch dev tapplet view
karczuRF Dec 6, 2024
a12af45
wip: add backend
karczuRF Dec 6, 2024
050aa21
feat: add ootle tapplet db
karczuRF Dec 6, 2024
9443745
wip: init while starting tu tapp db
karczuRF Dec 9, 2024
4da9c78
feat: fetch tapplets from registry
karczuRF Dec 9, 2024
205dace
wip: download and extract tapp
karczuRF Dec 9, 2024
ffe036b
feat: install registered tapp
karczuRF Dec 9, 2024
41122c9
feat: add dev tapplet form
karczuRF Dec 9, 2024
b22522e
feat: manage dev tapp db & list items
karczuRF Dec 10, 2024
2106227
set active tapp
karczuRF Dec 10, 2024
d39e1dd
feat: add active tapplet type and launch fetched tapplet
karczuRF Dec 10, 2024
69bca7c
add local tari indexer switcher
karczuRF Dec 11, 2024
f4f0311
ui: tapp name and close button
karczuRF Dec 11, 2024
d35c03b
wip: add jrpc
karczuRF Dec 11, 2024
6021fcc
wip: send jrpc request
karczuRF Dec 11, 2024
cfaf0a1
wip: add wallet daemon
karczuRF Dec 16, 2024
2db4a02
feat: setup wallet daemon with local node
karczuRF Dec 17, 2024
7e6ec87
split async fct to setup ootle
karczuRF Dec 17, 2024
bfe77c3
feat: add tu provider response
karczuRF Dec 17, 2024
cfb54e9
refactor active tapp component
karczuRF Dec 18, 2024
530dec8
rename Active Tapplet View
karczuRF Dec 18, 2024
b7fd654
feat: add update and delete functions to store and installed tapp view
karczuRF Dec 18, 2024
e8d9cd9
remove activeTappId from store
karczuRF Dec 19, 2024
50677ba
fix: display fetch install and delete tapps
karczuRF Dec 19, 2024
4f8ba87
feat: add validator & indexer to binaries resolver
karczuRF Jan 3, 2025
27360b5
feat: add ootle to app config
karczuRF Jan 3, 2025
9706c00
wip: validator node manager & adapter
karczuRF Jan 3, 2025
749a0d5
wip: validator node config
karczuRF Jan 3, 2025
d2f82ba
add default validator node params
karczuRF Jan 7, 2025
7f0dc15
feat: add binary indexer adapter & manager
karczuRF Jan 7, 2025
65e986c
wip: assign correct ports and run binary with args
karczuRF Jan 7, 2025
39aa350
wip: assign ports
karczuRF Jan 9, 2025
9414408
add ootle locales
karczuRF Jan 9, 2025
aab6713
add ootle localnet enable setting
karczuRF Jan 9, 2025
d89911f
Merge branch 'main' into feat/tari-ootle
karczuRF Jan 13, 2025
5c895c3
fix: merge bugs
karczuRF Jan 13, 2025
277ed6a
Merge branch 'main' into feat/tari-ootle
karczuRF Jan 13, 2025
56d9f77
fix merge bugs
karczuRF Jan 13, 2025
f039ee2
fix render bug from useTranslation
karczuRF Jan 14, 2025
218d801
style: cleanup and style refactor
karczuRF Jan 14, 2025
f893a75
Merge branch 'main' into feat/tari-ootle
karczuRF Jan 14, 2025
dfd79ca
fix: style tapp list
karczuRF Jan 14, 2025
7f4cd6f
feat: get default tapp account
karczuRF Jan 14, 2025
203fba5
fix: add wallet daemon config contractnet
karczuRF Jan 15, 2025
1c22ccd
wip: run indexer locally
karczuRF Jan 15, 2025
167697a
fix: getAccount types errors
karczuRF Jan 16, 2025
34c6bb4
feat: add default config and binaries ver
karczuRF Jan 16, 2025
0cd731d
fix: bump tarijs package to fix type error
karczuRF Jan 16, 2025
d8653e6
mvp: config igor net
karczuRF Jan 21, 2025
e1e7044
feat: connect contractnet node
karczuRF Jan 21, 2025
f5a5e69
disable localnet by default
karczuRF Jan 24, 2025
bbcc6b3
fix regex to add dev tapp
karczuRF Jan 24, 2025
1d401fa
logging: log xmrig & mm proxy to fix the minning issue
karczuRF Jan 24, 2025
c37995a
feat: init default tapp provider
karczuRF Jan 24, 2025
2e06746
feat: add tari ootle wallet settings tab
karczuRF Jan 24, 2025
a86f1ed
wip: ootle get account balance
karczuRF Jan 24, 2025
ee2a5bb
fix: translate typo
karczuRF Jan 27, 2025
12cba66
feat: display account balances
karczuRF Jan 27, 2025
e0acc11
wip: select account & create new one
karczuRF Jan 27, 2025
9e91e8a
refactor type ootle wallet
karczuRF Jan 27, 2025
fa4e0ef
wip: upload wasm file
karczuRF Jan 29, 2025
e74c135
feat: upload wasm
karczuRF Jan 30, 2025
8ce06a8
fix: comment out add_firewall_rule in indexer and validator adapters
karczuRF Jan 30, 2025
a11dbbc
wip: cutom wasm uploader command
karczuRF Jan 31, 2025
fd2a6b3
feat: upload wasm file
karczuRF Jan 31, 2025
5531eb4
wip: create wallet account
karczuRF Feb 1, 2025
40542ef
refactor: sort out ootle types
karczuRF Feb 3, 2025
4f5b255
refactor ootle wallet components & store
karczuRF Feb 3, 2025
91837d9
wip: set dan wallet address const
karczuRF Feb 3, 2025
050d162
wip: use account store refactor
karczuRF Feb 3, 2025
abe00f0
fix select account ui errors
karczuRF Feb 3, 2025
0bb2822
update tari.js and fix type errors
karczuRF Feb 7, 2025
044b858
wip: set active tapplet
karczuRF Feb 14, 2025
1a7d467
refactor: launch active tapplet
karczuRF Feb 14, 2025
c7528b7
update igor peer seeds config templates
karczuRF Feb 14, 2025
c1067ff
bump tari-project packages
karczuRF Feb 14, 2025
4fd2830
Merge branch 'main' into feat/tari-ootle
karczuRF Feb 14, 2025
97780f0
fix: merge errors
karczuRF Feb 14, 2025
7a48352
refactor: spawn ootle wallet
karczuRF Feb 19, 2025
5a3c79e
fix(ui): iframe not reactive
karczuRF Feb 19, 2025
3c5d7c2
wip: ootle wallet adapter
karczuRF Feb 19, 2025
042ef77
bump tari.js and refactor accordingly provider
karczuRF Feb 20, 2025
ffd6171
remove unused ootle wallet adapter
karczuRF Feb 20, 2025
fde2650
some cleanup
karczuRF Feb 20, 2025
0888ae8
refactor: set ootle node
karczuRF Feb 21, 2025
0cffb6c
cleanup & ootle wallet refactor
karczuRF Feb 21, 2025
5b88b46
front cleanup
karczuRF Feb 21, 2025
b1380b6
Squashed commit of the following:
karczuRF Feb 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist-isolation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// console.debug("Isolation hook called with payload:", payload);
// TODO: Prevent command execution
// TODO: Perhaps whitelist commands
console.log("Isolation hook called with payload:", payload);
// console.log("Isolation hook called with payload:", payload);
return payload;
};

Expand Down
3,832 changes: 3,360 additions & 472 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,19 @@
"translate": "node ./scripts/translator.js"
},
"dependencies": {
"@emotion/react": "latest",
"@emotion/styled": "latest",
"@floating-ui/react": "^0.27.4",
"@lottiefiles/dotlottie-react": "^0.13.0",
"@mui/material": "^6.4.4",
"@sentry/react": "^8.48.0",
"@tari-project/tari-permissions": "^0.4.0",
"@tari-project/tarijs": "^0.4.0",
"@tari-project/typescript-bindings": "^1.4.0",
"@tari-project/wallet_jrpc_client": "^1.4.0",
"@tauri-apps/api": "^2.2.0",
"@tauri-apps/plugin-clipboard-manager": "^2.2.0",
"@tauri-apps/plugin-dialog": "^2.2.0",
"@tauri-apps/plugin-os": "^2.2.0",
"@tauri-apps/plugin-process": "^2.2.0",
"@tauri-apps/plugin-shell": "^2.2.0",
Expand Down
26 changes: 26 additions & 0 deletions public/locales/af/ootle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"add-dev-tapplet": "",
"add-dev-tapplet-description": "",
"balance-updates": "",
"create-account": "",
"dev-tapplets": "",
"establishing-db-connection": "Establishing DB connection",
"fetch-tapplet-list": "",
"get-balances": "",
"get-free-coins": "",
"installed-tapplets": "",
"local-tari-indexer": "Local Tari Indexer",
"method-name": "",
"no-balance-update": "",
"refresh-list": "Refresh list",
"registered-tapplets": "",
"registered-tapplets-list-empty": "",
"simulation-error-msg": "",
"simulation-status": "",
"starting-ootle": "Starting Tari Ootle",
"tapplet-obtain-failure": "",
"tari-wallet-daemon": "",
"transaction-confirmation": "",
"tx-simulation-error-msg": "",
"tx-simulation-status": ""
}
2 changes: 2 additions & 0 deletions public/locales/af/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@
"experimental": "Eksperimenteel",
"general": "Algemeen",
"mining": "Mynbou",
"ootle": "Tari Ootle",
"ootleWallet": "Tari Ootle Wallet",
"p2p": "Poel Mynbou",
"releaseNotes": "Vrystellingsnotas",
"very_experimental": "Baie Eksperimenteel",
Expand Down
26 changes: 26 additions & 0 deletions public/locales/cn/ootle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"add-dev-tapplet": "",
"add-dev-tapplet-description": "",
"balance-updates": "",
"create-account": "",
"dev-tapplets": "",
"establishing-db-connection": "Establishing DB connection",
"fetch-tapplet-list": "",
"get-balances": "",
"get-free-coins": "",
"installed-tapplets": "",
"local-tari-indexer": "Local Tari Indexer",
"method-name": "",
"no-balance-update": "",
"refresh-list": "Refresh list",
"registered-tapplets": "",
"registered-tapplets-list-empty": "",
"simulation-error-msg": "",
"simulation-status": "",
"starting-ootle": "Starting Tari Ootle",
"tapplet-obtain-failure": "",
"tari-wallet-daemon": "",
"transaction-confirmation": "",
"tx-simulation-error-msg": "",
"tx-simulation-status": ""
}
2 changes: 2 additions & 0 deletions public/locales/cn/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@
"experimental": "实验性",
"general": "常规",
"mining": "挖矿",
"ootle": "Tari Ootle",
"ootleWallet": "Tari Ootle Wallet",
"p2p": "矿池挖矿",
"releaseNotes": "发布说明",
"very_experimental": "非常实验性",
Expand Down
26 changes: 26 additions & 0 deletions public/locales/de/ootle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"add-dev-tapplet": "",
"add-dev-tapplet-description": "",
"balance-updates": "",
"create-account": "",
"dev-tapplets": "",
"establishing-db-connection": "Establishing DB connection",
"fetch-tapplet-list": "",
"get-balances": "",
"get-free-coins": "",
"installed-tapplets": "",
"local-tari-indexer": "Local Tari Indexer",
"method-name": "",
"no-balance-update": "",
"refresh-list": "Refresh list",
"registered-tapplets": "",
"registered-tapplets-list-empty": "",
"simulation-error-msg": "",
"simulation-status": "",
"starting-ootle": "Starting Tari Ootle",
"tapplet-obtain-failure": "",
"tari-wallet-daemon": "",
"transaction-confirmation": "",
"tx-simulation-error-msg": "",
"tx-simulation-status": ""
}
2 changes: 2 additions & 0 deletions public/locales/de/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@
"experimental": "Experimentell",
"general": "Allgemein",
"mining": "Mining",
"ootle": "Tari Ootle",
"ootleWallet": "Tari Ootle Wallet",
"p2p": "Pool-Mining",
"releaseNotes": "Versionshinweise",
"very_experimental": "Sehr experimentell",
Expand Down
26 changes: 26 additions & 0 deletions public/locales/en/ootle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"add-dev-tapplet": "Add dev tapplet",
"add-dev-tapplet-description": "To add tapplet in developer mode please enter the endpoint of the tapplet.",
"balance-updates": "Balance updates",
"create-account": "New account",
"dev-tapplets": "Dev Tapplets",
"establishing-db-connection": "Establishing DB connection",
"fetch-tapplet-list": "Fetch Tapplet List",
"get-balances": "Get balances",
"get-free-coins": " Get free coins",
"installed-tapplets": "Installed Tapplets",
"local-tari-indexer": "Local Tari Indexer",
"method-name": "Method name: {{ methodName }}",
"no-balance-update": "No balance updates available.",
"refresh-list": "Refresh list",
"registered-tapplets": "Registered Tapplets",
"registered-tapplets-list-empty": "Registered tapplets list is empty",
"simulation-error-msg": "Simulation error message",
"simulation-status": "Simulation status",
"starting-ootle": "Starting Tari Ootle",
"tapplet-obtain-failure": "Failed to obtain tapplet endpoint",
"tari-wallet-daemon": "Tari wallet daemon",
"transaction-confirmation": "Transaction confirmation",
"tx-simulation-error-msg": "Simulated tx error message",
"tx-simulation-status": "Simulated transaction status"
}
2 changes: 2 additions & 0 deletions public/locales/en/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@
"experimental": "Experimental",
"general": "General",
"mining": "Mining",
"ootle": "Tari Ootle",
"ootleWallet": "Tari Ootle Wallet",
"p2p": "Pool Mining",
"releaseNotes": "Release Notes",
"very_experimental": "Very Experimental",
Expand Down
26 changes: 26 additions & 0 deletions public/locales/fr/ootle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"add-dev-tapplet": "",
"add-dev-tapplet-description": "",
"balance-updates": "",
"create-account": "",
"dev-tapplets": "",
"establishing-db-connection": "Establishing DB connection",
"fetch-tapplet-list": "",
"get-balances": "",
"get-free-coins": "",
"installed-tapplets": "",
"local-tari-indexer": "Local Tari Indexer",
"method-name": "",
"no-balance-update": "",
"refresh-list": "Refresh list",
"registered-tapplets": "",
"registered-tapplets-list-empty": "",
"simulation-error-msg": "",
"simulation-status": "",
"starting-ootle": "Starting Tari Ootle",
"tapplet-obtain-failure": "",
"tari-wallet-daemon": "",
"transaction-confirmation": "",
"tx-simulation-error-msg": "",
"tx-simulation-status": ""
}
2 changes: 2 additions & 0 deletions public/locales/fr/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@
"experimental": "Expérimental",
"general": "Général",
"mining": "Minage",
"ootle": "Tari Ootle",
"ootleWallet": "Tari Ootle Wallet",
"p2p": "Minage en pool",
"releaseNotes": "Notes de version",
"very_experimental": "Très Expérimental",
Expand Down
26 changes: 26 additions & 0 deletions public/locales/hi/ootle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"add-dev-tapplet": "",
"add-dev-tapplet-description": "",
"balance-updates": "",
"create-account": "",
"dev-tapplets": "",
"establishing-db-connection": "Establishing DB connection",
"fetch-tapplet-list": "",
"get-balances": "",
"get-free-coins": "",
"installed-tapplets": "",
"local-tari-indexer": "Local Tari Indexer",
"method-name": "",
"no-balance-update": "",
"refresh-list": "Refresh list",
"registered-tapplets": "",
"registered-tapplets-list-empty": "",
"simulation-error-msg": "",
"simulation-status": "",
"starting-ootle": "Starting Tari Ootle",
"tapplet-obtain-failure": "",
"tari-wallet-daemon": "",
"transaction-confirmation": "",
"tx-simulation-error-msg": "",
"tx-simulation-status": ""
}
2 changes: 2 additions & 0 deletions public/locales/hi/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@
"experimental": "प्रायोगिक",
"general": "सामान्य",
"mining": "माइनिंग",
"ootle": "Tari Ootle",
"ootleWallet": "Tari Ootle Wallet",
"p2p": "पूल माइनिंग",
"releaseNotes": "रिलीज़ नोट्स",
"very_experimental": "बहुत प्रयोगात्मक",
Expand Down
26 changes: 26 additions & 0 deletions public/locales/id/ootle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"add-dev-tapplet": "",
"add-dev-tapplet-description": "",
"balance-updates": "",
"create-account": "",
"dev-tapplets": "",
"establishing-db-connection": "Establishing DB connection",
"fetch-tapplet-list": "",
"get-balances": "",
"get-free-coins": "",
"installed-tapplets": "",
"local-tari-indexer": "Local Tari Indexer",
"method-name": "",
"no-balance-update": "",
"refresh-list": "Refresh list",
"registered-tapplets": "",
"registered-tapplets-list-empty": "",
"simulation-error-msg": "",
"simulation-status": "",
"starting-ootle": "Starting Tari Ootle",
"tapplet-obtain-failure": "",
"tari-wallet-daemon": "",
"transaction-confirmation": "",
"tx-simulation-error-msg": "",
"tx-simulation-status": ""
}
2 changes: 2 additions & 0 deletions public/locales/id/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@
"experimental": "Eksperimental",
"general": "Umum",
"mining": "Penambangan",
"ootle": "Tari Ootle",
"ootleWallet": "Tari Ootle Wallet",
"p2p": "Penambangan Pool",
"releaseNotes": "Catatan Rilis",
"very_experimental": "Sangat Eksperimental",
Expand Down
26 changes: 26 additions & 0 deletions public/locales/ja/ootle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"add-dev-tapplet": "",
"add-dev-tapplet-description": "",
"balance-updates": "",
"create-account": "",
"dev-tapplets": "",
"establishing-db-connection": "Establishing DB connection",
"fetch-tapplet-list": "",
"get-balances": "",
"get-free-coins": "",
"installed-tapplets": "",
"local-tari-indexer": "Local Tari Indexer",
"method-name": "",
"no-balance-update": "",
"refresh-list": "Refresh list",
"registered-tapplets": "",
"registered-tapplets-list-empty": "",
"simulation-error-msg": "",
"simulation-status": "",
"starting-ootle": "Starting Tari Ootle",
"tapplet-obtain-failure": "",
"tari-wallet-daemon": "",
"transaction-confirmation": "",
"tx-simulation-error-msg": "",
"tx-simulation-status": ""
}
2 changes: 2 additions & 0 deletions public/locales/ja/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@
"experimental": "実験的",
"general": "一般",
"mining": "マイニング",
"ootle": "Tari Ootle",
"ootleWallet": "Tari Ootle Wallet",
"p2p": "プールマイニング",
"releaseNotes": "リリースノート",
"very_experimental": "非常に実験的",
Expand Down
26 changes: 26 additions & 0 deletions public/locales/ko/ootle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"add-dev-tapplet": "",
"add-dev-tapplet-description": "",
"balance-updates": "",
"create-account": "",
"dev-tapplets": "",
"establishing-db-connection": "Establishing DB connection",
"fetch-tapplet-list": "",
"get-balances": "",
"get-free-coins": "",
"installed-tapplets": "",
"local-tari-indexer": "Local Tari Indexer",
"method-name": "",
"no-balance-update": "",
"refresh-list": "Refresh list",
"registered-tapplets": "",
"registered-tapplets-list-empty": "",
"simulation-error-msg": "",
"simulation-status": "",
"starting-ootle": "Starting Tari Ootle",
"tapplet-obtain-failure": "",
"tari-wallet-daemon": "",
"transaction-confirmation": "",
"tx-simulation-error-msg": "",
"tx-simulation-status": ""
}
2 changes: 2 additions & 0 deletions public/locales/ko/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@
"experimental": "실험적",
"general": "일반",
"mining": "채굴",
"ootle": "Tari Ootle",
"ootleWallet": "Tari Ootle Wallet",
"p2p": "풀 채굴",
"releaseNotes": "릴리스 노트",
"very_experimental": "매우 실험적",
Expand Down
26 changes: 26 additions & 0 deletions public/locales/pl/ootle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"add-dev-tapplet": "",
"add-dev-tapplet-description": "",
"balance-updates": "",
"create-account": "",
"dev-tapplets": "",
"establishing-db-connection": "Establishing DB connection",
"fetch-tapplet-list": "",
"get-balances": "",
"get-free-coins": "",
"installed-tapplets": "",
"local-tari-indexer": "Local Tari Indexer",
"method-name": "",
"no-balance-update": "",
"refresh-list": "Refresh list",
"registered-tapplets": "",
"registered-tapplets-list-empty": "",
"simulation-error-msg": "",
"simulation-status": "",
"starting-ootle": "Starting Tari Ootle",
"tapplet-obtain-failure": "",
"tari-wallet-daemon": "",
"transaction-confirmation": "",
"tx-simulation-error-msg": "",
"tx-simulation-status": ""
}
2 changes: 2 additions & 0 deletions public/locales/pl/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@
"experimental": "Eksperymentalne",
"general": "Ogólne",
"mining": "Wydobycie",
"ootle": "Tari Ootle",
"ootleWallet": "Tari Ootle Wallet",
"p2p": "Kopanie w puli",
"releaseNotes": "Notatki o wydaniu",
"very_experimental": "Bardzo Eksperymentalne",
Expand Down
Loading
Loading