Hi everybody!Does Filecoin currently support creating multiple wallets? And transfers between wallets?
Does Filecoin currently support creating multiple wallets?
@xiedapao Yes! You can create a new address with
go-filecoin address newand send fund to it (where
<addrA>is a wallet you already, and
<addrB>is the newly created address) with
go-filecoin message send --from <addrA> --gas-price=<gprice> --gas-limit=<glimit> --value=<funds> <addrB>
@xiedapao 1.“--gas-price=<gprice> --gas-limit=<glimit>” What is the meaning of this command? What are the values of these two parameters?
- After creating two wallets, how to specify which wallet to deduct the cost of creating the miner?
@xiedapao gas-price and gas-limit are the same concepts you see in ethereum. Each message specifies how many FIL it will pay per unit of computation (gas price) and how many total gas units it is willing to spend on the message (gas limit)
@xiedapao For question 2: you can either specify the address with
--fromas an optional argument of
miner createor alternatively you can change the
wallet.defaultAddressin your config to the address you want to use. That address is the one used by default (if no --from option is passed).