JaxNet (coin)

From JaxNetwork Wiki
Revision as of 20:18, 1 September 2022 by Ishyshatskyi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

JaxNet or JXN is an asset coin in Jax.Network. It is mined, transferred and stored on the beacon chain. JXN and JAX are the only two layer-1 cryptocurrencies in Jax.Network. One JaxNet coin equals to 100,000,000 Haber-Stornetta.

Premine and mining

Mining schedule

JaxNet mining schedule
Epoch First
block
Last
block
Block
reward
Supply by the end
of the epoch
Premine 0 0 N/A 36,000,000
1 1 3072 340 37,044,480
2 3073 9216 330 39,072,000
3 9217 15360 320 41,038,080
4 15361 21504 310 42,942,720
5 21505 27648 300 44,785,920
6 27649 33792 290 46,567,680
7 33793 39936 280 48,288,000
8 39937 46080 270 49,946,880
9 46081 52224 260 51,544,320
10 52225 58368 255 53,111,040
11 58369 64512 250 54,647,040
12 64513 70656 245 56,152,320
13 70657 76800 240 57,626,880
14 76801 82944 235 59,070,720
15 82945 89088 230 60,483,840
16 89089 95232 225 61,866,240
17 95233 101376 220 63,217,920
18 101377 107520 205 64,477,440
19 107521 113664 190 65,644,800
20 113665 119808 175 66,720,000
21 119809 125952 160 67,703,040
22 125953 132096 145 68,593,920
23 132097 138240 130 69,392,640
24 138241 144384 115 70,099,200
25 144385 150528 100 70,713,600
26 150529 156672 95 71,297,280
27 156673 162816 90 71,850,240
28 162817 168960 85 72,372,480
29 168961 175104 80 72,864,000
30 175105 181248 75 73,324,800
31 181249 187392 70 73,754,880
32 187393 193536 65 74,154,240
33 193537 199680 60 74,522,880
34 199681 205824 55 74,860,800
35 205825 211968 50 75,168,000
36 211969 218112 45 75,444,480
37 218113 224256 40 75,690,240
38 224257 230400 35 75,905,280
39 230401 236544 30 76,089,600
40 236545 242688 25 76,243,200
41 242689 248832 20 76,366,080
42 248833 254976 20 76,488,960
43 254977 261120 20 76,611,840
44 261121 267264 20 76,734,720
45 267265 273408 20 76,857,600
46 273409 279552 20 76,980,480
47 279553 285696 20 77,103,360
48 285697 291840 20 77,226,240
49 291841 297984 20 77,349,120
50 297985 304128 20 77,472,000
51 304129 310272 20 77,594,880
52 310273 316416 20 77,717,760
53 316417 322560 20 77,840,640
54 322561 328704 20 77,963,520
55 328705 334848 20 78,086,400
56 334849 340992 20 78,209,280
57 340993 347136 20 78,332,160
58 347137 353280 20 78,455,040
59 353281 359424 20 78,577,920
60 359425 365568 20 78,700,800

Octave code

clc;
clear;
close all;

N = 60; % epoch count

Premine = 36000000;

Epoch = 1:N;
FB = zeros(1,N); % first block
LB = zeros(1,N); % last block
Reward = zeros(1,N); % block reward
Supply = zeros(1,N); % supply at the end of the epoch

FB = (1:N).*6144 - 9215;
FB(1,1) = 1;

LB = (1:N).*6144 - 3072;

Reward(1,1) = 340;

if (N>0)
    b = 1;
    e = min(8,N);
    Reward(1,b:e)= 350 - (1:8).*10;
endif
if (N>8)
    b = 9;
    e = min(16,N);
    Reward(1,b:e)= 265 - (1:8).*5;
endif
if (N>16)
    b = 17;
    e = min(24,N);
    Reward(1,b:e)= 235 - (1:8).*15;
endif
if (N>24)
    b = 25;
    e = min(32,N);
    Reward(1,b:e)= 105 - (1:8).*5;
endif
if (N>32)
    b = 33;
    e = min(40,N);
    Reward(1,b:e)= 65 - (1:8).*5;
endif
if (N>40)
    b = 41;
    e = N;
    Reward(1,b:e)= 20;
endif

Supply = (LB-FB+1).*Reward;
Supply = Premine + cumsum (Supply);
str = sprintf('%.0f ',Supply);
str = fliplr(regexprep(fliplr(str), '(\d+\.)?(\d{3})(?=\S+)', '$1$2,'));
[cstr] = strsplit (str, ' ');
cstr = resize(cstr',N,1);

%[Epoch; FB ; LB; Reward; Supply]
%sprintf("|-\n |%d\n |%d\n |%d\n |%d\n |%d\n",[Epoch; FB ; LB; Reward; Supply]);

Epoch = cellstr(num2str(Epoch'));
FB = cellstr(num2str(FB'));
LB = cellstr(num2str(LB'));
Reward = cellstr(num2str(Reward'));

output = [Epoch FB LB Reward cstr]';

printf("|-\n |%s\n |%s\n |%s\n |%s\n |%s\n",output{:});

See also