This project is a simple bitcoin wallet HTTP service that implements the following features.
- generate mnemonic and seeds according to different languages, currently, only Chinese and English are supported.
- generate HD SegWit Address based on seeds and paths
- generate multi-signature addresses (n-out-of-m Multisignature P2SH)
# golang 1.18
git clone [email protected]:pzhenzhou/crypto-prototype.git
cd crypto-prototype
# for macos intel chip
make darwin
# for macos apple chip
make darwin-arm64
# for linux
make linux64
# If you want to run in debug mode
export CRYPTO_RUN_ENV=dev
# If you want to run in prod mode
export CRYPTO_RUN_ENV=prod
# If you do not specify any arguments, the default port of the web service is 4567 and the default path to the configuration file is ./config. The system loads a list of mnemonics from the config directory
./bin/crypto-http-arm64
# Assign the web service port and configuration file path via the command line
./bin/crypto-http-arm64 --port 3456 --config ./config