forked from 0xPolygon/polygon-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
684 lines (675 loc) · 37.6 KB
/
mkdocs.yml
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
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
site_name: Polygon Knowledge Layer
site_author: Polygon Labs
copyright: Copyright © 2024 Polygon Labs
repo_name: Polygon Knowledge Layer
repo_url: https://github.com/0xPolygon/polygon-docs
edit_uri: edit/main/docs/
site_url: https://docs.polygon.technology/
theme:
name: material
palette:
# Palette toggle for light mode
- scheme: default
primary: white
accent: purple
toggle:
icon: material/eye
name: Switch to dark mode
# Palette toggle for dark mode
- scheme: slate
primary: black
accent: purple
toggle:
icon: material/eye-outline
name: Switch to light mode
language: en
custom_dir: overrides
favicon: img/favicon.ico
icon:
logo: logo
repo: repo
features:
- search.suggest
- search.highlight
- search.share
- navigation.instant
- navigation.instant.progress
- navigation.tracking
- navigation.integration
- navigation.tabs
- navigation.tabs.sticky
- navigation.indexes
- navigation.sections
- navigation.path
- navigation.top
- navigation.footer
- toc.follow
- content.code.copy
- content.action.edit
nav:
- Home: index.md
- CDK:
- CDK: cdk/index.md
- Overview: cdk/overview.md
- Version compatibility matrix: cdk/version-matrix.md
- Get started:
- Quickstart:
- Validium: cdk/get-started/quickstart-validium.md
- Rollup: cdk/get-started/quickstart-rollup.md
- Deploy:
- Validium:
- Introduction: cdk/get-started/deploy-validium/intro.md
- Deploy contracts:
- Prerequisites: cdk/get-started/deploy-validium/contracts/prerequisites.md
- Set up: cdk/get-started/deploy-validium/contracts/set-up.md
- Deploy contracts: cdk/get-started/deploy-validium/contracts/deploy-contracts.md
- Deploy node:
- Prerequisites: cdk/get-started/deploy-validium/node/prerequisites.md
- Set up: cdk/get-started/deploy-validium/node/set-up.md
- Configure the deployment: cdk/get-started/deploy-validium/node/configure-deployment.md
- Run node and services: cdk/get-started/deploy-validium/node/run-node-services.md
- Test transaction: cdk/get-started/deploy-validium/node/test-transaction.md
- Rollup:
- Introduction: cdk/get-started/deploy-rollup/intro.md
- Environment overview: cdk/get-started/deploy-rollup/environment-overview.md
- Prerequisites: cdk/get-started/deploy-rollup/prerequisites.md
- Install dependencies: cdk/get-started/deploy-rollup/install-dependencies.md
- Create wallets: cdk/get-started/deploy-rollup/create-wallets.md
- Configure node deployment: cdk/get-started/deploy-rollup/configure-node-deployment.md
- Configure prover: cdk/get-started/deploy-rollup/configure-prover.md
- Start node: cdk/get-started/deploy-rollup/start-node.md
- Start services: cdk/get-started/deploy-rollup/start-services.md
- Connect to CDK testnet: cdk/get-started/connect-testnet.md
- How to:
- Quickly test a running stack: cdk/how-to/quick-test-stack.md
- Manage allowlists with policies: cdk/how-to/manage-policies.md
- Architecture:
- CDK rollup option: cdk/architecture/cdk-zkevm-option.md
- CDK validium option: cdk/architecture/cdk-validium-option.md
- Specification:
- Validium vs rollup: cdk/spec/validium-vs-rollup.md
- Concepts:
- Rollup: cdk/concepts/rollup.md
- Validium: cdk/concepts/validium.md
- Data availability: cdk/concepts/dac.md
- Additional resources:
- Third-party guides: cdk/resources/third-party-guides.md
- CDK repos: cdk/resources/cdk-repo-reference.md
- zkEVM:
- zkEVM: zkEVM/index.md
- Overview: zkEVM/overview.md
- Get started:
- Get started: zkEVM/get-started/index.md
- Quick start:
- Connecting to zkEVM: zkEVM/get-started/quick-start/connect-wallet.md
- Using Polygon faucet: zkEVM/get-started/quick-start/zkevm-faucet.md
- Bridging assets to zkEVM: zkEVM/get-started/quick-start/bridge-to-zkevm.md
- Gas station: zkEVM/get-started/zkevm-gas-station.md
- Setup nodes:
- Setup local zkNode: zkEVM/get-started/setup-nodes/local-node.md
- Setup production zkNode: zkEVM/get-started/setup-nodes/production-node.md
- Deploy zkEVM:
- Deploy zkEVM: zkEVM/get-started/deploy-zkevm/index.md
- Install dependencies: zkEVM/get-started/deploy-zkevm/install-dependencies.md
- Create wallets: zkEVM/get-started/deploy-zkevm/create-wallets.md
- Deploy zkNode: zkEVM/get-started/deploy-zkevm/deploy-zknode.md
- Configure Prover: zkEVM/get-started/deploy-zkevm/configure-prover.md
- Activate forced transactions: zkEVM/get-started/deploy-zkevm/activate-forced-transactions.md
- Setup a Goërli node: zkEVM/get-started/deploy-zkevm/setup-goerli-node.md
- Sync state with snapshots: zkEVM/get-started/state-sync-snapshots.md
- Historical data: zkEVM/get-started/historical-data.md
- How to:
- How to: zkEVM/how-to/index.md
- Write a contract: zkEVM/how-to/write-contract.md
- Deploy a contract with Foundry: zkEVM/how-to/using-foundry.md
- Deploy a contract with Hardhat: zkEVM/how-to/using-hardhat.md
- Verify a contract: zkEVM/how-to/verify-contract.md
- Architecture:
- Architecture: zkEVM/architecture/index.md
- Upgrades:
- Etrog upgrade: zkEVM/architecture/protocol/etrog-upgrade.md
- User fees: zkEVM/architecture/user-fees.md
- zkEVM protocol:
- zkEVM protocol: zkEVM/architecture/protocol/index.md
- State management: zkEVM/architecture/protocol/state-management.md
- Transaction life cycle:
- Submit transactions: zkEVM/architecture/protocol/transaction-life-cycle/submit-transaction.md
- Transaction execution: zkEVM/architecture/protocol/transaction-life-cycle/transaction-execution.md
- Transaction batching: zkEVM/architecture/protocol/transaction-life-cycle/transaction-batching.md
- Batch sequencing: zkEVM/architecture/protocol/transaction-life-cycle/batch-sequencing.md
- Batch aggregation: zkEVM/architecture/protocol/transaction-life-cycle/batch-aggregation.md
- Incentive mechanism: zkEVM/architecture/protocol/incentive-mechanism.md
- Protocol upgradability: zkEVM/architecture/protocol/upgradability.md
- Admin role and governance: zkEVM/architecture/protocol/admin-role.md
- Upgrade process: zkEVM/architecture/protocol/upgrade-process.md
- Security council: zkEVM/architecture/protocol/security-council.md
- Malfunction resistance:
- Force batches: zkEVM/architecture/protocol/malfunction-resistance/sequencer-resistance.md
- Force verification: zkEVM/architecture/protocol/malfunction-resistance/aggregator-resistance.md
- Emergency state: zkEVM/architecture/protocol/malfunction-resistance/emergency-state.md
- zkEVM Bridge:
- zkEVM Bridge: zkEVM/architecture/protocol/zkevm-bridge/index.md
- Exit trees: zkEVM/architecture/protocol/zkevm-bridge/exit-tree.md
- Smart contracts: zkEVM/architecture/protocol/zkevm-bridge/smart-contracts.md
- Flow of assets: zkEVM/architecture/protocol/zkevm-bridge/flow-of-assets.md
- LXLY bridge: zkEVM/architecture/protocol/lxly-bridge.md
- zkNode: zkEVM/architecture/zknode/index.md
- Data streamer:
- Overall design: zkEVM/architecture/data-streamer/data-streamer-design.md
- Data streamer protocols: zkEVM/architecture/data-streamer/data-streamer-protocols.md
- Bookmarks: zkEVM/architecture/data-streamer/bookmarks.md
- Protocol messages: zkEVM/architecture/data-streamer/client-server-messages.md
- Stream file: zkEVM/architecture/data-streamer/stream-file.md
- How rollbacks work: zkEVM/architecture/data-streamer/how-rollbacks-work.md
- zkProver:
- zkProver: zkEVM/architecture/zkprover/index.md
- Main state machine:
- Main state machine: zkEVM/architecture/zkprover/main-state-machine/index.md
- As a processor: zkEVM/architecture/zkprover/main-state-machine/processor.md
- STARK recursion:
- STARK recursion: zkEVM/architecture/zkprover/stark-recursion/index.md
- Proving tools and techniques: zkEVM/architecture/zkprover/stark-recursion/proving-tools.md
- Composition, Recursion and Aggregation: zkEVM/architecture/zkprover/stark-recursion/composition-recursion-aggregation.md
- Recursion sub-process: zkEVM/architecture/zkprover/stark-recursion/recursion-sub-process.md
- Proving architecture: zkEVM/architecture/zkprover/stark-recursion/proving-architecture.md
- CIRCOM in zkProver: zkEVM/architecture/zkprover/stark-recursion/circom-in-zkprover.md
- Proving setup phase: zkEVM/architecture/zkprover/stark-recursion/proving-setup-phase.md
- Intermediate steps: zkEVM/architecture/zkprover/stark-recursion/intermediate-recursion.md
- Final recursion step: zkEVM/architecture/zkprover/stark-recursion/final-recursion-step.md
- Proof generation phase: zkEVM/architecture/zkprover/stark-recursion/proof-generation-phase.md
- Storage state machine:
- Storage state machine: zkEVM/architecture/zkprover/storage-state-machine/index.md
- Creating keys and paths: zkEVM/architecture/zkprover/storage-state-machine/construct-key-path.md
- Storage SM mechanism: zkEVM/architecture/zkprover/storage-state-machine/mechanism.md
- Executor and PIL: zkEVM/architecture/zkprover/storage-state-machine/executor-pil.md
- Arithmetic state machine: zkEVM/architecture/zkprover/arithmetic-sm.md
- Binary state machine: zkEVM/architecture/zkprover/binary-sm.md
- Memory state machine: zkEVM/architecture/zkprover/memory-sm.md
- Memory-Align state machine: zkEVM/architecture/zkprover/mem-align-sm.md
- Hashing state machines:
- Hashing state machines: zkEVM/architecture/zkprover/hashing-state-machines/index.md
- Keccak framework: zkEVM/architecture/zkprover/hashing-state-machines/keccak-framework.md
- Padding-kk state machine: zkEVM/architecture/zkprover/hashing-state-machines/paddingkk-sm.md
- Padding-kk-bit state machine: zkEVM/architecture/zkprover/hashing-state-machines/paddingkk-bit-sm.md
- Bits2Field state machine: zkEVM/architecture/zkprover/hashing-state-machines/bits2field-sm.md
- Keccak-f state machine: zkEVM/architecture/zkprover/hashing-state-machines/keccakf-sm.md
- Poseidon state machine: zkEVM/architecture/zkprover/hashing-state-machines/poseidon-sm.md
- Specification:
- Specification: zkEVM/spec/index.md
- Polynomial Identity Language:
- Polynomial Identity Language: zkEVM/spec/pil/index.md
- Simple example: zkEVM/spec/pil/simple-example.md
- Modular programs: zkEVM/spec/pil/modular-programs.md
- Connection arguments: zkEVM/spec/pil/connection-arguments.md
- Cyclicity in PIL: zkEVM/spec/pil/cyclicity-in-pil.md
- Filling polynomials: zkEVM/spec/pil/filling-polynomials.md
- Generating proofs: zkEVM/spec/pil/generating-proofs.md
- Permutation arguments: zkEVM/spec/pil/permutation-arguments.md
- Inclusion arguments: zkEVM/spec/pil/inclusion-arguments.md
- Compiling using PILCOM: zkEVM/spec/pil/compiling-using-pilcom.md
- Configuration files: zkEVM/spec/pil/configuration-files.md
- PLONK in PIL: zkEVM/spec/pil/plonk-in-pil.md
- Public values: zkEVM/spec/pil/public-values.md
- zkASM:
- zkASM: zkEVM/spec/zkasm/index.md
- Basic Syntax: zkEVM/spec/zkasm/basic-syntax.md
- Examples: zkEVM/spec/zkasm/examples.md
- EVM vs. zkEVM: zkEVM/spec/evm-differences.md
- Concepts:
- Concepts: zkEVM/concepts/index.md
- EVM basics: zkEVM/concepts/evm-basics.md
- Sparse merkle trees:
- Merkle trees: zkEVM/concepts/sparse-merkle-trees/sparse-merkle-tree.md
- Constructing simple SMTs: zkEVM/concepts/sparse-merkle-trees/simple-smt.md
- SMT concepts: zkEVM/concepts/sparse-merkle-trees/detailed-smt.md
- Operations on SMTs: zkEVM/concepts/sparse-merkle-trees/basic-smt-ops.md
- mFibonnaci state machine:
- Design approach: zkEVM/concepts/mfibonacci/mfibonacci.md
- An example: zkEVM/concepts/mfibonacci/mfibonacci-example.md
- Commitment scheme: zkEVM/concepts/mfibonacci/commitment-scheme.md
- Verification scheme: zkEVM/concepts/mfibonacci/verification-scheme.md
- PIL-STARK process: zkEVM/concepts/mfibonacci/pil-stark.md
- PIL-STARK demo: zkEVM/concepts/mfibonacci/pil-stark-demo.md
- Generic state machine:
- Generic SM introduction: zkEVM/concepts/generic-state-machine/intro-generic-sm.md
- Execution trace: zkEVM/concepts/generic-state-machine/exec-trace-correct.md
- Ending programs: zkEVM/concepts/generic-state-machine/ending-program.md
- Program counter: zkEVM/concepts/generic-state-machine/program-counter.md
- Plookup: zkEVM/concepts/generic-state-machine/plookup.md
- CIRCOM: zkEVM/concepts/circom-intro-brief.md
- Troubleshooting:
- Disclosures: zkEVM/troubleshooting/risk-disclosures.md
- PoS:
- PoS: pos/index.md
- Overview: pos/overview.md
- Get started:
- Get started: pos/get-started/index.md
- Building on Polygon: pos/get-started/building-on-polygon.md
- Becoming a validator: pos/get-started/becoming-a-validator.md
- Builder how-tos:
- Bridge layers:
- Bridge layers: pos/how-to/bridging/index.md
- Ethereum-Polygon:
- Ethereum-Polygon: pos/how-to/bridging/ethereum-polygon/index.md
- Ethereum to MATIC: pos/how-to/bridging/ethereum-polygon/ethereum-to-matic.md
- MATIC to Ethereum: pos/how-to/bridging/ethereum-polygon/matic-to-ethereum.md
- Submit mapping request: pos/how-to/bridging/ethereum-polygon/submit-mapping-request.md
- L1-L2 communication:
- L1-L2 communication: pos/how-to/bridging/l1-l2-communication/index.md
- State transfer: pos/how-to/bridging/l1-l2-communication/state-transfer.md
- Integrate Polygon DID: pos/how-to/polygon-did.md
- Node how-tos:
- Node how-tos: pos/how-to/index.md
- Delegate tokens: pos/how-to/delegate.md
- Sync node using snapshots: pos/how-to/snapshots.md
- Run a validator node:
- System requirements: pos/how-to/validator/validator-system-requirements.md
- Prerequisites: pos/how-to/validator/prerequisites.md
- Using binaries: pos/how-to/validator/validator-binaries.md
- Using Ansible: pos/how-to/validator/validator-ansible.md
- Using packages: pos/how-to/validator/validator-packages.md
- Operate validator nodes:
- Stake tokens: pos/how-to/operate-validator-node/validator-staking-operations.md
- Set commission rate: pos/how-to/operate-validator-node/validator-commission-operations.md
- Move stake: pos/how-to/operate-validator-node/move-stake.md
- Change signer address: pos/how-to/operate-validator-node/change-signer-address.md
- Top up Heimdall fee: pos/how-to/operate-validator-node/topup-heimdall-fee.md
- Validator performance requirements: pos/how-to/operate-validator-node/validator-performance.md
- Run a full node:
- System requirements: pos/how-to/full-node/full-node-system-requirements.md
- Using binaries: pos/how-to/full-node/full-node-binaries.md
- Using Docker: pos/how-to/full-node/full-node-docker.md
- Using Ansible: pos/how-to/full-node/full-node-ansible.md
- Using packages: pos/how-to/full-node/full-node-packages.md
- Using GCP: pos/how-to/full-node/full-node-gcp.md
- Run an access node: pos/how-to/access-node.md
- Run an Erigon archive node: pos/how-to/erigon-archive-node.md
- Troubleshoot nodes:
- Technical FAQs: pos/how-to/troubleshoot/technical-faqs.md
- Known issues and errors: pos/how-to/troubleshoot/known-issues.md
- Reporting issues: pos/how-to/troubleshoot/reporting-issues.md
- Governance:
- Governance fundamentals: pos/governance/governance-fundamentals.md
- Architecture:
- Architecture: pos/architecture/index.md
- Bor:
- Bor: pos/architecture/bor/index.md
- State sync: pos/architecture/bor/state-sync.md
- Network configuration: pos/architecture/bor/network-config.md
- Commands: pos/architecture/bor/commands.md
- Heimdall:
- Heimdall: pos/architecture/heimdall/index.md
- Heimdall and Bor: pos/architecture/heimdall/heimdall-and-bor.md
- Authentication: pos/architecture/heimdall/authentication.md
- Key management: pos/architecture/heimdall/key-management.md
- Validation: pos/architecture/heimdall/validation.md
- Balance transfers: pos/architecture/heimdall/balance-transfers.md
- Staking: pos/architecture/heimdall/staking.md
- Checkpoints: pos/architecture/heimdall/checkpoints.md
- Topup: pos/architecture/heimdall/topup.md
- Chain management: pos/architecture/heimdall/chain-management.md
- Governance: pos/architecture/heimdall/governance.md
- Reference:
- Contracts:
- Genesis contracts: pos/reference/contracts/genesis-contracts.md
- Delegation via validator shares: pos/reference/contracts/delegation.md
- Staking manager: pos/reference/contracts/stakingmanager.md
- Rewards and staking incentives: pos/reference/rewards.md
- Default ports for nodes: pos/reference/port-management.md
- Common commands: pos/reference/commands.md
- Node errors: pos/reference/errors.md
- RPC endpoints: pos/reference/rpc-endpoints.md
- PoS mainnet multi-signatures: pos/reference/commit-chain-multisigs.md
- Mapped tokens: pos/reference/mapped-tokens.md
- Concepts:
- Concepts: pos/concepts/index.md
- Tokens:
- Tokens: pos/concepts/tokens/index.md
- POL: pos/concepts/tokens/pol.md
- MATIC: pos/concepts/tokens/matic.md
- Transactions:
- Transactions: pos/concepts/transactions/index.md
- EIP-1559: pos/concepts/transactions/eip-1559.md
- EIP-4337: pos/concepts/transactions/eip-4337.md
- Meta-transactions: pos/concepts/transactions/meta-transactions.md
- Miden:
- Miden: miden/index.md
- Overview: miden/overview.md
- Roadmap: miden/roadmap.md
- Miden rollup docs:
- Introduction:
- Welcome: miden/introduction/index.md
- Architecture:
- Architecture: miden/architecture/index.md
- Accounts: miden/architecture/accounts.md
- Notes: miden/architecture/notes.md
- Assets: miden/architecture/assets.md
- Transactions: miden/architecture/transactions.md
- State: miden/architecture/state.md
- Execution: miden/architecture/execution.md
- Concepts:
- Crypto primitives:
- Tiered sparce Merkle tree (TSMT): miden/concepts/crypto-primitives/tsmt.md
- Miden VM:
- Introduction:
- Introduction: miden/vm/intro/index.md
- Overview: miden/vm/intro/overview.md
- Usage: miden/vm/intro/usage.md
- Performance: miden/vm/intro/performance.md
- Background material: miden/vm/background.md
- Architecture:
- Design: miden/vm/architecture/introduction.md
- Programs: miden/vm/architecture/programs.md
- Decoder:
- Decoder: miden/vm/architecture/decoder/index.md
- Constraints: miden/vm/architecture/decoder/constraints.md
- Operand stack:
- Operand stack: miden/vm/architecture/stack/index.md
- Operation constraints: miden/vm/architecture/stack/op-constraints.md
- System operations: miden/vm/architecture/stack/system-ops.md
- Field operations: miden/vm/architecture/stack/field-ops.md
- u32 operations: miden/vm/architecture/stack/u32-ops.md
- Stack manipulation: miden/vm/architecture/stack/stack-ops.md
- Input/output operations: miden/vm/architecture/stack/io-ops.md
- Cryptographic operations: miden/vm/architecture/stack/crypto-ops.md
- Range checker: miden/vm/architecture/range.md
- Chiplets:
- Chiplets: miden/vm/architecture/chiplets/index.md
- Hash chiplet: miden/vm/architecture/chiplets/hasher.md
- Bitwise chiplet: miden/vm/architecture/chiplets/bitwise.md
- Memory chiplet: miden/vm/architecture/chiplets/memory.md
- Kernel ROM chiplet: miden/vm/architecture/chiplets/kernel_rom.md
- Lookups:
- Lookups: miden/vm/architecture/lookups/index.md
- Multiset checks: miden/vm/architecture/lookups/multiset.md
- LogUp: miden/vm/architecture/lookups/logup.md
- Specification:
- AirScript:
- Introduction: miden/specification/airscript/introduction.md
- Language description:
- Syntax overview: miden/specification/airscript/syntax.md
- Code organization: miden/specification/airscript/code-organization.md
- Type declarations: miden/specification/airscript/type-declarations.md
- Constraints: miden/specification/airscript/constraints.md
- Variables: miden/specification/airscript/variables.md
- Evaluators: miden/specification/airscript/evaluators.md
- Convenience: miden/specification/airscript/convenience.md
- Example AIR definition: miden/specification/airscript/example.md
- Keywords: miden/specification/airscript/keywords.md
- Appendix: miden/specification/airscript/appendix.md
- Backends: miden/specification/airscript/backends.md
- Development tooling:
- Overview: miden/vm/tools/index.md
- Debugger: miden/vm/tools/debugger.md
- REPL: miden/vm/tools/repl.md
- API:
- Miden programming reference: miden/vm/specification/index.md
- Assembly:
- Miden assembly: miden/vm/specification/assembly/index.md
- Code organization: miden/vm/specification/assembly/code-organization.md
- Execution contexts: miden/vm/specification/assembly/execution-contexts.md
- Flow control: miden/vm/specification/assembly/flow-control.md
- Field operations: miden/vm/specification/assembly/field-operations.md
- u32 operations: miden/vm/specification/assembly/u32-operations.md
- Stack manipulation: miden/vm/specification/assembly/stack-manipulation.md
- IO operations: miden/vm/specification/assembly/io-operations.md
- Cryptographic operations: miden/vm/specification/assembly/cryptographic-operations.md
- Debugging: miden/vm/specification/assembly/debugging.md
- Standard library:
- Miden standard library: miden/vm/specification/stdlib/index.md
- Collections: miden/vm/specification/stdlib/collections.md
- Crypto:
- Digital signatures: miden/vm/specification/stdlib/crypto/dsa.md
- FRI verification procedures: miden/vm/specification/stdlib/crypto/fri.md
- Cryptographic hashes: miden/vm/specification/stdlib/crypto/hashes.md
- Math:
- Unsigned 64-bit integer operations: miden/vm/specification/stdlib/math/u64.md
- Memory procedures: miden/vm/specification/stdlib/mem.md
- System procedures: miden/vm/specification/stdlib/sys.md
- Developer tools:
- Developer tools: tools/index.md
- dApp development:
- dApp Launchpad:
- Introduction: tools/dApp-development/launchpad/intro.md
- Quickstart: tools/dApp-development/launchpad/quickstart.md
- Frontend: tools/dApp-development/launchpad/frontend.md
- Smart contracts: tools/dApp-development/launchpad/smart-contracts.md
- Commands: tools/dApp-development/launchpad/commands.md
- Contributing: tools/dApp-development/launchpad/contributing.md
- Common pitfalls: tools/dApp-development/launchpad/common-pitfalls.md
- Smart contract development on PoS:
- Alchemy: tools/dApp-development/pos/alchemy.md
- ChainIDE: tools/dApp-development/pos/chainide.md
- ChainStack: tools/dApp-development/pos/chainstack.md
- Crossmint: tools/dApp-development/pos/crossmint.md
- GetBlock: tools/dApp-development/pos/getblock.md
- QuickNode: tools/dApp-development/pos/quicknode.md
- SmartPress: tools/dApp-development/pos/smartpress.md
- Thirdweb: tools/dApp-development/pos/thirdweb.md
- Common tools:
- Hardhat: tools/dApp-development/common-tools/hardhat.md
- Truffle: tools/dApp-development/common-tools/truffle.md
- Remix: tools/dApp-development/common-tools/remix.md
- Replit: tools/dApp-development/common-tools/replit.md
- Chain indexer framework:
- Overview: tools/chain-indexer-framework/overview.md
- Usage: tools/chain-indexer-framework/usage.md
- Third-party tutorials:
- Alchemy subgraphs: https://docs.alchemy.com/docs/how-to-build-and-deploy-a-subgraph-on-polygon-zkevm-using-alchemy-subgraphs
- Gas:
- Polygon MATIC faucet: tools/gas/matic-faucet.md
- Polygon gas station: tools/gas/polygon-gas-station.md
- Data:
- The Graph:
- Overview: tools/data/the-graph/overview.md
- Data: tools/data/the-graph/data.md
- Entities: tools/data/the-graph/entities.md
- Queries: tools/data/the-graph/queries.md
- Covalent: tools/data/covalent.md
- Flair: tools/data/flair.md
- PARSIQ: tools/data/parsiq.md
- Matic.js:
- Installation: tools/matic-js/installation.md
- Get started: tools/matic-js/get-started.md
- POS:
- POS client: tools/matic-js/pos/client.md
- API overview: tools/matic-js/api-architecture.md
- Setup:
- Ethers: tools/matic-js/setup/ethers.md
- Web3js: tools/matic-js/setup/web3js.md
- Set proof API: tools/matic-js/set-proof-api.md
- Advanced:
- ABI manager: tools/matic-js/advanced/abi-manager.md
- Exit util: tools/matic-js/advanced/exit-util.md
- Plugin: tools/matic-js/advanced/plugin.md
- ERC20:
- Overview: tools/matic-js/pos/erc20/index.md
- approveMax: tools/matic-js/pos/erc20/approve-max.md
- approve: tools/matic-js/pos/erc20/approve.md
- deposit: tools/matic-js/pos/erc20/deposit.md
- getAllowance: tools/matic-js/pos/erc20/get-allowance.md
- getBalance: tools/matic-js/pos/erc20/get-balance.md
- isWithdrawExited: tools/matic-js/pos/erc20/is-withdraw-exited.md
- transfer: tools/matic-js/pos/erc20/transfer.md
- withdrawExitFaster: tools/matic-js/pos/erc20/withdraw-exit-faster.md
- withdrawExit: tools/matic-js/pos/erc20/withdraw-exit.md
- withdrawStart: tools/matic-js/pos/erc20/withdraw-start.md
- ERC721:
- Overview: tools/matic-js/pos/erc721/index.md
- approveAll: tools/matic-js/pos/erc721/approve-all.md
- approve: tools/matic-js/pos/erc721/approve.md
- depositMany: tools/matic-js/pos/erc721/deposit-many.md
- deposit: tools/matic-js/pos/erc721/deposit.md
- getAllTokens: tools/matic-js/pos/erc721/get-all-tokens.md
- getTokenIdAtIndexForUser: tools/matic-js/pos/erc721/get-token-id-at-index-for-user.md
- getTokensCount: tools/matic-js/pos/erc721/get-tokens-count.md
- isApprovedAll: tools/matic-js/pos/erc721/is-approved-all.md
- isApproved: tools/matic-js/pos/erc721/is-approved.md
- isWithdrawExitedMany: tools/matic-js/pos/erc721/is-withdraw-exited-many.md
- isWithdrawExited: tools/matic-js/pos/erc721/is-withdraw-exited.md
- transfer: tools/matic-js/pos/erc721/transfer.md
- withdrawExitFasterMany: tools/matic-js/pos/erc721/withdraw-exit-faster-many.md
- withdrawExitFaster: tools/matic-js/pos/erc721/withdraw-exit-faster.md
- withdrawExitMany: tools/matic-js/pos/erc721/withdraw-exit-many.md
- withdrawExit: tools/matic-js/pos/erc721/withdraw-exit.md
- withdrawStartMany: tools/matic-js/pos/erc721/withdraw-start-many.md
- withdrawStartWithMetaData: tools/matic-js/pos/erc721/withdraw-start-with-meta-data.md
- withdrawStart: tools/matic-js/pos/erc721/withdraw-start.md
- ERC1155:
- approveAllForMintable: tools/matic-js/pos/erc1155/approve-all-for-mintable.md
- approveAll: tools/matic-js/pos/erc1155/approve-all.md
- depositMany: tools/matic-js/pos/erc1155/deposit-many.md
- deposit: tools/matic-js/pos/erc1155/deposit.md
- getBalance: tools/matic-js/pos/erc1155/get-balance.md
- index: tools/matic-js/pos/erc1155/index.md
- isApprovedAll: tools/matic-js/pos/erc1155/is-approved-all.md
- isWithdrawExitedMany: tools/matic-js/pos/erc1155/is-withdraw-exited-many.md
- isWithdrawExited: tools/matic-js/pos/erc1155/is-withdraw-exited.md
- transfer: tools/matic-js/pos/erc1155/transfer.md
- withdrawExitFasterMany: tools/matic-js/pos/erc1155/withdraw-exit-faster-many.md
- withdrawExitFaster: tools/matic-js/pos/erc1155/withdraw-exit-faster.md
- withdrawExitMany: tools/matic-js/pos/erc1155/withdraw-exit-many.md
- withdrawExit: tools/matic-js/pos/erc1155/withdraw-exit.md
- withdrawStartMany: tools/matic-js/pos/erc1155/withdraw-start-many.md
- withdrawStart: tools/matic-js/pos/erc1155/withdraw-start.md
- Common methods:
- Deposit ETH: tools/matic-js/pos/deposit-ether.md
- isCheckPointed: tools/matic-js/pos/is-check-pointed.md
- isDeposited: tools/matic-js/pos/is-deposited.md
- zkEVM:
- zkEVM client: tools/matic-js/zkevm/initialize.md
- ERC20: tools/matic-js/zkevm/erc20.md
- Common methods: tools/matic-js/zkevm/common-methods.md
- Storage:
- IPFS: tools/storage/ipfs.md
- Filecoin: tools/storage/filecoinhelpers.md
- Crust network: tools/storage/crusthelpers.md
- Oracles:
- Getting started: tools/oracles/getting-started.md
- API3: tools/oracles/api3.md
- Bandchain: tools/oracles/bandchain.md
- Band standard dataset: tools/oracles/bandstandarddataset.md
- Chainlink: tools/oracles/chainlink.md
- DIA: tools/oracles/diadataoracles.md
- Razor: tools/oracles/razor.md
- Supra: tools/oracles/supra.md
- Tellor: tools/oracles/tellor.md
- UMA optimistic oracle: tools/oracles/optimisticoracle.md
- Umbrella: tools/oracles/umbrella.md
- Wallets:
- Getting started: tools/wallets/getting-started.md
- Polygon Portal: tools/wallets/portal.md
- Metamask:
- Overview: tools/wallets/metamask/index.md
- Create MetaMask wallet: tools/wallets/metamask/create-metamask-wallet.md
- Add Polygon network: tools/wallets/metamask/add-polygon-network.md
- Configure custom tokens: tools/wallets/metamask/custom-tokens.md
- Create and import accounts: tools/wallets/metamask/multiple-accounts.md
- Venly:
- Intro: tools/wallets/venly/index.md
- Create wallet: tools/wallets/venly/create-wallet.md
- Add network: tools/wallets/venly/add-network.md
- Add custom token: tools/wallets/venly/custom-tokens.md
- Fortmatic: tools/wallets/fortmatic.md
- Openfort: tools/wallets/openfort.md
- Particle network: tools/wallets/particle-network.md
- Portis: tools/wallets/portis.md
- SlashAuth: tools/wallets/slashauth.md
- Torus: tools/wallets/torus.md
- Wallet link: tools/wallets/wallet-link.md
- WalletConnect: tools/wallets/walletconnect.md
- Web3Modal: tools/wallets/using-web3modal.md
- Block explorers:
- Polygon: https://polygonscan.com/
- zkEVM: https://zkevm.polygonscan.com/
- zkEVM testnet: https://explorer-ui.mainnet.zkevm-test.net/
- OKLink: https://www.oklink.com/polygon
- Learn:
- Learn: learn/index.md
- Welcome: learn/welcome.md
- Polygon AggLayer: learn/agglayer.md
- Polygon Type 1 Prover:
- Introduction and definitions: cdk/architecture/type-1-prover/intro-t1-prover.md
- How to:
- Run Type 1 Prover quickly: cdk/how-to/deploy-t1-prover.md
- Deploy Type 1 Prover on devnet: cdk/how-to/deploy-t1-prover-devnet.md
- Architecture:
- Overview: cdk/architecture/type-1-prover/t1-architecture.md
- Type 1 design challenges: cdk/architecture/type-1-prover/t1-design-challenge.md
- Tests and proving costs: cdk/architecture/type-1-prover/testing-and-proving-costs.md
- Specification:
- CPU component: cdk/architecture/type-1-prover/t1-cpu-component.md
- CTL protocol: cdk/architecture/type-1-prover/t1-ctl-protocol.md
- Range checks: cdk/architecture/type-1-prover/t1-rangechecks.md
- Polygon protocols: learn/polygon-protocols.md
- Demystifying reorgs: https://polygon.technology/blog/reorgs-demystified-insights-from-monitoring-with-a-sensor-network
extra:
generator: false
analytics:
provider: custom
property: google
social:
- icon: fontawesome/solid/circle-question
link: https://support.polygon.technology/support/solutions
- icon: fontawesome/solid/globe
link: https://polygon.technology/
- icon: fontawesome/brands/github
link: https://github.com/0xPolygon/polygon-docs
consent:
title: Cookie consent
description: >-
We use cookies to recognize your repeated visits and preferences, as well
as to measure the effectiveness of our documentation and whether users
find what they're searching for. With your consent, you're helping us to
make our documentation better.
extra_css:
- _site_essentials/stylesheets/extra.css
- https://fonts.googleapis.com/icon?family=Material+Icons
- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/katex.min.css
markdown_extensions:
- toc:
permalink: true
permalink_title: Link to this section
toc_depth: 4
- codehilite
- markdown_include.include:
base_path: docs
- admonition
- footnotes
- def_list
- attr_list
- abbr
- pymdownx.tabbed
- pymdownx.superfences
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem:
smart_enable: all
- pymdownx.keys
- pymdownx.details
- pymdownx.magiclink
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
- pymdownx.caret
- meta
- smarty
- pymdownx.extra
plugins:
- search
- open-in-new-tab
- git-revision-date-localized:
fallback_to_build_date: true
strict: false
exclude:
- index.md
validation:
absolute_links: ignore
extra_javascript:
- _site_essentials/js/mathjax.js
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/katex.min.js
- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/contrib/auto-render.min.js