Skip to content

Commit

Permalink
Rewrite CLI + add esbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
ronanyeah committed Jul 29, 2024
1 parent f025c24 commit 66dab83
Show file tree
Hide file tree
Showing 8 changed files with 775 additions and 382 deletions.
14 changes: 11 additions & 3 deletions cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
[Downloads](https://github.com/ronanyeah/mineral-app/releases)

#### Linux
```
```bash
./mineral-linux help
export WALLET=suiprivkey11111111111111111111111111111111
./mineral-linux mine
```

#### MacOS
```
```bash
./mineral-macos help
export WALLET=suiprivkey11111111111111111111111111111111
./mineral-macos mine
Expand All @@ -30,4 +30,12 @@ set WALLET=suiprivkey11111111111111111111111111111111
.\mineral-win.exe mine
```

__NOTE:__ In addition to `WALLET`, the `RPC` environment variable can be used to override the default `https://fullnode.mainnet.sui.io:443`.
---

#### Custom RPC

Use the `RPC` enviroment variable to set a custom RPC endpoint:

```bash
export RPC="https://sui-mainnet.blockvision.org:443/v1/12345"
```
Loading

0 comments on commit 66dab83

Please sign in to comment.