-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathindex.html
333 lines (308 loc) · 9.37 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
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
---
title: Algo Builder
layout: landingpage
---
<!--Header Section-->
<section class="bg-gradient pt-4 pb-6">
<div class="container">
<div class="row" id="header">
<div class="col-12 align-items-center">
<div class="heading-brand"><img src="media/logo-website.png" /></div>
<a href="https://algobuilder.dev/auditing.html" class="btn btn-secondary svg-icon">
<em class="mr-2" data-feather="cpu"></em>
Auditing
</a>
<a href="https://algobuilder.dev/" class="btn btn-secondary svg-icon">
<em class="mr-2" data-feather="home"></em>
homepage
</a>
</div>
</div>
<div class="row mt-5 first-section">
<div class="col-md-10 mx-auto text-center">
<h2>
Algo Builder is the number one
<img src="assets/trophy.png" height="50px" /> trustworthy framework for Algorand
dapps, Algorand Standard Assets, Tokens and Smart Contracts. Our mission is to make
Algorand applications development simple, efficient, and scalable.
</h2>
<p class="text-left">Available packages:</p>
<div style="font-size: x-large; margin-left: 40px">
<ul>
<li>
<div class="col-sm-16 text-md-left">
<b
><a
href="https://github.com/scale-it/algo-builder/tree/master/packages/algob"
>
algob</a
></b
>: a framework and CLI of the Algo Builder Suite
</div>
</li>
<li>
<div class="col-sm-16 text-md-left">
<b
><a
href="https://github.com/scale-it/algo-builder/tree/master/packages/runtime"
>
runtime</a
></b
>: Light Algorand runtime and TEAL interpreter
</div>
</li>
<li>
<div class="col-sm-16 text-md-left">
<b
><a href="https://github.com/scale-it/algo-builder/tree/master/packages/web">
web</a
></b
>: a package to interact with contracts from react app/frontend app
</div>
</li>
</ul>
</div>
<p class="text-left">
Algo Builder is also a repository of verified
<a href="https://github.com/scale-it/algo-builder/tree/master/examples"
>smart contract templates</a
>
that will speedup your dapp design and development process.
</p>
<div style="margin-top: 35px" class="doc-links">
<a href="./guide/README" class="btn btn-success svg-icon" style="margin-right: 20px">
<em class="mr-2" data-feather="book"></em>
User Guide
</a>
<a
href="./api/algob/index.html"
class="btn btn-success svg-icon"
style="margin-right: 20px"
>
<em class="mr-2" data-feather="book"></em>
Algob API
</a>
<!-- TODO: Add link to docs here -->
<a
href="./api/runtime/index.html"
class="btn btn-success svg-icon"
style="margin-right: 20px"
>
<em class="mr-2" data-feather="book"></em>
Runtime API
</a>
<a
href="./api/web/index.html"
class="btn btn-success svg-icon"
style="margin-right: 20px"
>
<em class="mr-2" data-feather="book"></em>
Web API
</a>
<a
href="https://github.com/scale-it/algo-builder/tree/master/examples"
class="btn btn-success svg-icon"
>
<em class="mr-2" data-feather="github"></em>
Smart Contract templates
</a>
<a
href="https://github.com/scale-it/algo-builder-templates"
class="btn btn-success svg-icon"
>
<em class="mr-2" data-feather="github"></em>
Dapp templates
</a>
<a href="https://algorand.github.io/js-algorand-sdk" class="btn btn-success svg-icon">
<em class="mr-2" data-feather="github"></em>
Algo SDK
</a>
</div>
</div>
</div>
<div class="row mt-5">
<div class="col-md-9 mx-auto">
<h3 id="donate">Donate Algo Builder Development</h3>
<p>
Support us! Algo Builder is a community project and we want to provide the best tool
for developing Algorand Dapps! Send us ALGOs to the following address:
</p>
<code class="algo-address">QN4LFBXSWN3RHZYDOTCZZBKHGRDNP3FHU4EYBK4OMUIHSA6OQ2MENAWCVI</code>
<button
type="button"
class="btn btn-secondary"
data-toggle="modal"
data-target="#algo-donate-modal"
>
Show QR code
</button>
<br />
In <em>memo</em> you can wite the feature you would like to prioritize.
<!-- Modal -->
{% include donate-modal.html %}
</div>
<!-- end donate col -->
</div>
<div class="row mt-5">
<div class="col-md-9 mx-auto">
<h3>Example Code</h3>
<p>
Check a
<a
style="text-decoration: underline"
href="https://github.com/algorand/docs/blob/master/examples/assets/v2/javascript/AssetExample.js"
>
bare SDK
</a>
implementaion (it takes approx. 450 LOC). Below snippet demonstrates the same thing
using algob in <b>18x less code</b>:
</p>
<div class="code-window">
<div class="dots">
<div class="red"></div>
<div class="orange"></div>
<div class="green"></div>
</div>
<pre
class="language-javascript line-numbers"
><code class="language-javascript">// Transfer Algo, create "gold" ASA and opt-in
import { executeTx, balanceOf } from '@algo-builder/algob';
import { types } from '@algo-builder/web';
async function run (runtimeEnv, deployer) {
const masterAccount `=` deployer.accountsByName.get('master-account');
const goldOwner `=` deployer.accountsByName.get('alice');
const bob `=` deployer.accountsByName.get('bob');
// transfer ALGO
await deployer.executeTx({
type: types.TransactionType.TransferAlgo,
sign: types.SignType.SecretKey,
fromAccount: masterAccount,
toAccountAddr: goldOwner.addr,
amountMicroAlgos: 5e6, // 5 ALGO
payFlags: { note: 'funding account' }
})
await deployer.deployASA('gold', { creator: goldOwner, totalFee: 1001 });
await deployer.optInAccountToASA('gold', 'bob', {});
}</code></pre>
</div>
</div>
</div>
</div>
</section>
<!--Features Section-->
<section class="py-6">
<div class="container">
<div class="row">
<div class="col-md-9 mx-auto">
<h2 class="text-center text-md-left">
Reasons Why Enterprises Love <span class="text-success">Algo Builder</span>
</h2>
<div class="row feature-grid">
<div class="col-sm-6">
<div class="media">
<div class="icon-box">
<div class="icon-box-inner">
<span data-feather="check-circle" width="28" height="28"></span>
</div>
</div>
<div class="media-body">
Easy to use (reduces code length by an order of magnitude)
</div>
</div>
</div>
<div class="col-sm-6">
<div class="media">
<div class="icon-box">
<div class="icon-box-inner">
<span data-feather="feather" width="28" height="28"></span>
</div>
</div>
<div class="media-body">
Quick Setup - create your private network with one command using our scripts in
infrastructure directory
</div>
</div>
</div>
<div class="col-sm-6">
<div class="media">
<div class="icon-box">
<div class="icon-box-inner">
<span data-feather="book-open" width="28" height="28"></span>
</div>
</div>
<div class="media-body">
Rich documentation with Typescript typings for the Algorand JS SDK. User docs
explaining each feature, API docs for <code>algob</code> and
<code>runtime</code>.
</div>
</div>
</div>
<div class="col-sm-6">
<div class="media">
<div class="icon-box">
<div class="icon-box-inner">
<span data-feather="book" width="28" height="28"></span>
</div>
</div>
<div class="media-body">
Helpful templates allowing developers to focus on use-cases rather than code
organization
</div>
</div>
</div>
<div class="col-sm-6">
<div class="media">
<div class="icon-box">
<div class="icon-box-inner">
<span data-feather="git-pull-request" width="28" height="28"></span>
</div>
</div>
<div class="media-body">
REPL - to quickly and easily interact with ASA and Smart Contracts
</div>
</div>
</div>
<div class="col-sm-6">
<div class="media">
<div class="icon-box">
<div class="icon-box-inner">
<span data-feather="zap" width="28" height="28"></span>
</div>
</div>
<div class="media-body">
JS Runtime - to test smart contracts in miliseconds including complex smart
contract composition
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!--Features Section-->
<div class="container">
<div class="row">
<div class="col-md-9 mx-auto">
<h2 class="text-center text-md-left">
We are waiting for your feedback, create a
<a
style="text-decoration: underline"
href="https://github.com/scale-it/algo-builder/issues/new/choose"
>
<span class="text-secondary">GitHub Issue</span></a
>.
<p style="margin-top: 20px">
Do you need a help with writing a smart contracts or to audit your code? Contact us:
<script type="text/javascript">
contact = "@";
contact += "algobuilder.dev";
contact = "contact" + contact;
document.write('<A href="mailto:' + contact + '">' + contact + "</a>");
</script>
</p>
</h2>
</div>
</div>
</div>