Merge pull request #1039 from filecoin-project/feat/secpk-default
switch default key type to secp256k1
This commit is contained in:
commit
3891f015d7
@ -41,7 +41,7 @@ var walletNew = &cli.Command{
|
|||||||
|
|
||||||
t := cctx.Args().First()
|
t := cctx.Args().First()
|
||||||
if t == "" {
|
if t == "" {
|
||||||
t = "bls"
|
t = "secp256k1"
|
||||||
}
|
}
|
||||||
|
|
||||||
nk, err := api.WalletNew(ctx, t)
|
nk, err := api.WalletNew(ctx, t)
|
||||||
|
@ -47,16 +47,16 @@ lotus sync wait
|
|||||||
|
|
||||||
## Create your first address
|
## Create your first address
|
||||||
|
|
||||||
Initialize a wallet using BLS signature formats:
|
Initialize a new wallet:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
lotus wallet new bls
|
lotus wallet new
|
||||||
```
|
```
|
||||||
|
|
||||||
Here is an example of the response:
|
Here is an example of the response:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
t3vhfme4qfvegqaz7m7q6o6afjcs67n6kpzv7t2eozio4chwpafwa2y4l7zhwd5eom7jmihzdg4s52dpvnclza
|
t1aswwvjsae63tcrniz6x5ykvsuotlgkvlulnqpsi
|
||||||
```
|
```
|
||||||
|
|
||||||
- Visit the [faucet](https://lotus-faucet.kittyhawk.wtf/funds.html) to add funds.
|
- Visit the [faucet](https://lotus-faucet.kittyhawk.wtf/funds.html) to add funds.
|
||||||
|
Loading…
Reference in New Issue
Block a user