# GENESIS.CONF
genesis-generator
{
network-type: "P" # your custom network identifier byte
initial-balance: 10000000000000000 # initial balance in wavelets
average-block-delay: 10s # average block delay
# timestamp: 1500635421931 # current time by default
# base-target: 999 # variable that adjusts the average block delay; calculated automatically if not specified
# the sum of shares should be = initial-balance
distributions =
[
{
seed-text: "rtk1hsdf2a-L"
nonce: 0
amount: 10000000000000000
}
]
# pre-activated-features = [1,2,15] # by default all features will be activated from height 0
}
# YOUR_FORK_NODE_NAME.CUSTOM.CONF
waves {
directory = /var/lib/waves
blockchain {
type: CUSTOM
custom {
address-scheme-character: "P"
functionality {
feature-check-blocks-period = 5
blocks-for-feature-activation = 5
allow-temporary-negative-until: 0
allow-invalid-payment-transactions-by-timestamp: 0
require-sorted-transactions-after: 0
generation-balance-depth-from-50-to-1000-after-height: 0
minimal-generating-balance-after: 0
allow-transactions-from-future-until: 0
allow-unissued-assets-until: 0
require-payment-unique-id-after: 0
allow-invalid-reissue-in-same-block-until-timestamp: 0
allow-multiple-lease-cancel-transaction-until-timestamp: 0
reset-effective-balances-at-height: 1
allow-leased-balance-transfer-until: 0
block-version-3-after-height: 0
pre-activated-features = {
1 = 0
2 = 0
3 = 0
4 = 0
5 = 0
6 = 0
7 = -${waves.blockchain.custom.functionality.feature-check-blocks-period}
8 = 0
9 = 0
10 = 0
11 = 0
12 = 0
13 = 0
14 = 1
15 = 0
16 = 0
}
double-features-periods-after-height = 1000000000
max-transaction-time-back-offset = 120m
max-transaction-time-forward-offset = 90m
min-asset-info-update-interval = 2
min-block-time = 5s
}
genesis {
average-block-delay: 10s
initial-base-target: 1000000
timestamp: 1698432679431 # 2023-10-27T18:51:19.431Z
block-timestamp: 1698432679431 # 2023-10-27T18:51:19.431Z
signature: "4dfhJ795gAPoCQh2uh1yLJdqmNnT93xsVmDMm3S7Li6k2jH9u3Y24BFYM5ADgFNwRosxizxS7rS3bC9wRcNnD4A2"
initial-balance: 10000000000000000
transactions = [
{recipient: "3LGVg7WRgtUKhpTXe2Zf8XBZ8iU6Yor8Lrh", amount: 10000000000000000}
]
}
rewards {
term = 6
term-after-capped-reward-feature = 3
initial = 600000000
min-increment = 50000000
voting-interval = 3
}
}
}
rewards.desired = 575000000
network {
bind-address = "server_ip"
# bind-address = "127.0.0.1"
port = 6860
# known-peers = ["server_ip:6869"]
node-name = "Private node"
declared-address = "127.0.0.1:6860"
traffic-logger {
ignore-tx-messages = [1, 2, 20, 21, 22, 24, 26, 27, 28]
ignore-rx-messages = ${waves.network.traffic-logger.ignore-tx-messages}
}
}
wallet {
seed = "3AGmb13gR3fVpkZcw"
password = "rtk1hsdf2a-L"
}
rest-api {
enable = yes
bind-address = "server_ip"
# bind-address = "127.0.0.1"
port = 6869
# api-key-hash = "BNejVjPAWUrXJTqNrTboGPENAJt9PXnmfdtBgMSgs1u3"
minimum-peers = 0
}
miner {
interval-after-last-block-then-generation-is-allowed = 999d
max-transactions-in-micro-block = 500
micro-block-interval = 1500ms
min-micro-block-age = 0s
quorum = 0
}
}
kamon.enable = no
metrics.enable = no
include "local.conf"
# COMMAND
java -cp ./your_fork_node_name-all-1.3.5.jar com.wavesplatform.GenesisBlockGenerator genesis.conf
java -jar your_fork_node_name-all-1.3.5.jar your_fork_node_name.custom.conf
nohup java -jar your_fork_node_name-all-1.3.5.jar your_fork_node_name.custom.conf &
# RESULT
Addresses:
Seed text: rtk1hsdf2a-L
Seed: 3AGmb13gR3fVpkZcw
Account seed: 2h2jSKdKDkT8hWCWDzokXPfGXCpmD3EzyvpiqwxPPAdn
Private account key: BG9rYnFA7cCwqspzDEAnXhGtX9qV4eN5eJDjjfxzzcvX
Public account key: 2DM1BGRcmdCKtZFR79gvzVCppJZSvW3LDNt82DjgnKot
Account address: 3LGVg7WRgtUKhpTXe2Zf8XBZ8iU6Yor8Lrh
===
Settings:
waves {
blockchain.custom {
address-scheme-character = P
functionality {
pre-activated-features = null # undefines all previously defined pre-activated features
pre-activated-features = {1 = 0, 2 = 0, 3 = 0, 4 = 0, 5 = 0, 6 = 0, 7 = 0, 8 = 0, 9 = 0, 10 = 0, 11 = 0, 12 = 0, 13 = 0, 14 = 0, 15 = 0, 16 = 0}
}
genesis {
average-block-delay: 10s
initial-base-target: 1000000
timestamp: 1698432679431 # 2023-10-27T18:51:19.431Z
block-timestamp: 1698432679431 # 2023-10-27T18:51:19.431Z
signature: "4dfhJ795gAPoCQh2uh1yLJdqmNnT93xsVmDMm3S7Li6k2jH9u3Y24BFYM5ADgFNwRosxizxS7rS3bC9wRcNnD4A2"
initial-balance: 10000000000000000
transactions = [
{recipient: "3LGVg7WRgtUKhpTXe2Zf8XBZ8iU6Yor8Lrh", amount: 10000000000000000}
]
}
}
# wallet {
# seed = 3AGmb13gR3fVpkZcw
# password =
# }
}
forked from Thoth41/Thoth41
-
Notifications
You must be signed in to change notification settings - Fork 0
License
TG-creative-web/IA-4
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Code of conduct
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published