You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This API is based on the <ins>[Starknet.js V3](https://github.com/starknet-io/starknet.js/discussions/102)</ins> Interface write up by <ins>[Janek](https://twitter.com/0xjanek)</ins> of <ins>[Argent](https://www.argent.xyz/)</ins>
2
4
3
5
## Provider
4
6
5
-
The Provider [**API**](./classes/Provider.md) allows you to interact with the Starknet network, without signing transactions or messages.
7
+
The Provider [**API**](./classes/RpcProvider.md) allows you to interact with the Starknet network, without signing transactions or messages.
6
8
7
9
Typically, these are _read_ calls on the blockchain.
8
10
9
11
Guide is [**here**](../guides/connect_network.md).
10
12
11
13
## Account
12
14
13
-
An Account extends <ins>[`Provider`](./classes/Provider)</ins> and inherits all of its methods.
15
+
An `Account` extends `Provider` and inherits all of its methods.
14
16
15
17
It also introduces new methods that allow Accounts to create and verify signatures with a custom <ins>[`Signer`](./classes/Signer)</ins>, declare and deploy Contract and deploy new Account
16
18
@@ -29,23 +31,3 @@ Guide is [**here**](../guides/create_contract.md).
29
31
## Signer
30
32
31
33
The Signer [**API**](./classes/Signer.md) allows you to sign transactions and messages, and also allows you to get the public key.
32
-
33
-
## Utils
34
-
35
-
Util functions are provided so you can use various low level functions in your application:
Copy file name to clipboardExpand all lines: www/docs/guides/L1message.md
+7-7
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ You can exchange messages between L1 & L2 networks:
10
10
- L2 Starknet testnet ↔️ L1 Sepolia ETH testnet.
11
11
- L2 local Starknet devnet ↔️ L1 local ETH testnet (anvil, ...).
12
12
13
-
You can find an explanation of the global mechanism [here](https://docs.starknet.io/documentation/architecture_and_concepts/L1-L2_Communication/messaging-mechanism/).
13
+
You can find an explanation of the global mechanism [here](https://docs.starknet.io/architecture-and-concepts/network-architecture/messaging-mechanism/).
14
14
15
15
Most of the code for this messaging process will be written in Cairo, but Starknet.js provides some functionalities for this subject.
16
16
@@ -50,10 +50,10 @@ If the fee is paid in L1, the Cairo contract at `to_Address` is automatically ex
50
50
51
51
### L1 ➡️ L2 hashes
52
52
53
-
Starknet.js proposes 2 functions to calculate hashes related to a L1 ➡️ L2 message:
53
+
Starknet.js proposes 2 functions to calculate hashes related to a L1 ➡️ L2 message:
54
54
55
55
- The L2 message hash:
56
-
For a L1 tx requesting a message L1->L2, some data extracted from etherscan: https://sepolia.etherscan.io/tx/0xd82ce7dd9f3964d89d2eb9d555e1460fb7792be274950abe578d610f95cc40f5
56
+
For a L1 tx requesting a message L1->L2, some data extracted from etherscan: https://sepolia.etherscan.io/tx/0xd82ce7dd9f3964d89d2eb9d555e1460fb7792be274950abe578d610f95cc40f5
0 commit comments