All Projects → spacemeshos → smrepl

spacemeshos / smrepl

Licence: MIT license
A Spacemesh Terminal wallet app

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to smrepl

local-testnet
A local testnet of go-spacemesh full nodes running the Spacemesh protocol and a functional CLI wallet. 💾⏰
Stars: ✭ 13 (-18.75%)
Mutual labels:  testnet, spacemesh
freewallet-mobile
Mobile wallet for iOS/Android/Browser which supports Bitcoin and Counterparty
Stars: ✭ 51 (+218.75%)
Mutual labels:  wallet, testnet
kukai
Web wallet for the Tezos blockchain
Stars: ✭ 157 (+881.25%)
Mutual labels:  wallet
cryptowallet-cli
CW is a crypto wallet generator CLI tool for a lot of blockchains: Bitcoin, Ethereum, Binance Smart Chain and many others
Stars: ✭ 45 (+181.25%)
Mutual labels:  wallet
DAPSCoin
DAPS is the world's first coin to implement Bulletproofs and RingCT & Ring Signatures in a staking chain. With DAPS it is possible to stake, run masternodes and mine PoA blocks.
Stars: ✭ 58 (+262.5%)
Mutual labels:  wallet
project-icarus-chrome
Icarus, a reference implementation for a lightweight wallet developed by the IOHK Engineering Team.
Stars: ✭ 32 (+100%)
Mutual labels:  wallet
polkawallet-flutter
Replace to: https://github.com/polkawallet-io/app
Stars: ✭ 107 (+568.75%)
Mutual labels:  wallet
cashuwallet
Cashu is a cryptocurrency wallet for smartphones. Be your own bank. Accept payments or spend crypto directly from your phone.
Stars: ✭ 35 (+118.75%)
Mutual labels:  wallet
lightning-browser-extension
The Bitcoin Lightning Browser extension that connects to different wallet interfaces and brings deep lightning integration to the web
Stars: ✭ 194 (+1112.5%)
Mutual labels:  wallet
clorio-client
💰 A Mina Protocol Wallet - The most used Mina Protocol wallet.
Stars: ✭ 49 (+206.25%)
Mutual labels:  wallet
evian
www.balletcrypto.org/
Stars: ✭ 21 (+31.25%)
Mutual labels:  wallet
Card-Tray-Demo
A clone of Apple's Wallet app
Stars: ✭ 40 (+150%)
Mutual labels:  wallet
Codeigniter-blockchain
A library to use the Blockchain Wallet API: https://blockchain.info/api/blockchain_wallet_api
Stars: ✭ 19 (+18.75%)
Mutual labels:  wallet
RavenCoin-Wallet-With-Miners
RavenCoin Wallet including CPU and GPU miners! programs are directly from Ravencoin and official miner sources
Stars: ✭ 75 (+368.75%)
Mutual labels:  wallet
ethereum-wallet-comparison
💰 Ethereum Wallet Comparison
Stars: ✭ 51 (+218.75%)
Mutual labels:  wallet
asgardex-electron
||| ASGARDEX Electron App ||| desktop wallet and decentralized exchange for THORChain ||| 100% open-source
Stars: ✭ 93 (+481.25%)
Mutual labels:  wallet
tangem-sdk-ios
The native Swift library for iOS platforms
Stars: ✭ 35 (+118.75%)
Mutual labels:  wallet
station
station.terra.money
Stars: ✭ 53 (+231.25%)
Mutual labels:  wallet
EOSWallet
🔐EOS Wallet: Manage your EOS accounts with steroids :)
Stars: ✭ 36 (+125%)
Mutual labels:  wallet
filsnap
MetaMask snap for interacting with Filecoin dapps.
Stars: ✭ 60 (+275%)
Mutual labels:  wallet

SMRepl - A Spacemesh REPL

Overview

SMRepl is a basic reference Spacemesh wallet and a full node manager command line REPL.

Smrepl is designed to work together with a locally running go-spacemesh full node or with the public Spacemesh API.

Target users are developers who want to hack on the Spacemesh platform and Spacemesh devnet or testnet users who are comfortable with terminal apps and REPLs.

For users who are not comfortable with terminal apps we recommend using Smapp - the Spacemesh App. Smapp is available for all major desktop platforms and includes a wallet and a full Spacemesh managed node.


TL;DR - Use with a Spacemesh Devnet or Testnet

  1. Download a release of smrepl that the devnet supports to your computer or build it from source code
  2. Download a release of go-spacemesh node that the devenet supports to your computer
  3. Download a devnet or a testnet config file to your computer and save it in the same directory as your downloaded node
  4. Start the node with the config file. e.g. ./go-spacemesh -c net_20_conf.json > node_logs.txt in a terminal window
  5. Launch smrepl in another a terminal window. e.g. ./smrepl

Smrepl should connect to your node on startup.


Features

SMRepl is a Spacemesh API client and it implements basic wallet features via a REPL interface. Using it you can create a new coin account, execute transactions, check account balance and view transactions. You can also use it to se tup smeshing (Spacemesh mining) for your local node.

You can also use it when working on Spacemesh code by connecting it to a locally built node or to a local Spacemesh devnet

You can also connect to a public Spacemesh network API. In this configuration you can execute transactions, view account balances, past transactions and smeshing rewards.

Building

Build for your current platform with go:

go get && go build

Build for all platforms:

make

Build for a specific platforms:

make build-win
make build-mac
make build-linux

With docker:

make dockerbuild-go

CLI Flags

Use -wallet_directory to override the default of current working directory when opening and creating wallets.

Use -wallet to specify a wallet to pre-open when starting cli-wallet. cli-wallet will look in current directory unless -wallet_directory has been specified.

Using with a public Spacemesh API server

You can use your wallet without running a full node by connecting it to a public Spacemesh api service for a Spacemesh network. Use the -grpc-server and -secure flags connect to a remote Spacemesh api server. For example:

./cli_wallet_darwin_amd64 -server api-123.spacemesh.io:443 -secure

Note that communications with the server will be secure using https/tls but the wallet doesn't currently verify the server identity.

Your can find the grpc server url of a public Spacemesh testnet by copying the value of the grpcAPI field from the Spacemesh discovery srvice data.

Using with a local Spacemesh full node

  1. Join a Spacemesh network by running go-spacemesh or Smapp on your computer.
  2. Build the wallet from this repository and run it. For example on OS X:
make build-mac
./smrepl_darwin_amd64

By default, smrepl attempts to connect to the api server provided by your locally running Spacemesh full node using the default node's grpc api port (localhost:9092). When you run your full node directly in terminal, you can configure which api services will be available to your wallet by your node by changing entries int he api section of your node's config file:

{
   "api" : {
      "grpc": "node,mesh,globalstate,transaction,smesher"
   }
}
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].