INSTALLING GO WISEPLAT
The Go implementation of Wiseplat can be installed using a variety of ways. These include installing it via downloading a standalone pre-built bundle; or building it yourself from source code. This document will detail all of these possibilities to get you quickly joining the Wiseplat network using whatever means you prefer.
Download standalone bundle
All our stable releases and develop builds are distributed as standalone bundles too. These can be useful for scenarios where you'd like to: a) install a specific version of our code (e.g. for reproducible environments); b) install on machines without internet access (e.g. air gapped computers); or c) simply do not like automatic updates and would rather manually install software.
We create the following standalone bundles:
- 32bit, 64bit, ARMv5, ARMv6, ARMv7 and ARM64 archives (
.tar.gz) on Linux
- 64bit archives (
.tar.gz) on macOS
- 32bit and 64bit archives (
.zip) and installers (
.exe) on Windows
For all archives we provide separate ones containing only Gwsh, and separate ones containing Gwsh along with all the developer tools from our repository (
rlpdump). Please see our
README for more information about these executables.
To download these bundles, please head the Go Wiseplat Downloads page.
Build it from source code
Go Wiseplat (as its name implies) is written in Go, and as such to build from source code you'll need to ensure that you have at least Go 1.7 installed (preferably the latest version, currently at 1.9.2). This guide will not go into details on how to install Go itself, for that please consult the Go installation instructions and grab any needed bundles from the Go download page.
Assuming you have Go installed, you can download our project via:
go get -d github.com/wiseplat/go-wiseplat
The above command will checkout the default version of Go Wiseplat into your local
GOPATH work space, but it will not build any executables for you. To do that you can either build one specifically:
go install github.com/wiseplat/go-wiseplat/cmd/gwsh
Or you can also build the entire project and install
gwsh along with all developer tools by running
go install ./... in the repository root inside your
GOPATH work space.
Building without a Go workflow
If you do not want to set up Go work spaces on your machine, only build
gwsh and forget about the build process, you can clone our repository directly into a folder of your choosing and invoke
make, which will configure everything for a temporary build and clean up after itself:
git clone https://github.com/wiseplat/go-wiseplat.git cd go-wiseplat make gwsh
This will create a
gwsh.exe on Windows) executable file in the
go-wiseplat/build/bin folder that you can move wherever you want to run from. The binary is standalone and doesn't require any additional files.
Instruction to start MINER for WISEPLAT
The mining process can be started in two ways.
1. The first way is to use an external mining pool. In that way you only need one program - mining tool that must be running on your mining hardware with pointing it to your own wallet address and pointing to address of mining pool.
2. The second way is to use a local mining. In that way you only need two programs - mining tool and locally started blockchain with RPC protocol enabled.
Optionally in both cases you can see your wallet balance by starting Wiseplat Wallet.
Let's see the first way:
This is in a process of testing.... Announce will be in 3-5 days.
Let's go through the second way:
1. Download program for Wiseplat Chain (gwsh) from https://github.com/WISEPLAT/go-wiseplat/releases for your OS architecture.
2. Install GWSH and start it with RPC protocol enabled.
gwsh -rpc -rpcaddr 127.0.0.1
3. Please wait for its sync.
4. Now you have locally started blockchain.
Guess that you have your wallet already created, if not then follow tab CREATE WALLET.
5. Download mining tool (wshminer) from https://github.com/WISEPLAT/wshminer/releases for your OS architecture.
6. Unpack it and run with these options for NVIDIA cards
wshminer -U -F http://127.0.0.1:8747
or with these options for AMD cards:
wshminer -G -F http://127.0.0.1:8747
Video Instructions for Windows.
If you don't started gwsh console yet, then you run gwsh command with these options and you will get a new wallet
gwsh account new
You can create a wallet through command that must be run in gwsh console window:
First, run gwsh with console option:
gwsh -rpc -rpcaddr 127.0.0.1 console
or if it is already started connect to existing session with such option
then run this command in gwsh console to create a wallet with private key:
web3.personal.importRawKey("64 random bits from this range 0123456789abcdef","YourPasswordOrEmpty")
or run this command in gwsh console to create a wallet with random private key:
And the simplest way to create a wallet is to start Wiseplat Wallet and create it by clicking the link "ADD ACCOUNT".
P.S. But when you want to start gwsh with RPC enabled - you need to close Wiseplat Wallet as it starts its own gwsh instance. And after you have started gwsh with RPC enabled you can start Wiseplat Wallet as usual.