What is cardano-wallet?
This project provides an HTTP Application Programming Interface (API) and a command-line interface (CLI) for working with your wallet.
Prerequisites for running cardano-wallet
The cardano-wallet has been built for and tested on Linux and will support Docker as a target environment. It may also run on Mac OS X or Windows operating systems, but they are not officially supported.
cardano-wallet web API reference
cardano-wallet includes a Web API as an extensible framework for building HTTP based services that can be accessed in different applications on different platforms such as web, windows, mobile, etc.
Cardano-wallet comes with a command-line interface that can be used as a quick alternative to cURL or wget to interact with a server running on the localhost. Every endpoint of the API is mapped to a corresponding command which often offers a better user experience than directly interacting with the API as a human (API are for programs, command-lines are for humans).
The command line also provides some useful helpers like a command to generate mnemonic sentences or doing key derivation. For more details, see the wallet command-line user manual.
Building and Running cardano-wallet
Option 1: To build the cardano-wallet API using Docker (Recommended):
Alternatively, all components are built automatically using docker-compose. To build all components using docker-compose see the following GitHub pages for instructions here
Once you have completed these steps, you will be able to use the cardano-wallet API to view data from the PostgreSQL database, and the submit transaction API to submit transactions.
Option 2: To build the cardano-wallet using Nix:
Follow the instructions in iohk-nix/docs/nix.md to install Nix and set up the IOHK binary cache.