All Projects → decred → Dcrwallet

decred / Dcrwallet

Licence: isc
A secure Decred wallet daemon written in Go (golang).

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Dcrwallet

Crypto Ecosystems
A taxonomy for open source cryptocurrency, blockchain, and decentralized ecosystems
Stars: ✭ 140 (-18.6%)
Mutual labels:  blockchain, cryptocurrency
Trust Ray
☁️ API for the Trust Wallet. Project no longer supported and current version used as source of transactions and address tokens in Blockatlas https://github.com/trustwallet/blockatlas/blob/master/config.yml#L64
Stars: ✭ 172 (+0%)
Mutual labels:  blockchain, cryptocurrency
Peatiocryptoexchange
An open-source Crypto-Currency exchange. Peatio v3.0 Coming Soon !
Stars: ✭ 141 (-18.02%)
Mutual labels:  blockchain, cryptocurrency
Consensys Academy Notes
A series of notes that were taken during the ConsenSys Academy program.
Stars: ✭ 138 (-19.77%)
Mutual labels:  blockchain, cryptocurrency
Ebtc
eBitcoin (eBTC) is an ERC20 token. Its primary utility is to provide an easy & fast payment solution. Its edge over other tokens is that it is capable of sending up to 255 payments in a single transaction.
Stars: ✭ 149 (-13.37%)
Mutual labels:  blockchain, cryptocurrency
Status Network Token
Smart Contracts for the Status Contribution Period, along with Genesis and Network Tokens
Stars: ✭ 138 (-19.77%)
Mutual labels:  blockchain, cryptocurrency
Unstoppable Wallet Android
A secure and decentralized Bitcoin and other cryptocurrency wallet for Android phones. Supports Bitcoin, Ethereum, EOS, Binance Chain, Bitcoin Cash, DASH, ...
Stars: ✭ 165 (-4.07%)
Mutual labels:  blockchain, cryptocurrency
Dokuztas
Blockchain ve cryptocurrency'leri (Bitcoin gibi) daha iyi anlayabilmek için, Türkçe dokümante edilen bir Python implementasyonu
Stars: ✭ 128 (-25.58%)
Mutual labels:  blockchain, cryptocurrency
Java Stellar Sdk
Stars: ✭ 146 (-15.12%)
Mutual labels:  blockchain, cryptocurrency
Cryptokernel
A SDK for implementing blockchain-based digital currencies
Stars: ✭ 146 (-15.12%)
Mutual labels:  blockchain, cryptocurrency
Token Core
Next generation core inside imToken Wallet.
Stars: ✭ 138 (-19.77%)
Mutual labels:  blockchain, cryptocurrency
Blockchain Tutorial
🌾 A step-by-step blockchain tutorial in simplified Chinese
Stars: ✭ 2,081 (+1109.88%)
Mutual labels:  blockchain, cryptocurrency
Awdy
are we decentralized yet? an analysis of how truly decentralized cryptocurrency networks are
Stars: ✭ 133 (-22.67%)
Mutual labels:  blockchain, cryptocurrency
Blockchainbooks.github.io
Blockchain Books
Stars: ✭ 139 (-19.19%)
Mutual labels:  blockchain, cryptocurrency
Particl Desktop
The GUI application for Particl Markeplace and PART coin wallet. A decentralized peer to peer marketplace –free, secure, private, untraceable.
Stars: ✭ 131 (-23.84%)
Mutual labels:  blockchain, cryptocurrency
My Token
📈Track token prices of your favorite exchanges in terminal!
Stars: ✭ 141 (-18.02%)
Mutual labels:  blockchain, cryptocurrency
Simplecoin
Just a really simple, insecure and incomplete implementation of a blockchain for a cryptocurrency made in Python as educational material. In other words, a simple Bitcoin clone.
Stars: ✭ 1,694 (+884.88%)
Mutual labels:  blockchain, cryptocurrency
Gulden Official
Blockchain as intended
Stars: ✭ 126 (-26.74%)
Mutual labels:  blockchain, cryptocurrency
Adalite
A lightweight web wallet for Cardano cryptocurrency with Trezor and Ledger support. Please note that the only valid domain for our wallet is adalite.io
Stars: ✭ 146 (-15.12%)
Mutual labels:  blockchain, cryptocurrency
Awesome Token Sale
Curated list of token sale resources / ICO resources
Stars: ✭ 149 (-13.37%)
Mutual labels:  blockchain, cryptocurrency

dcrwallet

dcrwallet is a daemon handling Decred wallet functionality. All interaction with the wallet is performed over RPC.

