From 5d489721bec0baa6c98b216bcd39f4a0fd2c71ad Mon Sep 17 00:00:00 2001 From: liu9293 Date: Thu, 2 Mar 2023 04:16:12 -0700 Subject: [PATCH 1/3] update readme --- README.md | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 42bb16a..3dcbdd8 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,18 @@ -# Install +# Git3 Command Line Tool -``` -yarn -``` - -# pkg +## Install ``` -yarn pkg +yarn ``` -# mac install +## mac install ``` yarn install-mac ``` -# Git3 URI Protocol +## Git3 URI Protocol ``` git3://[sender_wallet]@[hub_contract_address or NS]:[chain_id]/ @@ -28,8 +24,9 @@ git3://[sender_wallet]@[hub_contract_address or NS]:[chain_id]/ - Required, your repo name ## Example: -- `git3://helloworld@git3.fvm/helloworld` -select `default` wallet, `git3 official hub contract` address, on FVM chainId: 3141, repo name is `helloworld` +- `git3://git3.w3q/helloworld` +select `default` wallet, `git3 official hub contract` address, on EthStorage w3q network, repo name is +`helloworld` - `git3://myname.eth@git3hub.eth/helloworld` select `myname.eth` wallet, `git3hub.eth` hub contract address, on ETH Mainnet chainId: 1, repo name is `helloworld` From 0b07a1f3244568bbc8ad5d22154f0b40f64d097e Mon Sep 17 00:00:00 2001 From: liu9293 Date: Thu, 2 Mar 2023 15:07:49 -0700 Subject: [PATCH 2/3] update dep --- package.json | 2 +- yarn.lock | 27 +++------------------------ 2 files changed, 4 insertions(+), 25 deletions(-) diff --git a/package.json b/package.json index b492d92..3ad1285 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "colors-cli": "^1.0.29", "commander": "^10.0.0", "debug": "^4.3.4", - "eth-ens-namehash": "^2.0.8", + "eth-ens-namehash": "git+git3://playground.w3q/eth-ens-namehash", "ethers": "^5.7.2", "form-data": "^4.0.0", "git-config-path": "^2.0.0", diff --git a/yarn.lock b/yarn.lock index 2eb4954..30a2171 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1104,13 +1104,9 @@ escape-string-regexp@^5.0.0: resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz#4683126b500b61762f2dbebace1806e8be31b1c8" integrity sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw== -eth-ens-namehash@^2.0.8: - version "2.0.8" - resolved "https://registry.yarnpkg.com/eth-ens-namehash/-/eth-ens-namehash-2.0.8.tgz#229ac46eca86d52e0c991e7cb2aef83ff0f68bcf" - integrity sha512-VWEI1+KJfz4Km//dadyvBBoBeSQ0MHTXPvr8UIXiLW6IanxvAV+DmlZAijZwAyggqGUfwQBeHf7tc9wzc1piSw== - dependencies: - idna-uts46-hx "^2.3.1" - js-sha3 "^0.5.7" +"eth-ens-namehash@git+git3://playground.w3q/eth-ens-namehash": + version "2.0.15" + resolved "git+git3://playground.w3q/eth-ens-namehash#d3a6cc4e3780b04fb0fb742e80f2c9702e91c41f" ethers@^5.7.0, ethers@^5.7.2: version "5.7.2" @@ -1348,13 +1344,6 @@ iconv-lite@^0.4.24: dependencies: safer-buffer ">= 2.1.2 < 3" -idna-uts46-hx@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/idna-uts46-hx/-/idna-uts46-hx-2.3.1.tgz#a1dc5c4df37eee522bf66d969cc980e00e8711f9" - integrity sha512-PWoF9Keq6laYdIRwwCdhTPl60xRqAloYNMQLiyUnG42VjT53oW07BXIRM+NK7eQjzXjAk2gUvX9caRxlnF9TAA== - dependencies: - punycode "2.1.0" - ieee754@^1.1.13, ieee754@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" @@ -1467,11 +1456,6 @@ js-sha3@0.8.0, js-sha3@^0.8.0: resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== -js-sha3@^0.5.7: - version "0.5.7" - resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.5.7.tgz#0d4ffd8002d5333aabaf4a23eed2f6374c9f28e7" - integrity sha512-GII20kjaPX0zJ8wzkTbNDYMY7msuZcTWk8S5UOh6806Jq/wz1J8/bnr8uGU0DAUmYDjj2Mr4X1cW8v/GLYnR+g== - jsesc@^2.5.1: version "2.5.2" resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" @@ -1781,11 +1765,6 @@ pump@^3.0.0: end-of-stream "^1.1.0" once "^1.3.1" -punycode@2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.0.tgz#5f863edc89b96db09074bad7947bf09056ca4e7d" - integrity sha512-Yxz2kRwT90aPiWEMHVYnEf4+rhwF1tBmmZ4KepCP+Wkium9JxtWnUm1nqGwpiAHr/tnTSeHqr3wb++jgSkXjhA== - querystringify@^2.1.1: version "2.2.0" resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.2.0.tgz#3345941b4153cb9d082d8eee4cda2016a9aef7f6" From da377dcd7d6f20dfb32d9602651f50f7bddb9f8d Mon Sep 17 00:00:00 2001 From: liu9293 Date: Fri, 3 Mar 2023 18:33:10 -0700 Subject: [PATCH 3/3] reset dep --- package.json | 2 +- yarn.lock | 27 ++++++++++++++++++++++++--- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 3ad1285..6c5dd7c 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "colors-cli": "^1.0.29", "commander": "^10.0.0", "debug": "^4.3.4", - "eth-ens-namehash": "git+git3://playground.w3q/eth-ens-namehash", + "eth-ens-namehash": "2.0.8", "ethers": "^5.7.2", "form-data": "^4.0.0", "git-config-path": "^2.0.0", diff --git a/yarn.lock b/yarn.lock index 30a2171..7a0dbb6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1104,9 +1104,13 @@ escape-string-regexp@^5.0.0: resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz#4683126b500b61762f2dbebace1806e8be31b1c8" integrity sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw== -"eth-ens-namehash@git+git3://playground.w3q/eth-ens-namehash": - version "2.0.15" - resolved "git+git3://playground.w3q/eth-ens-namehash#d3a6cc4e3780b04fb0fb742e80f2c9702e91c41f" +eth-ens-namehash@2.0.8: + version "2.0.8" + resolved "https://registry.yarnpkg.com/eth-ens-namehash/-/eth-ens-namehash-2.0.8.tgz#229ac46eca86d52e0c991e7cb2aef83ff0f68bcf" + integrity sha512-VWEI1+KJfz4Km//dadyvBBoBeSQ0MHTXPvr8UIXiLW6IanxvAV+DmlZAijZwAyggqGUfwQBeHf7tc9wzc1piSw== + dependencies: + idna-uts46-hx "^2.3.1" + js-sha3 "^0.5.7" ethers@^5.7.0, ethers@^5.7.2: version "5.7.2" @@ -1344,6 +1348,13 @@ iconv-lite@^0.4.24: dependencies: safer-buffer ">= 2.1.2 < 3" +idna-uts46-hx@^2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/idna-uts46-hx/-/idna-uts46-hx-2.3.1.tgz#a1dc5c4df37eee522bf66d969cc980e00e8711f9" + integrity sha512-PWoF9Keq6laYdIRwwCdhTPl60xRqAloYNMQLiyUnG42VjT53oW07BXIRM+NK7eQjzXjAk2gUvX9caRxlnF9TAA== + dependencies: + punycode "2.1.0" + ieee754@^1.1.13, ieee754@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" @@ -1456,6 +1467,11 @@ js-sha3@0.8.0, js-sha3@^0.8.0: resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== +js-sha3@^0.5.7: + version "0.5.7" + resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.5.7.tgz#0d4ffd8002d5333aabaf4a23eed2f6374c9f28e7" + integrity sha512-GII20kjaPX0zJ8wzkTbNDYMY7msuZcTWk8S5UOh6806Jq/wz1J8/bnr8uGU0DAUmYDjj2Mr4X1cW8v/GLYnR+g== + jsesc@^2.5.1: version "2.5.2" resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" @@ -1765,6 +1781,11 @@ pump@^3.0.0: end-of-stream "^1.1.0" once "^1.3.1" +punycode@2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.0.tgz#5f863edc89b96db09074bad7947bf09056ca4e7d" + integrity sha512-Yxz2kRwT90aPiWEMHVYnEf4+rhwF1tBmmZ4KepCP+Wkium9JxtWnUm1nqGwpiAHr/tnTSeHqr3wb++jgSkXjhA== + querystringify@^2.1.1: version "2.2.0" resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.2.0.tgz#3345941b4153cb9d082d8eee4cda2016a9aef7f6"