-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
306 lines (306 loc) · 18.9 KB
/
index.html
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
<!DOCTYPE html>
<html lang="en">
<head>
<link href="/fonts/fonts.css" rel="stylesheet" />
<link rel="shortcut icon" href="favicons/icon.svg" />
<meta name="description" content="OpenBrush is a library for smart contract development on ink! It provides standard contracts (based on PSP),
as well as useful contracts and macros to help you build ink! smart contracts." />
<meta name="keywords" content="polkadot, ink, rust, smart contract" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Openbrush</title>
<meta name="keywords" content="openbrush" />
<meta name="description" content="openbrush" />
<meta name="next-head-count" content="5" />
<link rel="preload" href="/_next/static/css/cef4c2689b0ba1d554b5.css" as="style" />
<link rel="stylesheet" href="/_next/static/css/cef4c2689b0ba1d554b5.css" data-n-g="" />
<link rel="preload" href="/_next/static/css/ec29aeb2eb2f484b18f1.css" as="style" />
<link rel="stylesheet" href="/_next/static/css/ec29aeb2eb2f484b18f1.css" data-n-p="" />
<noscript data-n-css=""></noscript>
<script defer="" nomodule="" src="/_next/static/chunks/polyfills-a54b4f32bdc1ef890ddd.js"></script>
<script src="/_next/static/chunks/webpack-ddd010a953737b6e3536.js" defer=""></script>
<script src="/_next/static/chunks/framework-895f067827ebe11ffe45.js" defer=""></script>
<script src="/_next/static/chunks/main-4809d8b3f3ef3c100198.js" defer=""></script>
<script src="/_next/static/chunks/pages/_app-921de61143f01c383474.js" defer=""></script>
<script src="/_next/static/chunks/662-50ffd08ac9057eb5c5e3.js" defer=""></script>
<script src="/_next/static/chunks/pages/index-6cb9a87f3dca3aa164ef.js" defer=""></script>
<script src="/_next/static/4W3AF9fZKswZqFLiF-hYK/_buildManifest.js" defer=""></script>
<script src="/_next/static/4W3AF9fZKswZqFLiF-hYK/_ssgManifest.js" defer=""></script>
</head>
<body>
<div id="__next">
<header class="Header_header__2-XWX header">
<div class="Header_headerContainer__QY04n">
<a href="/"
><div class="Header_logoContainer__K5UdU"><img src="/img/logo.png" alt="logo" /></div
></a>
<nav>
<ul class="Header_headerNavList__qHhlC">
<li><a class="commonText" href="https://docs.openbrush.io/">Docs</a></li>
<li><a class="commonText" href="https://github.com/727-Ventures/openbrush-contracts">GitHub</a></li>
<li><a class="commonText" href="/">Contact us</a></li>
</ul>
</nav>
<div class="BurgerMenu_BurgerMenuContainer__2kwD5">
<div class="BurgerMenu_burgerMenu__sdSoV">
<div></div>
<div></div>
<div></div>
</div>
<div class="BurgerMenu_MenuWrapper__2GiIw wrapper">
<div class="BurgerMenu_Menu__3lALG">
<nav class="BurgerMenu_Nav__40oDF">
<ul>
<li><a class="commonText" href="https://docs.openbrush.io/">Docs</a></li>
<li><a class="commonText" href="https://github.com/727-Ventures/openbrush-contracts">GitHub</a></li>
<li><a class="commonText" href="/">Contact us</a></li>
</ul>
</nav>
</div>
</div>
</div>
</div>
</header>
<main class="wrapper">
<div>
<div class="Banner_bannerContainer__1q1ki">
<div class="Banner_bannerInnerContentHolder__1PK8L">
<div>
<div>
<div class="Banner_headlineBlock__UmnJ1">
<h1>Smart contracts library for<span style="color: #e6007a"> Polkadot </span>on<span style="color: #b4be68"> Rust </span></h1>
</div>
<img src="/img/bannerIllustration.svg" alt="illustration" />
</div>
</div>
</div>
<div class="Banner_bannerContainerDecorWrapper__nXf5G">
<div class="Banner_leftBottom__Y2H1S"></div>
<div class="Banner_rightBottom__3hZEn"><div></div></div>
</div>
</div>
<div class="Partners_partnersContainer__2RzlM">
<h2 class="primaryHeadline">The world’s leading projects trust OpenBrush</h2>
<div class="Partners_logoWrapper__3wu-0">
<a href="https://www.protocolventures.com/"><img src="/img/partners/logo9.svg" alt="logo" /></a
><a href="https://www.zokyo.io/"><img src="/img/partners/logo8.svg" alt="logo" /></a
><a href="https://gbv.capital/"><img src="/img/partners/logo10.svg" alt="logo" /></a
><a href="https://impossible.finance/"><img src="/img/partners/logo4.svg" alt="logo" /></a
><a href="https://applicature.com/"><img src="/img/partners/logo6.svg" alt="logo" /></a
><a href="https://moonbeam.network/"><img src="/img/partners/logo7.svg" alt="logo" /></a
><a href="https://www.sinoglobalcapital.com/"><img src="/img/partners/Frame13.svg" alt="logo" /></a
><a href="https://exnetworkcapital.com/"><img src="/img/partners/logo3.svg" alt="logo" /></a
><a href="https://sheesha.finance/"><img src="/img/partners/Frame1.svg" alt="logo" /></a
><a href="https://patract.io/"><img src="/img/partners/Frame16.svg" alt="logo" /></a>
</div>
<div class="Partners_partnersContainerDecor__2GwuY"></div>
</div>
<div class="Wizard_componentContainer__3zJFA">
<h2 class="primaryHeadline">How to use:</h2>
<div class="Wizard_scrollWrapper__2Csdv">
<div class="Wizard_wizardWrapper__iyNAC">
<div class="Wizard_header__1HWND">
<div class="Wizard_tokenStandardRow__1LGPX">
<div class="Wizard_active__2-1H9 Wizard_tokenStandard__3UODM">psp22</div>
<div class="Wizard_tokenStandard__3UODM">psp1155</div>
<div class="Wizard_tokenStandard__3UODM">psp34</div>
</div>
<div class="Wizard_actionsRow__PZGP1"></div>
</div>
<div class="Wizard_body__20k8h">
<div class="Wizard_contractControls__30QNB">
<div style="display: block">
<div class="Wizard_inputSection__hTxLh">
<div class="Wizard_controlsSectionName__3YTE0">Constructor</div>
<div class="Wizard_settingsInputs__WE65c">
<div class="Wizard_textInput__23e6v">
<div class="Wizard_checkboxContainerNested__3Bww1">
<label for="Name">Name<!-- -->:</label><input type="text" id="Name" name="Name" />
</div>
</div>
<div class="Wizard_textInput__23e6v">
<div class="Wizard_checkboxContainerNested__3Bww1">
<label for="Symbol">Symbol<!-- -->:</label><input type="text" id="Symbol" name="Symbol" />
</div>
</div>
<div class="Wizard_textInput__23e6v"></div>
</div>
</div>
<div class="Wizard_inputSection__hTxLh">
<div class="Wizard_controlsSectionName__3YTE0">Extensions</div>
<div class="Wizard_settingsInputs__WE65c">
<label class="Wizard_checkboxContainer__1KL5V"
><div class="Wizard_checkboxContainerNested__3Bww1">
<input type="checkbox" id="Metadata" name="Metadata" /><span>Metadata</span>
</div>
<div class="Wizard_tooltipContainer__FbqR4">
<div class="Wizard_tooltipInfo__DIVgG">[`PSP22`] Metadata</div>
<img class="Wizard_infoIcon__2YE8v" src="/icons/infoIcon.svg" alt="icon" /></div></label
><label class="Wizard_checkboxContainer__1KL5V"
><div class="Wizard_checkboxContainerNested__3Bww1">
<input type="checkbox" id="Burnable" name="Burnable" /><span>Burnable</span>
</div>
<div class="Wizard_tooltipContainer__FbqR4">
<div class="Wizard_tooltipInfo__DIVgG">
Extension of [`PSP22`] that allows token holders to destroy both their own tokens and those that they have an
allowance for.
</div>
<img class="Wizard_infoIcon__2YE8v" src="/icons/infoIcon.svg" alt="icon" /></div></label
><label class="Wizard_checkboxContainer__1KL5V"
><div class="Wizard_checkboxContainerNested__3Bww1">
<input type="checkbox" id="Mintable" name="Mintable" /><span>Mintable</span>
</div>
<div class="Wizard_tooltipContainer__FbqR4">
<div class="Wizard_tooltipInfo__DIVgG">
Extension of [`PSP22`] that allows create `amount` tokens and assigns them to `account`, increasing the total supply
</div>
<img class="Wizard_infoIcon__2YE8v" src="/icons/infoIcon.svg" alt="icon" /></div></label
><label class="Wizard_checkboxContainer__1KL5V"
><div class="Wizard_checkboxContainerNested__3Bww1">
<input type="checkbox" id="Ownable" name="Ownable" /><span>Ownable</span>
</div>
<div class="Wizard_tooltipContainer__FbqR4">
<div class="Wizard_tooltipInfo__DIVgG">
Contract module which provides a basic access control mechanism, where there is an account (an owner) that can be
granted exclusive access to specific functions.
</div>
<img class="Wizard_infoIcon__2YE8v" src="/icons/infoIcon.svg" alt="icon" /></div
></label>
</div>
</div>
</div>
<div style="display: none">
<div class="Wizard_inputSection__hTxLh">
<div class="Wizard_controlsSectionName__3YTE0">Constructor</div>
<div class="Wizard_settingsInputs__WE65c">
<div class="Wizard_textInput__23e6v">
<div class="Wizard_checkboxContainerNested__3Bww1">
<label for="Name">Name<!-- -->:</label><input type="text" id="Name" name="Name" />
</div>
</div>
<div class="Wizard_textInput__23e6v">
<div class="Wizard_checkboxContainerNested__3Bww1">
<label for="URI">URI<!-- -->:</label><input type="text" id="URI" name="URI" />
</div>
</div>
</div>
</div>
<div class="Wizard_inputSection__hTxLh">
<div class="Wizard_controlsSectionName__3YTE0">Extensions</div>
<div class="Wizard_settingsInputs__WE65c">
<label class="Wizard_checkboxContainer__1KL5V"
><div class="Wizard_checkboxContainerNested__3Bww1">
<input type="checkbox" id="Metadata" name="Metadata" /><span>Metadata</span>
</div>
<div class="Wizard_tooltipContainer__FbqR4">
<div class="Wizard_tooltipInfo__DIVgG">[`PSP1155`] Metadata</div>
<img class="Wizard_infoIcon__2YE8v" src="/icons/infoIcon.svg" alt="icon" /></div></label
><label class="Wizard_checkboxContainer__1KL5V"
><div class="Wizard_checkboxContainerNested__3Bww1">
<input type="checkbox" id="Burnable" name="Burnable" /><span>Burnable</span>
</div>
<div class="Wizard_tooltipContainer__FbqR4">
<div class="Wizard_tooltipInfo__DIVgG">Extension of [`PSP1155`] that allows token holders to destroy their tokens</div>
<img class="Wizard_infoIcon__2YE8v" src="/icons/infoIcon.svg" alt="icon" /></div></label
><label class="Wizard_checkboxContainer__1KL5V"
><div class="Wizard_checkboxContainerNested__3Bww1">
<input type="checkbox" id="Mintable" name="Mintable" /><span>Mintable</span>
</div>
<div class="Wizard_tooltipContainer__FbqR4">
<div class="Wizard_tooltipInfo__DIVgG">Extension of [`PSP1155`] that allows minting of new tokens</div>
<img class="Wizard_infoIcon__2YE8v" src="/icons/infoIcon.svg" alt="icon" /></div></label
><label class="Wizard_checkboxContainer__1KL5V"
><div class="Wizard_checkboxContainerNested__3Bww1">
<input type="checkbox" id="Ownable" name="Ownable" /><span>Ownable</span>
</div>
<div class="Wizard_tooltipContainer__FbqR4">
<div class="Wizard_tooltipInfo__DIVgG">
Contract module which provides a basic access control mechanism, where there is an account (an owner) that can be
granted exclusive access to specific functions.
</div>
<img class="Wizard_infoIcon__2YE8v" src="/icons/infoIcon.svg" alt="icon" /></div
></label>
</div>
</div>
</div>
<div style="display: none">
<div class="Wizard_inputSection__hTxLh">
<div class="Wizard_controlsSectionName__3YTE0">Constructor</div>
<div class="Wizard_settingsInputs__WE65c">
<div class="Wizard_textInput__23e6v">
<div class="Wizard_checkboxContainerNested__3Bww1">
<label for="Name">Name<!-- -->:</label><input type="text" id="Name" name="Name" />
</div>
</div>
<div class="Wizard_textInput__23e6v">
<div class="Wizard_checkboxContainerNested__3Bww1">
<label for="Symbol">Symbol<!-- -->:</label><input type="text" id="Symbol" name="Symbol" />
</div>
</div>
</div>
</div>
<div class="Wizard_inputSection__hTxLh">
<div class="Wizard_controlsSectionName__3YTE0">Extensions</div>
<div class="Wizard_settingsInputs__WE65c">
<label class="Wizard_checkboxContainer__1KL5V"
><div class="Wizard_checkboxContainerNested__3Bww1">
<input type="checkbox" id="Metadata" name="Metadata" /><span>Metadata</span>
</div>
<div class="Wizard_tooltipContainer__FbqR4">
<div class="Wizard_tooltipInfo__DIVgG">[`PSP34`] Metadata</div>
<img class="Wizard_infoIcon__2YE8v" src="/icons/infoIcon.svg" alt="icon" /></div></label
><label class="Wizard_checkboxContainer__1KL5V"
><div class="Wizard_checkboxContainerNested__3Bww1">
<input type="checkbox" id="Burnable" name="Burnable" /><span>Burnable</span>
</div>
<div class="Wizard_tooltipContainer__FbqR4">
<div class="Wizard_tooltipInfo__DIVgG">Extension of [`PSP34`] that allows token holders to destroy their tokens</div>
<img class="Wizard_infoIcon__2YE8v" src="/icons/infoIcon.svg" alt="icon" /></div></label
><label class="Wizard_checkboxContainer__1KL5V"
><div class="Wizard_checkboxContainerNested__3Bww1">
<input type="checkbox" id="Mintable" name="Mintable" /><span>Mintable</span>
</div>
<div class="Wizard_tooltipContainer__FbqR4">
<div class="Wizard_tooltipInfo__DIVgG">Extension of [`PSP34`] that exposes the mint function</div>
<img class="Wizard_infoIcon__2YE8v" src="/icons/infoIcon.svg" alt="icon" /></div></label
><label class="Wizard_checkboxContainer__1KL5V"
><div class="Wizard_checkboxContainerNested__3Bww1">
<input type="checkbox" id="Ownable" name="Ownable" /><span>Ownable</span>
</div>
<div class="Wizard_tooltipContainer__FbqR4">
<div class="Wizard_tooltipInfo__DIVgG">Extension of [`PSP34`] that exposes the mint function</div>
<img class="Wizard_infoIcon__2YE8v" src="/icons/infoIcon.svg" alt="icon" /></div
></label>
</div>
</div>
</div>
</div>
<div class="Wizard_contractOutput__11CLG">
<div style="display: block"></div>
<div style="display: none"></div>
<div style="display: none"></div>
</div>
</div>
</div>
</div>
<div class="Wizard_docsLink__jXrXE"><a href="https://docs.openbrush.io/">Documentation</a></div>
</div>
</div>
</main>
<footer class="Footer_footer__1KW17 footer">
</footer>
</div>
<script id="__NEXT_DATA__" type="application/json">
{
"props": { "pageProps": {} },
"page": "/",
"query": {},
"buildId": "4W3AF9fZKswZqFLiF-hYK",
"nextExport": true,
"autoExport": true,
"isFallback": false,
"scriptLoader": []
}
</script>
</body>
</html>