0.6.23 • Published 7 months ago
@pixelaw/core-dojo v0.6.23
How Interactions (should) work
- user clicks on pixel
- retrieve function signature
- if just DefaultParams : prep action function -> return
- prep Param objects for each
- has transformer? (prefix with "crc","crv", "crs")
Function signature fields
Example from RPS:
- first_move(crc_move_Move)
- second_move(move)
- finish(crv_move, crs_move)
"Param.transformer()"
Param Transformers
- "crc_VARNAME_VARTYPE": CommitReveal: Commit
- collect variable value from UI
- create salt
- Hash variable with salt
- submit the hash as felt252
- store VARNAME+SALT in KVstore for later retrieval
- "crv_VARNAME": CommitReveal: Value
- retrieve value of VARNAME from storage
- submit value
"crs_VARNAME": CommitReveal: Salt
- retrieve value of SALT from storage
- submit value
ContractCall
- Params
- StringParam
- NumberParam
- EnumParam
0.6.23
7 months ago
0.6.22
7 months ago
0.6.21
7 months ago
0.6.20
7 months ago
0.6.19
7 months ago
0.6.17
7 months ago
0.6.16
7 months ago
0.6.15
7 months ago
0.6.14
7 months ago
0.6.13
7 months ago
0.6.12
7 months ago
0.6.11
7 months ago
0.6.10
7 months ago
0.6.9
8 months ago
0.6.8
8 months ago
0.6.7
8 months ago
0.6.6
8 months ago
0.6.5
8 months ago
0.6.4
8 months ago
0.6.3
8 months ago
0.6.2
8 months ago
0.6.1
8 months ago
0.5.3
8 months ago