Public and private keys are derived using the hierarchical deterministic format described by BIP0032. Unencrypted private keys are not supported and are never written to disk. dcrwallet uses the m/44'/<coin type>'/<account>'/<branch>/<address index> HD path for all derived addresses, as described by BIP0044.

dcrwallet provides two modes of operation to connect to the Decred network. The first (and default) is to communicate with a single trusted dcrd instance using JSON-RPC. The second is a privacy-preserving Simplified Payment Verification (SPV) mode (enabled with the --spv flag) where the wallet connects either to specified peers (with --spvconnect) or peers discovered from seeders and other peers. Both modes can be switched between with just a restart of the wallet. It is advised to avoid SPV mode for heavily-used wallets which require downloading most blocks regardless.

Not all functionality is available when running in SPV mode. Some of these features may become available in future versions, but only if a consensus vote passes to activate the required changes. Currently, the following features are disabled or unavailable to SPV wallets:

  • Voting

  • Revoking tickets before expiry

  • Determining exact number of live and missed tickets (as opposed to simply unspent).

Wallet clients interact with the wallet using one of two RPC servers:

  1. A JSON-RPC server inspired by the Bitcoin Core rpc server

    The JSON-RPC server exists to ease the migration of wallet applications from Core, but complete compatibility is not guaranteed. Some portions of the API (and especially accounts) have to work differently due to other design decisions (mostly due to BIP0044). However, if you find a compatibility issue and feel that it could be reasonably supported, please report an issue. This server is enabled by default as long as a username and password are provided.

  2. A gRPC server

    The gRPC server uses a new API built for dcrwallet, but the API is not stabilized. This server is enabled by default and may be disabled with the config option --nogrpc. If you don't mind applications breaking due to API changes, don't want to deal with issues of the JSON-RPC API, or need notifications for changes to the wallet, this is the RPC server to use. The gRPC server is documented here.

Installing and updating

Binaries (Windows/Linux/macOS)

Binary releases are provided for common operating systems and architectures. Please note that dcrwallet is CLI only. It is included in the CLI app suite. If you would prefer a graphical user interface (GUI) instead, consider downloading the GUI wallet Decrediton.

https://decred.org/downloads/

Build from source (all platforms)

  • Install Go 1.15 or 1.16

    Installation instructions can be found here: https://golang.org/doc/install. Ensure Go was installed properly and is a supported version:

    $ go version
    $ go env GOROOT GOPATH
    

    NOTE: GOROOT and GOPATH must not be on the same path. It is recommended to add $GOPATH/bin to your PATH according to the Golang.org instructions.

  • Build or Update dcrwallet

    Since dcrwallet is a single Go module, it's possible to use a single command to download, build, and install without needing to clone the repo. If using Go 1.16, run

    $ go install decred.org/dcrwallet/[email protected]
    

    to build the latest master branch, or:

    $ go install decred.org/[email protected]
    

    for the latest released version.

    Any version, branch, or tag may be appended following a @ character after the package name. The implicit default is to build @latest, which is the latest semantic version tag. Building @master will build the latest development version. The module name, including any /vN suffix, must match the module line in the go.mod at that version. See go help install for more details.

    The dcrwallet executable will be installed to $GOPATH/bin. GOPATH defaults to $HOME/go (or %USERPROFILE%\go on Windows).

Getting Started

dcrwallet can connect to the Decred blockchain using either dcrd or by running in Simple Payment Verification (SPV) mode. Commands should be run in cmd.exe or PowerShell on Windows, or any terminal emulator on *nix.

  • Run the following command to create a wallet:
dcrwallet --create
  • To use dcrwallet in SPV mode:
dcrwallet --spv

dcrwallet will find external full node peers. It will take a few minutes to download the blockchain headers and filters, but it will not download full blocks.

  • To use dcrwallet using a localhost dcrd:

You will need to install both dcrd and dcrctl. dcrctl is the client that controls dcrd and dcrwallet via remote procedure call (RPC).

Please follow the instructions in the documentation, beginning with Startup Basics

Running Tests

All tests may be run using the script run_tests.sh. Generally, Decred only supports the current and previous major versions of Go.

./run_tests.sh

Contact

If you have any further questions you can find us at:

https://decred.org/community/

Issue Tracker

The integrated github issue tracker is used for this project.

Documentation

The documentation for dcrwallet is a work-in-progress. It is located in the docs folder.

Additional documentation can be found on docs.decred.org.

License

dcrwallet is licensed under the liberal ISC License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].