I want to experiment in the regtest network. But I don't understand how I can get funds to play with. I did:
bitcoind -regtest -daemon
bitcoin-cli -regtest sendtoaddress 2N3V4PeQXoD6TFM9ZvDMX81kzbuNtc5YPW4 1
and get:
error code: -6
error message:
Insufficient funds