Merge branch 'master' of github.com:git3protocol/git3-cli

master
cyhhao 2 years ago
commit 589c0ff3c4

@ -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]/<repo_name>
@ -28,8 +24,9 @@ git3://[sender_wallet]@[hub_contract_address or NS]:[chain_id]/<repo_name>
- <repo_name> 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`

@ -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": "2.0.8",
"ethers": "^5.7.2",
"form-data": "^4.0.0",
"git-config-path": "^2.0.0",

@ -1104,7 +1104,7 @@ 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:
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==

Loading…
Cancel
Save