Skip to content

Commit

Permalink
Merge branch 'development' of github.com:DecentralCardGame/Cardchain …
Browse files Browse the repository at this point in the history
…into development
  • Loading branch information
lxgr-linux committed Dec 16, 2023
2 parents 1359712 + d5018af commit b040a40
Show file tree
Hide file tree
Showing 5 changed files with 88 additions and 5 deletions.
4 changes: 2 additions & 2 deletions scripts/paramchange/paramchange.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"title": "Param change setSize: 140",
"title": "Param change setSize: 135",
"description": "We want to change the set size",
"changes": [
{
"subspace": "cardchain",
"key": "SetSize",
"value": "120"
"value": "135"
}
],
"deposit": "10000000ubpf"
Expand Down
4 changes: 3 additions & 1 deletion scripts/paramchange/submitproposal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )

cd "$parent_path"

Cardchaind tx gov submit-legacy-proposal param-change paramchange.json --from jannik
Cardchaind tx gov submit-legacy-proposal param-change paramchange.json --from jannik

Cardchaind q gov proposals
29 changes: 28 additions & 1 deletion scripts/sets/add-cards.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ if [ $# -lt 1 ]; then
exit 2
fi

#technology
Cardchaind tx cardchain add-card-to-set $1 71 --from jannik
Cardchaind tx cardchain add-card-to-set $1 44 --from jannik
Cardchaind tx cardchain add-card-to-set $1 142 --from jannik
Expand Down Expand Up @@ -35,9 +36,10 @@ Cardchaind tx cardchain add-card-to-set $1 139 --from jannik
Cardchaind tx cardchain add-card-to-set $1 253 --from jannik
Cardchaind tx cardchain add-card-to-set $1 381 --from jannik
Cardchaind tx cardchain add-card-to-set $1 412 --from jannik
#nature
Cardchaind tx cardchain add-card-to-set $1 407 --from jannik
Cardchaind tx cardchain add-card-to-set $1 73 --from jannik
Cardchaind tx cardchain add-card-to-set $1 411 --from jannik SHIT
Cardchaind tx cardchain add-card-to-set $1 411 --from jannik
Cardchaind tx cardchain add-card-to-set $1 154 --from jannik
Cardchaind tx cardchain add-card-to-set $1 147 --from jannik
Cardchaind tx cardchain add-card-to-set $1 156 --from jannik
Expand Down Expand Up @@ -65,6 +67,7 @@ Cardchaind tx cardchain add-card-to-set $1 397 --from jannik
Cardchaind tx cardchain add-card-to-set $1 159 --from jannik
Cardchaind tx cardchain add-card-to-set $1 410 --from jannik
Cardchaind tx cardchain add-card-to-set $1 158 --from jannik
#mysticism
Cardchaind tx cardchain add-card-to-set $1 47 --from jannik
Cardchaind tx cardchain add-card-to-set $1 36 --from jannik
Cardchaind tx cardchain add-card-to-set $1 65 --from jannik
Expand Down Expand Up @@ -95,6 +98,7 @@ Cardchaind tx cardchain add-card-to-set $1 24 --from jannik
Cardchaind tx cardchain add-card-to-set $1 102 --from jannik
Cardchaind tx cardchain add-card-to-set $1 104 --from jannik
Cardchaind tx cardchain add-card-to-set $1 224 --from jannik
#culture
Cardchaind tx cardchain add-card-to-set $1 255 --from jannik
Cardchaind tx cardchain add-card-to-set $1 41 --from jannik
Cardchaind tx cardchain add-card-to-set $1 8 --from jannik
Expand Down Expand Up @@ -124,3 +128,26 @@ Cardchaind tx cardchain add-card-to-set $1 141 --from jannik
Cardchaind tx cardchain add-card-to-set $1 257 --from jannik
Cardchaind tx cardchain add-card-to-set $1 16 --from jannik
Cardchaind tx cardchain add-card-to-set $1 138 --from jannik
# multi class
Cardchaind tx cardchain add-card-to-set $1 562 --from jannik
Cardchaind tx cardchain add-card-to-set $1 189 --from jannik
Cardchaind tx cardchain add-card-to-set $1 152 --from jannik
Cardchaind tx cardchain add-card-to-set $1 126 --from jannik
Cardchaind tx cardchain add-card-to-set $1 514 --from jannik
Cardchaind tx cardchain add-card-to-set $1 379 --from jannik
Cardchaind tx cardchain add-card-to-set $1 238 --from jannik
Cardchaind tx cardchain add-card-to-set $1 128 --from jannik
Cardchaind tx cardchain add-card-to-set $1 118 --from jannik
Cardchaind tx cardchain add-card-to-set $1 13 --from jannik
Cardchaind tx cardchain add-card-to-set $1 132 --from jannik
Cardchaind tx cardchain add-card-to-set $1 87 --from jannik
Cardchaind tx cardchain add-card-to-set $1 29 --from jannik
Cardchaind tx cardchain add-card-to-set $1 1 --from jannik
Cardchaind tx cardchain add-card-to-set $1 397 --from jannik
Cardchaind tx cardchain add-card-to-set $1 131 --from jannik
Cardchaind tx cardchain add-card-to-set $1 129 --from jannik
Cardchaind tx cardchain add-card-to-set $1 120 --from jannik
Cardchaind tx cardchain add-card-to-set $1 507 --from jannik
Cardchaind tx cardchain add-card-to-set $1 215 --from jannik
Cardchaind tx cardchain add-card-to-set $1 124 --from jannik
Cardchaind tx cardchain add-card-to-set $1 115 --from jannik
29 changes: 28 additions & 1 deletion scripts/sets/card-rarity.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ if [ $# -lt 1 ]; then
exit 2
fi

#technology
Cardchaind tx cardchain set-card-rarity 71 $1 common --from jannik
Cardchaind tx cardchain set-card-rarity 44 $1 common --from jannik
Cardchaind tx cardchain set-card-rarity 142 $1 uncommon --from jannik
Expand Down Expand Up @@ -35,6 +36,7 @@ Cardchaind tx cardchain set-card-rarity 139 $1 uncommon --from jannik
Cardchaind tx cardchain set-card-rarity 253 $1 uncommon --from jannik
Cardchaind tx cardchain set-card-rarity 381 $1 uncommon --from jannik
Cardchaind tx cardchain set-card-rarity 412 $1 rare --from jannik
#nature
Cardchaind tx cardchain set-card-rarity 407 $1 uncommon --from jannik
Cardchaind tx cardchain set-card-rarity 73 $1 common --from jannik
Cardchaind tx cardchain set-card-rarity 411 $1 common --from jannik SHIT
Expand Down Expand Up @@ -65,6 +67,7 @@ Cardchaind tx cardchain set-card-rarity 397 $1 rare --from jannik
Cardchaind tx cardchain set-card-rarity 159 $1 rare --from jannik
Cardchaind tx cardchain set-card-rarity 410 $1 uncommon --from jannik
Cardchaind tx cardchain set-card-rarity 158 $1 uncommon --from jannik
#mysticism
Cardchaind tx cardchain set-card-rarity 47 $1 common --from jannik
Cardchaind tx cardchain set-card-rarity 36 $1 uncommon --from jannik
Cardchaind tx cardchain set-card-rarity 65 $1 uncommon --from jannik
Expand Down Expand Up @@ -95,6 +98,7 @@ Cardchaind tx cardchain set-card-rarity 24 $1 uncommon --from jannik
Cardchaind tx cardchain set-card-rarity 102 $1 uncommon --from jannik
Cardchaind tx cardchain set-card-rarity 104 $1 uncommon --from jannik
Cardchaind tx cardchain set-card-rarity 224 $1 rare --from jannik
#culture
Cardchaind tx cardchain set-card-rarity 255 $1 uncommon --from jannik
Cardchaind tx cardchain set-card-rarity 41 $1 common --from jannik
Cardchaind tx cardchain set-card-rarity 8 $1 common --from jannik
Expand Down Expand Up @@ -123,4 +127,27 @@ Cardchaind tx cardchain set-card-rarity 20 $1 common --from jannik
Cardchaind tx cardchain set-card-rarity 141 $1 rare --from jannik
Cardchaind tx cardchain set-card-rarity 257 $1 common --from jannik
Cardchaind tx cardchain set-card-rarity 16 $1 rare --from jannik
Cardchaind tx cardchain set-card-rarity 138 $1 uncommon --from jannik
Cardchaind tx cardchain set-card-rarity 138 $1 uncommon --from jannik
# multi class
Cardchaind tx cardchain set-card-rarity 562 $1 common --from jannik
Cardchaind tx cardchain set-card-rarity 189 $1 common --from jannik
Cardchaind tx cardchain set-card-rarity 152 $1 common --from jannik
Cardchaind tx cardchain set-card-rarity 126 $1 common --from jannik
Cardchaind tx cardchain set-card-rarity 514 $1 common --from jannik
Cardchaind tx cardchain set-card-rarity 379 $1 common --from jannik
Cardchaind tx cardchain set-card-rarity 238 $1 common --from jannik
Cardchaind tx cardchain set-card-rarity 128 $1 uncommon --from jannik
Cardchaind tx cardchain set-card-rarity 118 $1 uncommon --from jannik
Cardchaind tx cardchain set-card-rarity 13 $1 uncommon --from jannik
Cardchaind tx cardchain set-card-rarity 132 $1 uncommon --from jannik
Cardchaind tx cardchain set-card-rarity 87 $1 uncommon --from jannik
Cardchaind tx cardchain set-card-rarity 29 $1 uncommon --from jannik
Cardchaind tx cardchain set-card-rarity 1 $1 uncommon --from jannik
Cardchaind tx cardchain set-card-rarity 397 $1 rare --from jannik
Cardchaind tx cardchain set-card-rarity 131 $1 rare --from jannik
Cardchaind tx cardchain set-card-rarity 129 $1 rare --from jannik
Cardchaind tx cardchain set-card-rarity 120 $1 rare --from jannik
Cardchaind tx cardchain set-card-rarity 507 $1 rare --from jannik
Cardchaind tx cardchain set-card-rarity 215 $1 rare --from jannik
Cardchaind tx cardchain set-card-rarity 124 $1 rare --from jannik
Cardchaind tx cardchain set-card-rarity 115 $1 rare --from jannik
27 changes: 27 additions & 0 deletions scripts/sets/howto.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
1. voting power to jannik -> delegate to validator
Cardchaind q staking validators
Cardchaind tx staking delegate ccvaloper1c2htcglks224ua32qd4p95p4ydumd0zaq9y3sj 5000000ubpf --from jannik

2. set size adjust? => paramchange folder

3.
bash create-set.sh
Cardchaind query cardchain q-sets design "[]" "[]" ""

4.
yes | bash add-cards.sh 1

5.
yes | bash card-rarity.sh 1

6.
bash story.sh

7.
bash add-artwork.sh

8.
bash finalize-set.sh

9.
bash vote.sh

0 comments on commit b040a40

Please sign in to comment.