Skip to content

Commit 69b9276

Browse files
authored
Merge pull request #1136 from MinaProtocol/2025-09-announcement-banner-o1labs-docs
Add banner about o1labs docs site to o1js docs
2 parents d5fcaa8 + 7d2ff91 commit 69b9276

35 files changed

+144
-0
lines changed

docs/zkapps/o1js/basic-concepts.md renamed to docs/zkapps/o1js/basic-concepts.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ keywords:
1919
- methods
2020
---
2121

22+
import MigrateBanner from '@site/src/components/snippets/migrate-banner.mdx';
23+
24+
<MigrateBanner />
25+
26+
2227
# o1js Basic Concepts
2328

2429
o1js is a TypeScript (TS) library for writing general-purpose zero knowledge (zk) programs and writing zk smart contracts for Mina.

docs/zkapps/o1js/bitwise-operations.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ keywords:
88
- o1js
99
---
1010

11+
import MigrateBanner from '@site/src/components/snippets/migrate-banner.mdx';
12+
13+
<MigrateBanner />
14+
1115
# Bitwise Operations
1216

1317
Bitwise operations manipulate individual bits within a binary representation of a number. They can, at times, resemble boolean operations but apply to a sequence of bits instead of booleans. Bitwise operations are generally available in most programming languages, including TypeScript. o1js provides versions of them that operate on `Field` elements and result in the necessary circuit constraints to generate a zero knowledge proof of the computation. This is especially useful when implementing hashing algorithms such as SHA256.

docs/zkapps/o1js/circuit-writing-primer.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ keywords:
1010
- o1js
1111
---
1212

13+
import MigrateBanner from '@site/src/components/snippets/migrate-banner.mdx';
14+
15+
<MigrateBanner />
16+
1317
# Overview of the circuit-writing features in o1js
1418

1519
o1js is a library for writing zk circuits in TypeScript. While many high-level features are abstracted away from the circuit level, this article will focus specifically on the tools that are specific to the unique nature of writing circuits.

docs/zkapps/o1js/custom-tokens.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ keywords:
1515
- zkApps updates
1616
---
1717

18+
import MigrateBanner from '@site/src/components/snippets/migrate-banner.mdx';
19+
20+
<MigrateBanner />
21+
1822
# Custom Token API
1923

2024
You can use o1js to perform common token operations, such as minting, burning, and sending tokens.

docs/zkapps/o1js/ecdsa.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ keywords:
1313
- blockchain
1414
---
1515

16+
import MigrateBanner from '@site/src/components/snippets/migrate-banner.mdx';
17+
18+
<MigrateBanner />
19+
1620
# ECDSA
1721

1822
ECDSA, or Elliptic Curve Digital Signature Algorithm, is a cryptographic algorithm used to sign and verify messages. It is used in many blockchains, including Ethereum, to sign transactions.

docs/zkapps/o1js/foreign-fields.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ keywords:
1010
- o1js
1111
---
1212

13+
import MigrateBanner from '@site/src/components/snippets/migrate-banner.mdx';
14+
15+
<MigrateBanner />
16+
1317
# Foreign Field Arithmetic
1418

1519
A foreign field is a [finite field](https://en.wikipedia.org/wiki/Modular_arithmetic) different from the native field of the proof system. o1js exposes operations like modular addition and multiplication that work in any finite field of size less than `2^259`.

docs/zkapps/o1js/gadgets.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ keywords:
1111
- blockchain
1212
---
1313

14+
import MigrateBanner from '@site/src/components/snippets/migrate-banner.mdx';
15+
16+
<MigrateBanner />
17+
1418
# Gadgets
1519

1620
Gadgets are small, reusable low-level building blocks that simplify the process of creating new cryptographic primitives. Most gadgets build upon custom gates and act as low-level accelerators in the proof system.

docs/zkapps/o1js/index.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ keywords:
1818
- typescript library
1919
---
2020

21+
import MigrateBanner from '@site/src/components/snippets/migrate-banner.mdx';
22+
23+
<MigrateBanner />
24+
2125
:::info
2226

2327
To protect end users and ensure your zkApps are secure, consider the information at [Security and zkApps](/zkapps/writing-a-zkapp/introduction-to-zkapps/secure-zkapps) while architecting your solution and consider a third-party security audit before deploying to Mina mainnet.

docs/zkapps/o1js/indexed-merkle-map.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ description:
1515
- data structures
1616
---
1717

18+
import MigrateBanner from '@site/src/components/snippets/migrate-banner.mdx';
19+
20+
<MigrateBanner />
21+
1822
:::experimental
1923

2024
The Indexed Merkle Map API is currently an experimental feature.

docs/zkapps/o1js/keccak.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ keywords:
1212
- data structures
1313
---
1414

15+
import MigrateBanner from '@site/src/components/snippets/migrate-banner.mdx';
16+
17+
<MigrateBanner />
18+
1519
# Keccak (SHA-3)
1620

1721
Keccak is a flexible cryptographic hash function that provides more security than traditional SHA hash algorithms.

0 commit comments

Comments
 (0)