-
Notifications
You must be signed in to change notification settings - Fork 7
PoW Guide
Download address of executable program (please select the latest version to download):
https://github.com/bigbangcore/BigBang/releases
Use the command "./bigbang makekeypair" to generate two group of public-private key pairs, and use the command "./bigbang getpubkeyaddress $pubkey" to obtain the corresponding public key address through the public key of one group of these keys that we will use them later.
NOTE: In the windows operating system,when executing the program in your current directory, please change the ". /bigbang" command to "bigbang". Same below.
./bigbang makekeypair
{
"privkey" : "514025fb4b6d6bdb15d4521d047d20ace5311fa10e2e8889adbd262f93dc673b",
"pubkey" : "14d39e3a7e7c408eceb8dbb213cfe047bed25aa1e8e317e08c65f3f577f73e2f"
}
./bigbang getpubkeyaddress 14d39e3a7e7c408eceb8dbb213cfe047bed25aa1e8e317e08c65f3f577f73e2f
15wzfexznydjrsr0qwfma2ppjqs3y1krkpbdvhkme81y7wemytcaf8k28 //Public key address, used as cryptonimhtaddress parameter
./bigbang makekeypair
{
"privkey" : "2f0d0cad44197616195558935407f9febc6028938022ce4dfc912e759c7b45f0", //Private key,used as cryptotonightkey parameter
"pubkey" : "e2b4371f93e98245dfdf137fe0205f21f6bef6825eab49c8cef0c25e0942a541"
}
After starting the program, the BigBang folder will be generated in the root directory of the system, and a new bigbang.conf file will be created by yourself in the BigBang folder, with the following configuration items will be added:
NOTE: In the windows operating system, the .bigBang directory is in the home directory of the parent directory of the executable program.
#public key address
cryptonightaddress=15wzfexznydjrsr0qwfma2ppjqs3y1krkpbdvhkme81y7wemytcaf8k28
#private key
cryptonightkey=2f0d0cad44197616195558935407f9febc6028938022ce4dfc912e759c7b45f0
listen4
#Set dnseed IP address
dnseed=15.188.165.143
#By default, the IP address of the gateway can not be provided. At this time, only data can be synchronized, and external services cannot be provided
#gateway=127.0.0.1
#use test net,do not set this parameter in real environment
#testnet
#The configuration of the primary node, but we don't need to set it when we don't know the primary node. Through dnseed, the primary node will be found automatically
#addnode=xxx.xxx.xxx.xxx
#addnode=xxx.xxx.xxx.xxx
cryptonightaddress and cryptonightkey: They are the related parameters of POW. If you don't do POW mining, add "#" in front of them
listen4: listen IPv4 address
dnseed: Address of dnseed server,Official recommendation 15.188.165.143 (required)
gateway:Refers to the address of the external service provided by this node.If the node server is on the public network, fill in the local IP address.if it is on the internal network,fill in the corresponding public IP address of the node,and the IP address needs to be mapped on the router to the 9903 port on the local machine
testnet:if you set this parameter,it indicates that you will access the test network
4. After the configuration is completed,restart the program,and the data starts to automatically synchronize.You can get the block height through the following command.
./bigbang getblockcount
- 3209
./bigbang importprivkey 2f0d0cad44197616195558935407f9febc6028938022ce4dfc912e759c7b45f0 123456
--e2b4371f93e98245dfdf137fe0205f21f6bef6825eab49c8cef0c25e0942a541
./bigbang importprivkey 514025fb4b6d6bdb15d4521d047d20ace5311fa10e2e8889adbd262f93dc673b 123456
--14d39e3a7e7c408eceb8dbb213cfe047bed25aa1e8e317e08c65f3f577f73e2f
./bigbang listkey
[
{
"key" : "e2b4371f93e98245dfdf137fe0205f21f6bef6825eab49c8cef0c25e0942a541",
"version" : 1,
"locked" : true
},
{
"key" : "14d39e3a7e7c408eceb8dbb213cfe047bed25aa1e8e317e08c65f3f577f73e2f",
"version" : 1,
"locked" : true
}
]
./bigbang addnewtemplate mint '{"mint": "e2b4371f93e98245dfdf137fe0205f21f6bef6825eab49c8cef0c25e0942a541", "spent": "15wzfexznydjrsr0qwfma2ppjqs3y1krkpbdvhkme81y7wemytcaf8k28"}'
20g08xexyx0hakeg3sfa7ve6y3skpv19gt15mg3f784q6ejqp5a67xa7q //template address
./bigbang getbalance -a=20g08xexyx0hakeg3sfa7ve6y3skpv19gt15mg3f784q6ejqp5a67xa7q
./bigbang unlockkey $pubkey $pwd
eg:
./bigbang unlockkey e2b4371f93e98245dfdf137fe0205f21f6bef6825eab49c8cef0c25e0942a541 123456
Unlock key successfully: e2b4371f93e98245dfdf137fe0205f21f6bef6825eab49c8cef0c25e0942a541
./bigbang sendfrom $from $to $amount $fee
eg:
./bigbang sendfrom 20g08xexyx0hakeg3sfa7ve6y3skpv19gt15mg3f784q6ejqp5a67xa7q 20c03ddhd7j5345n1w31cq7aqes79hxw300jzye1pd741q48jh4rmtjfx 100 5
- Source Installation
- Executable Programs
- Take A Tour of BigBang
- CPoW SOLO Guide
- Create Forks
- Exchange Token Between Two Forks
- Mining by Connect to The Pool
- Miner Program
- EDPoS Vote Guide
- JSON RPC
- Command Line Tool
- TX vchdata serialization definition
- Tx signature field structure
- Multisignature
- IO Stream
- Data Stream