Connecting a wallet to the server
An Ark server is not that interesting until it has some wallets transacting on it! Here we'll set up an Ark wallet, fund it, then get it to board the Ark.
Create a bark wallet
A new bark wallet can be created using:
bark create --signet \
--aspd http://localhost:3535 \
--bitcoin-url http://localhost:38332 \
--bitcoin-cookie ~/.bitcoin/signet/.cookie
Fund the bark wallet
Request an onchain address from bark:
export BARK_ADDRESS=$(bark onchain address)
Then fund bark's on-chain wallet:
bitcoin-cli -signet sendtoaddress $BARK_ADDRESS 0.1
Board the Ark
Let's board the funds into the Ark server:
bark board --all
And generate some blocks to confirm the board:
bitcoin-cli -signet -generate 6
The Ark's your oyster
Great, now you now have (or should have!) a fully operational Ark server running with a wallet connected and holding some VTXOs. This should be a perfect environment to explore the Ark ecosystem from an Ark server perspective. Some things you might want to try:
- Out-of-round payments
- In-round refreshes
- Off-boards
- Exits
If you run into any issues or have questions, don't hesitate to post to our git repo or community.