forked from raindrops-protocol/raindrops
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
51 lines (42 loc) · 1.28 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Architecture Docs: https://solanalabs.notion.site/Raindrops-Protocol-Architecture-Guide-c13bbd3ff0ae4989baeb27208318c558
Can install the raindrop-cli with
`npm install -g raindrops-cli`
Access the items-cli via
`items-cli --help`
Right now this is just scratch pad for examples. Will be readme eventually.
Example usage:
```
{
"index": 0,
"basicItemEffects": null,
"callback": null,
"validation": {
"key": "nameAxQRRBnd4kLfsVoZBBXfrByZdZTkh8mULLxLyqV",
"code": 35
},
"usagePermissiveness": [{ "updateAuthority": true }],
"inherited": { "notInherited": true },
"itemClassType": {
"consumable": {
"maxUses": null,
"maxPlayersPerUse": null,
"itemUsageType": { "infinite": true },
"cooldownDuration": 500,
"warmupDuration": null
}
}
}
```
Example component:
```
{
"mint": "6dwpqSumAiXWWWXSLAcscauNrqijBQdR8DDQgTuBs8v4",
"amount": 0,
"classIndex": 0,
"timeToBuild": null,
"componentScope": "set1",
"useUsageIndex": 0,
"condition": { "absence": true },
"inherited": { "notInherited": true }
}
```