update readme

master
liu9293 2 years ago
parent 0add15bd19
commit 5d489721be

@ -1,22 +1,18 @@
# Install # Git3 Command Line Tool
``` ## Install
yarn
```
# pkg
``` ```
yarn pkg yarn
``` ```
# mac install ## mac install
``` ```
yarn install-mac yarn install-mac
``` ```
# Git3 URI Protocol ## Git3 URI Protocol
``` ```
git3://[sender_wallet]@[hub_contract_address or NS]:[chain_id]/<repo_name> 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 - <repo_name> Required, your repo name
## Example: ## Example:
- `git3://helloworld@git3.fvm/helloworld` - `git3://git3.w3q/helloworld`
select `default` wallet, `git3 official hub contract` address, on FVM chainId: 3141, repo name is `helloworld` select `default` wallet, `git3 official hub contract` address, on EthStorage w3q network, repo name is
`helloworld`
- `git3://myname.eth@git3hub.eth/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` select `myname.eth` wallet, `git3hub.eth` hub contract address, on ETH Mainnet chainId: 1, repo name is `helloworld`

Loading…
Cancel
Save