wss://beeblebrox.zero.io/node
balances
setBalance(who, newFree, newReserved)
who
: keep Id
selectedId
: select your personal wallet address which should receive ZERO coinsnewFree
: enter 1000000000000000000000
to receive 1000 ZEROnewReserved
: leave 0 insideSubmit Sudo
Sign and Submit
in the new modalcurrencies
updateBalance(who, currencyId, amount)
who
: keep Id
selectedId
: select your personal wallet address which should receive GAME tokenscurrencyId
: enter 1
for GAME tokenamount
: enter 1000000000000000000000
to receive 1000 GAMESubmit Sudo
Sign and Submit
in the new modalcurrencies
updateBalance(who, currencyId, amount)
who
: keep Id
selectedId
: select your personal wallet address which should receive PLAY tokenscurrencyId
: enter 2
for PLAY tokenamount
: enter 1000000000000000000000
to receive 1000 PLAYSubmit Sudo
Sign and Submit
in the new modalusing the selected account
(do not use Alice for this, use account1)control
pallet "submit the following extrinsic"createOrg(...)
in the right dropdownname
: enter some name (your Organisation name)cid
: Qmeaj2DCJw71qwUZN8N2r4GVcBBGfqiyMMBrh15n2KbY7G
(a prefilled Content ID on IPFS containing description and logo)orgType
: select any (eg. Individual)access
: Open feeModel
: NoFees
(or select Transfer
if your Organisation wants to collect entry fees)fee
: enter eg. 1000000000000000000
if you selected Transfer
or Reserve
in point 5 or leave 0 if NoFees
was selectedgovAsset
: 1
--> which represents GAME tokenpayAsset
: 2
--> which represents PLAY tokenmemberLimit
: add eg. 100
for a limit of 100 membersdeposit
: add 10000000000000000000
for a deposit of 10 GAME (minimum deposit is currently 5 GAME)Submit Transaction
Sign and Submit
control
pallet and orgsControlled(AccoundId32)
and submit the query by clicking the "+" button. Make sure the account is selected which you set as controller at 7.1.
You should receive an organisationId
which represents your Organisation.
๐ง Copy that ID and note it down somewhere as you will need it in other steps. control
pallet and addMember(orgId, accountId)
in the right dropdownSubmit Transaction
Sign and Submit
using the selected account
flow
pallet and createCampaign(...)
in the right dropdownorgId
: enter the orgId
from the Organisation you created and which you copied before adminId
: select the account which owns the Organisation name
: add a nice name ("My Campaign")target
: 10000000000000000000
(for 10 PLAY)deposit
: 1000000000000000000
(for 1 GAME)expiry
: enter a block number which is in the future (look at the current block number on the top left of polkadot.js.org and add 600 blocks for 30 minutes or 1200 for 1h if you need more time for testing).
๐ง At this expiry block number the campaign will expire. When it is not fully funded the users who funded the campaign will receive their token back. If it was funded in before this block number was processed the campaign was successful. protocol
: Raise
(fundraising protocol)governance
: No
(no campaign governance by the funding audience)cid
: Qmeaj2DCJw71qwUZN8N2r4GVcBBGfqiyMMBrh15n2KbY7G
tokenSymbol
: PLAY
tokenName
: Play
Submit Transaction
Sign and Submit
campaignId
is created by clicking to Developer --> Chain State --> select flow
pallet and campaignsByOrg(H256)
and add your organisationId
as the parameter H256
and submit the query by clicking the "+" button.
You should receive an campaignId
which represents your Campaign.
๐ง Copy that ID and note it down somewhere as you will need it in other steps. flow
pallet and contribute(campaignId, contribution)
in the right dropdownusing the selected account
campaignId
: add the copied campaignId
contribution
: 11000000000000000000
11 PLAY to overachieve the target of 10 PLAY Submit Transaction
Sign and Submit
campaignId
is funded by clicking to Developer --> Chain State --> select flow
pallet and campaignsBalance(H256)
and add your campaignId
as the parameter H256
and submit the query by clicking the "+" button. signal
pallet and withdrawProposal(campaignId, title, cid, amount, start, expiry)
in the right dropdownusing the selected account
campaignId
: the campaignId
which was fundedtitle
: give your proposal a name like "withdraw funds"Qmeaj2DCJw71qwUZN8N2r4GVcBBGfqiyMMBrh15n2KbY7G
(content ID for proposal content)amount
: 10000000000000000000
start:
add block number (
choose a block number in the near future)expiry:
add block number (
choose a block number in the future which allows you to have enough time to vote on the proposal ( eg. 300 blocks more than the starting block number for 15 minutes of voting time)proposalId
Submit Transaction
Sign and Submit
proposalId
which was createdsignal
pallet and simpleVote(proposalId, vote)
in the right dropdownusing the selected account
vote
: Yes
โ
Submit Transaction
Sign and Submit
control
pallet and orgTreasury(256)
in the right dropdownorganizationId
you have noted down in the beginning (or query chain state with "memberships" call)accountId
of the Organisation Treasruy)tokens
and accounts(AccountId, u32)
accountId
include option