Standalone binary
- Ark
- clArk
Setup the Ocean wallet
-
Download the latest
oceandbinary from the github repository. -
Move the binary to your user path and give it executable permissions:
mv path/to/oceand-<version>-<os>-<arch> /usr/local/bin/oceand
chmod +x /usr/local/bin/oceand -
Start
oceand:OCEAN_DB_TYPE=badger OCEAN_NO_TLS=true oceandYou can customize the datadir by exporting the environment variable
OCEAN_DATADIR. Default locations:- Linux:
~/.oceand - MacOS:
~/Library/Application\ Support/Oceand
- Linux:
TLS is disabled for simplicity and the RPCs are not protected. Do not expose Ocean's port to the public internet.
For non-interactive mode, pass OCEAN_MNEMONIC and OCEAN_PASSWORD as environment variables.
Run arkd connected to ocean
-
Download the latest
arkdbinary from the github repository. -
Move the binary to your user path and give it executable permissions:
mv path/to/arkd-<version>-<os>-<arch> /usr/local/bin/arkd
chmod +x /usr/local/bin/arkd -
Run
arkdconnected tolocalhost:18000:ARK_WALLET_ADDR=localhost:18000 ARK_VTXO_TREE_SCRIPT_TYPE=covenant ARK_NETWORK=liquid arkd -
Create and unlock the Server wallet:
arkd wallet create --password <password>Or restore from mnemonic:
arkd wallet create --mnemonic <mnemonic> --password <password> -
Unlock the wallet:
arkd wallet unlock --password <password> -
Get a funding address:
arkd wallet address -
Fund the on-chain address with L-BTC (Liquid Bitcoin) and wait for 2 confirmations.
Setup Bitcoin Core
arkd in covenantless mode uses Bitcoin Core to operate on the Bitcoin network. It can connect to Core via RPC or Neutrino, using a Neutrino client to fetch relevant bitcoin transactions via compact block filters over the peer-to-peer network.
Support for direct connection to your full node via Bitcoin Core ZMQ and Electrum servers will be available soon.
To connect arkd to your own Bitcoin Core node via RPC, use the environment variables:
export ARK_BITCOIND_RPC_USER=admin1;
export ARK_BITCOIND_RPC_PASS=123;
export ARK_BITCOIND_RPC_HOST=localhost:18443;
To connect via Neutrino:
export ARK_NEUTRINO_PEER=yourhost:p2p_port_bitcoin
Run arkd
-
Download the latest
arkdbinary from the github repository. -
Move the binary to your user path and give it executable permissions:
mv path/to/arkd-<version>-<os>-<arch> /usr/local/bin/arkd
chmod +x /usr/local/bin/arkd -
Start the Server:
arkd -
Create and unlock the Server wallet:
arkd wallet create --password <password>Or restore from mnemonic:
arkd wallet create --mnemonic <mnemonic> --password <password> -
Unlock the wallet:
arkd wallet unlock --password <password> -
Get a funding address:
arkd wallet address -
Fund the on-chain address with BTC and wait for 2 confirmations.
Mint Ark Notes
arkd wallet note --amount <amount> --quantity <quantity>