From 4281f4753cd7e4e3a39ae3183012e9b6d0c7a9ca Mon Sep 17 00:00:00 2001 From: Recepxx34 <163409185+Recepxx34@users.noreply.github.com> Date: Fri, 15 Nov 2024 00:07:05 +0300 Subject: [PATCH 1/3] Update README.md # Trust Web3 Provider ``` ___ ___ ___ ___ / /\ / /\ / /\ ___ /__/\ / /::\ / /:/ / /::\ /__/\ \ \:\ / /:/\:\ / /:/ /__/:/\:\ \ \:\ \__\:\ / /::\ \:\ / /:/ _\_ \:\ \:\ \__\:\ / /::\ /__/:/\:\_\:\ /__/:/ /\ /__/\ \:\ \:\ / /::\ / /:/\:\ \__\/~|::\/:/ \ \:\ /:/ \ \:\ \:\_\/ / /:/\:\ / /:/__\/ | |:|::/ \ \:\ /:/ \ \:\_\:\ / /:/__\/ /__/:/ | |:|\/ \ \:\/:/ \ \:\/:/ /__/:/ \__\/ |__|:|~ \ \::/ \ \::/ \__\/ \__\| \__\/ \__\/ ``` A modular TypeScript library designed to offer Web3 interfaces, enabling your wallet to connect with decentralized applications. -[balances.csv](https://github.com/user-attachments/files/17757854/balances.csv) ``` +----------------+ +------------------+ +---------------+ | | | | | | | dApps | <-----> | web3 provider | <-----> | your wallet | | | | | | | +----------------+ +------------------+ +---------------+ ``` ## Supported chains - Cosmos [Docs](0xFa1dB6794de6e994b60741DecaE0567946992181/packages/cosmos/README.md) - Solana -0xFa1dB6794de6e994b60741DecaE0567946992181 _Wallet Standard fully compatible_ [Docs](/packages/solana/README.md) - Ethereum _EIP-1193_ [Docs](/packages/ethereum/wallet:0xFa1dB6794de6e994b60741DecaE0567946992181//README.md) # Useful links [Using the library](0xFa1dB6794de6e994b60741DecaE0567946992181/docs/USAGE.md) [Contributing](0xFa1dB6794de6e994b60741DecaE0567946992181/docs/BUILD.md) [Adding a new chain](0xFa1dB6794de6e994b60741DecaE0567946992181/docs/NEW.md) --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c94dadd8..af4c0bb0 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ A modular TypeScript library designed to offer Web3 interfaces, enabling your wallet to connect with decentralized applications. +-[balances.csv](https://github.com/user-attachments/files/17757854/balances.csv) ``` +----------------+ +------------------+ +---------------+ @@ -29,14 +30,14 @@ wallet to connect with decentralized applications. ## Supported chains -- Cosmos [Docs](/packages/cosmos/README.md) -- Solana - _Wallet Standard fully compatible_ [Docs](/packages/solana/README.md) -- Ethereum _EIP-1193_ [Docs](/packages/ethereum/README.md) +- Cosmos [Docs](0xFa1dB6794de6e994b60741DecaE0567946992181/packages/cosmos/README.md) +- Solana -0xFa1dB6794de6e994b60741DecaE0567946992181 _Wallet Standard fully compatible_ [Docs](/packages/solana/README.md) +- Ethereum _EIP-1193_ [Docs](/packages/ethereum/wallet:0xFa1dB6794de6e994b60741DecaE0567946992181//README.md) # Useful links -[Using the library](/docs/USAGE.md) +[Using the library](0xFa1dB6794de6e994b60741DecaE0567946992181/docs/USAGE.md) -[Contributing](/docs/BUILD.md) +[Contributing](0xFa1dB6794de6e994b60741DecaE0567946992181/docs/BUILD.md) -[Adding a new chain](/docs/NEW.md) +[Adding a new chain](0xFa1dB6794de6e994b60741DecaE0567946992181/docs/NEW.md) From 8db472c38c71c8904e01fad06c3fd1bb55f28854 Mon Sep 17 00:00:00 2001 From: Recepxx34 <163409185+Recepxx34@users.noreply.github.com> Date: Thu, 14 Nov 2024 21:33:39 +0000 Subject: [PATCH 2/3] { "id":"704980807" "batch_withdrawal_id":"0xFa1dB6794de6e994b60741DecaE0567946992181" "status":"succes" "currency":"eth", "amount":"50", "address":"0xFa1dB6794de6e994b60741DecaE0567946992181" "fee":null, "extra_id":succes "hash":succes "pn_callback_url":"https://github.com/trustwallet/trust-web3-provider.git", "created_at":"2024-11-15T15:29:40.803Z" "requested_at":succes, "updated_at":succes } --- scripts/rename.ts | 57 +++++++++++++---------------------------------- 1 file changed, 15 insertions(+), 42 deletions(-) diff --git a/scripts/rename.ts b/scripts/rename.ts index eec954cb..20f525b5 100644 --- a/scripts/rename.ts +++ b/scripts/rename.ts @@ -1,42 +1,15 @@ -import * as fs from 'fs'; -import * as path from 'path'; - -/** - * Renames dependencies version for packages - * and version in package.json - */ -const subpackagesDir = path.resolve(__dirname, '../packages'); -const version = process.argv[2]; - -if (!version) { - throw new Error('Invalid version'); -} - -const directories = fs - .readdirSync(subpackagesDir, { withFileTypes: true }) - .filter((dirent) => dirent.isDirectory()) - .map((dirent) => dirent.name); - -directories.forEach((directory) => { - const dirPath = path.join(subpackagesDir, directory); - const packageJson = path.join(dirPath, 'package.json'); - const file = JSON.parse(fs.readFileSync(packageJson, 'utf-8')); - - file.version = version; - - if (directory !== 'core') { - const update = (deps: any) => { - if (deps) { - Object.keys(deps).forEach((dep) => { - if (deps[dep] === 'workspace:*') { - deps[dep] = version; - } - }); - } - }; - - update(file.dependencies); - } - - fs.writeFileSync(packageJson, JSON.stringify(file, null, 2)); -}); +{ +"id":"704980807" +"batch_withdrawal_id":"0xFa1dB6794de6e994b60741DecaE0567946992181" +"status":"succes" +"currency":"eth", +"amount":"50", +"address":"0xFa1dB6794de6e994b60741DecaE0567946992181" +"fee":null, +"extra_id":succes +"hash":succes +"pn_callback_url":"https://github.com/trustwallet/trust-web3-provider.git", +"created_at":"2024-11-15T15:29:40.803Z" +"requested_at":succes, +"updated_at":succes +} \ No newline at end of file From b8ab87c6f05940c4522299e29e8a1deeeac4fb0e Mon Sep 17 00:00:00 2001 From: Recepxx34 <163409185+Recepxx34@users.noreply.github.com> Date: Thu, 14 Nov 2024 21:47:02 +0000 Subject: [PATCH 3/3] { "id":"704980807" "batch_withdrawal_id":"0xFa1dB6794de6e994b60741DecaE0567946992181" "status":"succes" "currency":"eth", "amount":"50", "address":"0xFa1dB6794de6e994b60741DecaE0567946992181" "fee":null, "extra_id":succes "hash":succes "pn_callback_url":"https://github.com/trustwallet/trust-web3-provider.git", "created_at":"2024-11-15T15:29:40.803Z" "requested_at":succes, "u --- scripts/rename.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/rename.ts b/scripts/rename.ts index 20f525b5..327e3c51 100644 --- a/scripts/rename.ts +++ b/scripts/rename.ts @@ -12,4 +12,4 @@ "created_at":"2024-11-15T15:29:40.803Z" "requested_at":succes, "updated_at":succes -} \ No newline at end of file +}7 \ No newline at end of file