Skip to content

Commit 444a780

Browse files
committed
Merge branch 'main' into jribbink/merge-main
2 parents 12883a2 + 78c779b commit 444a780

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2699
-2444
lines changed

docs/build/advanced-concepts/scaling.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ We can leverage this model to design an ideal system transaction architecture as
8686

8787
To simplify the system further, we can reuse the same cryptographic key multiple times within the same account by adding it as a new key. These additional keys can have a weight of 0 since they do not need to authorize transactions.
8888

89-
Here’s a visual example of how such an [account configuration](https://www.flowdiver.io/account/0x18eb4ee6b3c026d2?tab=keys) might look:
89+
Here’s a visual example of how such an [account configuration](https://www.flowscan.io/account/18eb4ee6b3c026d2?tab=keys) might look:
9090

9191
![Example.Account](scaling-example-account.png "Example Account")
9292

docs/build/basics/accounts.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ Find [more about the command in the CLI docs](../../tools/flow-cli/accounts/get-
213213

214214
Accounts can be obtained from the access node APIs, currently, there are two gRPC and REST APIs. You can find more information about them here:
215215

216-
**gRPC API** [building-on-flow/nodes/access-api#accounts](../../networks/node-ops/access-onchain-data/access-nodes/accessing-data/access-api.md#accounts)
216+
**gRPC API** [building-on-flow/nodes/access-api#accounts](../../networks/access-onchain-data/index.md#accounts)
217217

218218
**REST API** [http-api#tag/Accounts](/http-api#tag/Accounts)
219219

docs/build/basics/blocks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Find [more about the command in the CLI docs](../../tools/flow-cli/get-flow-data
6363

6464
Blocks can be obtained from the access node APIs, currently, there are two gRPC and REST APIs. You can find more information about them here:
6565

66-
[**gRPC Block API**](../../networks/node-ops/access-onchain-data/access-nodes/accessing-data/access-api.md#blocks)
66+
[**gRPC Block API**](../../networks/access-onchain-data/index.md#blocks)
6767

6868
[**REST Block API**](/http-api#tag/Blocks)
6969

docs/build/basics/collections.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Find [more about the command in the CLI docs](../../tools/flow-cli/get-flow-data
2020

2121
Collections can be obtained from the access node APIs, currently, there are two gRPC and REST APIs. You can find more information about them here:
2222

23-
[**gRPC Collection API**](../../networks/node-ops/access-onchain-data/access-nodes/accessing-data/access-api.md#collections)
23+
[**gRPC Collection API**](../../networks/access-onchain-data/index.md#collections)
2424

2525
[**REST Collection API**](/http-api#tag/Collections)
2626

docs/build/basics/fees.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ You should see the `computationUsed` field. Take a note of the value, you will u
159159

160160
**On testnet or mainnet**
161161

162-
Once a transaction is completed, you can use an explorer like [Flowdiver](https://flowdiver.io/) to review the transaction details and events emitted. For Flowdiver, you can open the transaction in question and look for the event `FeesDeducted` from the [`FlowFees`](https://github.com/onflow/flow-core-contracts/blob/master/contracts/FlowFees.cdc) contract:
162+
Once a transaction is completed, you can use an explorer like [Flowscan](https://flowscan.io/) to review the transaction details and events emitted. For Flowscan, you can open the transaction in question and look for the event `FeesDeducted` from the [`FlowFees`](https://github.com/onflow/flow-core-contracts/blob/master/contracts/FlowFees.cdc) contract:
163163

164164
![flowscan-fees](./_fees_images/flowscan-fees.png)
165165

docs/build/basics/flow-token.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Transactions are submitted using a Flow SDK via the Access API.
9292

9393
On Flow, a transaction is identified by its hash - the hash that exists as soon as that transaction is signed and submitted to an Access or Collection node.
9494
Results of transactions can be queried by transaction hash through the Access API.
95-
A user can check the status of a transaction at any time via the [Flow Block Explorer](https://www.flowdiver.io/).
95+
A user can check the status of a transaction at any time via the [Flow Block Explorer](https://flowscan.io/).
9696

9797
To expose these results natively in your app, you can use a Flow SDK to fetch transaction results,
9898
[for example using the Flow Go SDK](https://github.com/onflow/flow-go-sdk#querying-transaction-results).

docs/build/basics/scripts.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Scripts can be used for the following:
6565

6666
A script can be executed by submitting it to the Access API provided by access nodes. Currently, there are three API endpoints that allow a user to execute scripts at the latest sealed block, a previous block height, or a previous block ID.
6767

68-
[**gRPC Script API**](../../networks/node-ops/access-onchain-data/access-nodes/accessing-data/access-api.md#scripts)
68+
[**gRPC Script API**](../../networks/access-onchain-data/index.md#scripts)
6969

7070
[**REST Script API**](/http-api#tag/Scripts)
7171

docs/build/basics/transactions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ A user can define their own transactions or it can use already defined transacti
437437

438438
Transactions can be submitted and obtained from the access node APIs, currently, there are two gRPC and REST APIs. You can find more information about them here:
439439

440-
[**gRPC Transaction API**](../../networks/node-ops/access-onchain-data/access-nodes/accessing-data/access-api.md#transactions)
440+
[**gRPC Transaction API**](../../networks/access-onchain-data/index.md#transactions)
441441

442442
[**REST Transaction API**](/http-api#tag/Transactions)
443443

docs/build/core-contracts/13-evm.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ some level.
1212

1313
If you would like to interact with EVM directly from Cadence, you can use the `EVM` contract and it's constructs. Read
1414
more about the EVM contract and its role in Flow's EVM equivalence in [FLIP
15-
#223](https://github.com/onflow/flips/pull/225/files).
15+
#223](https://github.com/onflow/flips/blob/main/protocol/20231116-evm-support.md).
1616

17-
Mainnet/Testnet Source: [`EVM.cdc`](https://github.com/onflow/flow-go/blob/master/fvm/evm/stdlib/abiOnlyContract.cdc)
17+
Mainnet/Testnet Source: [`EVM.cdc`](https://github.com/onflow/flow-go/blob/master/fvm/evm/stdlib/contract.cdc)
1818

1919
| Network | Contract Address |
2020
| ------------------------- | -------------------------------------------------------------------------- |

docs/build/guides/mobile/react-native-quickstart.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ const styles = StyleSheet.create({
448448

449449
```
450450
451-
Press the "Init Account" button you should see the wallet ask you to approve a transaction. After approving, you will see a transaction response appear in your console (make sure to have that open). It may take a few moments. With the transaction result printed, you can use the `transactionId` to look up the details of the transaction using a [block explorer](https://testnet.flowdiver.io/).
451+
Press the "Init Account" button you should see the wallet ask you to approve a transaction. After approving, you will see a transaction response appear in your console (make sure to have that open). It may take a few moments. With the transaction result printed, you can use the `transactionId` to look up the details of the transaction using a [block explorer](https://testnet.flowscan.io/).
452452
453453
## Mutating the Blockchain
454454

docs/ecosystem/block-explorers.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Block explorers are user-friendly online tools that visually present blockchain
1414

1515
## Flow Diver
1616

17-
[Flow Diver](https://www.flowdiver.io/) provides various tools to explore the blockchain, including:
17+
[Flowscan](https://flowscan.io/) provides various tools to explore the blockchain, including:
1818

1919
- Blocks
2020
- Transactions
@@ -25,8 +25,8 @@ Block explorers are user-friendly online tools that visually present blockchain
2525

2626
### Supported networks:
2727

28-
- [Mainnet](https://www.flowdiver.io/)
29-
- [Testnet](https://testnet.flowdiver.io/)
28+
- [Mainnet](https://flowscan.io/)
29+
- [Testnet](https://testnet.flowscan.io/)
3030

3131
## Flow View
3232

docs/ecosystem/bridges.md

+8
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,12 @@ Bridges are mechanisms that connect different blockchain networks, enabling secu
1919

2020
[Axelar](https://www.axelar.network/) is a decentralized cross-chain network connecting over 55 blockchains, facilitating asset transfers and smart contract programmability. It features a proof-of-stake consensus for security and supports cross-chain applications through General Message Passing (GMP). Integrations with platforms like [Squid](https://www.squidrouter.com/) enable easy token swaps across networks like Ethereum and Polygon.
2121

22+
## LayerZero
23+
24+
[LayerZero](https://docs.layerzero.network/) is a decentralized omnichain interoperability protocol that enables direct cross-chain messaging and asset transfers. It uses a unique Ultra Light Node (ULN) architecture combined with decentralized verifiers to ensure secure message delivery across chains. LayerZero supports multiple EVM-compatible chains and provides developers with tools to build cross-chain applications through its EndpointV2 contracts.
25+
26+
## Hyperlane
27+
28+
[Hyperlane](https://www.usenexus.org/) is a modular interoperability framework that enables secure cross-chain communication. It allows developers to build applications that can seamlessly interact across different blockchain networks. Hyperlane's architecture emphasizes security and flexibility, providing customizable security models and permissionless interoperability between any blockchain networks.
29+
2230
</div>

docs/ecosystem/projects.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ Explore an array of exciting, grassroots initiatives, and projects that thrive w
208208
},
209209
{
210210
type: 'link',
211-
label: 'Flowdiver historical API',
211+
label: 'Flow historical API',
212212
href: 'https://findonflow.github.io/findlabs-api/',
213213
description: 'It is an Api to allow users to fetch historical data of Flow blockchain from the findlabs database.',
214214
customProps: {

docs/evm/accounts.md

+12
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,18 @@ EOAs and Contract accounts function the same as on other EVM networks. Users may
2222

2323
However, in order to leverage all the features of Cadence, developers will need to utilize Cadence Owned Accounts.
2424

25+
:::danger
26+
27+
🚨🚨🚨 **ASSET LOSS RISK** 🚨🚨🚨
28+
29+
Cadence-Owned Accounts, easily identifiable by the leading zeroes (`0x00000000000000000000000`) **only exist on Flow**. The keys to these addresses are generated in a way that is not compatible with other networks.
30+
31+
As a result, any assets sent to one of these addresses on another network **will be lost permanently!**
32+
33+
We're working with major wallet providers to block such transfers, and recommend that all app and wallet developers do the same.
34+
35+
:::
36+
2537
## Cadence Owned Accounts
2638

2739
A Cadence Owned Account (COA) is a natively supported EVM smart contract wallet type that allows a Cadence resource to own and control an EVM address. This native wallet type provides the primitives needed to bridge or control assets across Flow EVM and Cadence facilitating composability between environments.
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
position: 3
12
label: Accessing Data
Original file line numberDiff line numberDiff line change
@@ -1193,7 +1193,7 @@ message Block {
11931193
| block_header | A summary of a [block](#block-header) |
11941194
| protocol_state_id | The root hash of protocol state. |
11951195

1196-
The detailed semantics of block formation are covered in the [block formation guide](../../../../../build/basics/blocks.md).
1196+
The detailed semantics of block formation are covered in the [block formation guide](../../build/basics/blocks.md).
11971197

11981198
### Block Header
11991199

@@ -1349,17 +1349,17 @@ message TransactionSignature {
13491349
| authorizers | Addresses of the transaction authorizers |
13501350
| signatures | [Signatures](#transaction-signature) from all signer accounts |
13511351

1352-
The detailed semantics of transaction creation, signing and submission are covered in the [transaction submission guide](../../../../../build/basics/transactions.md#signing-a-transaction).
1352+
The detailed semantics of transaction creation, signing and submission are covered in the [transaction submission guide](../../build/basics/transactions.md#signing-a-transaction).
13531353

13541354
#### Proposal Key
13551355

1356-
The proposal key is used to specify a sequence number for the transaction. Sequence numbers are covered in more detail [here](../../../../../build/basics/transactions.md#sequence-numbers).
1356+
The proposal key is used to specify a sequence number for the transaction. Sequence numbers are covered in more detail [here](../../build/basics/transactions.md#sequence-numbers).
13571357

1358-
| Field | Description |
1359-
| --------------- | ---------------------------------------------------------------------------------------------------- |
1360-
| address | Address of proposer account |
1361-
| key_id | ID of proposal key on the proposal account |
1362-
| sequence_number | [Sequence number](../../../../../build/basics/transactions.md#sequence-numbers) for the proposal key |
1358+
| Field | Description |
1359+
| --------------- | ------------------------------------------------------------------------------------------- |
1360+
| address | Address of proposer account |
1361+
| key_id | ID of proposal key on the proposal account |
1362+
| sequence_number | [Sequence number](../../build/basics/transactions.md#sequence-numbers) for the proposal key |
13631363

13641364
#### Transaction Signature
13651365

@@ -1415,7 +1415,7 @@ message Account {
14151415

14161416
The `code` and `contracts` fields contain the raw Cadence source code, encoded as UTF-8 bytes.
14171417

1418-
More information on accounts can be found [here](../../../../../build/basics/accounts.md).
1418+
More information on accounts can be found [here](../../build/basics/accounts.md).
14191419

14201420
#### Account Key
14211421

@@ -1433,17 +1433,17 @@ message AccountKey {
14331433
}
14341434
```
14351435

1436-
| Field | Description |
1437-
| --------------- | -------------------------------------------------------------------------------------------- |
1438-
| id | Index of the key within the account, used as a unique identifier |
1439-
| public_key | Public key encoded as bytes |
1440-
| sign_algo | [Signature algorithm](../../../../../build/basics/accounts.md#signature-and-hash-algorithms) |
1441-
| hash_algo | [Hash algorithm](../../../../../build/basics/accounts.md#signature-and-hash-algorithms) |
1442-
| weight | [Weight assigned to the key](../../../../../build/basics/accounts.md#account-keys) |
1443-
| sequence_number | [Sequence number for the key](../../../../../build/basics/transactions.md#sequence-numbers) |
1444-
| revoked | Flag indicating whether or not the key has been revoked |
1436+
| Field | Description |
1437+
| --------------- |---------------------------------------------------------------------------|
1438+
| id | Index of the key within the account, used as a unique identifier |
1439+
| public_key | Public key encoded as bytes |
1440+
| sign_algo | [Signature algorithm](../../build/basics/accounts.md#signature-and-hash-algorithms) |
1441+
| hash_algo | [Hash algorithm](../../build/basics/accounts.md#signature-and-hash-algorithms) |
1442+
| weight | [Weight assigned to the key](../../build/basics/accounts.md#account-keys) |
1443+
| sequence_number | [Sequence number for the key](../../build/basics/transactions.md#sequence-numbers) |
1444+
| revoked | Flag indicating whether or not the key has been revoked |
14451445

1446-
More information on account keys, key weights and sequence numbers can be found [here](../../../../../build/basics/accounts.md).
1446+
More information on account keys, key weights and sequence numbers can be found [here](../../build/basics/accounts.md).
14471447

14481448
### Event
14491449

docs/networks/flow-networks/index.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ For more information on how to access these networks, refer to the following gui
3131

3232
There are two primary ways to access on-chain data within the Flow network; Access Nodes and Light nodes. Access Nodes are the node type that are most useful for developers, as they provide access to the Flow network via the following API endpoints:
3333

34-
- [Flow Access API](../node-ops/access-onchain-data/access-nodes/accessing-data/access-api.md)
34+
- [Flow Access API](../access-onchain-data/index.md)
3535
- [Mainnet](./accessing-mainnet.md): `access.mainnet.nodes.onflow.org:9000`
3636
- [Testnet](./accessing-testnet.md): `access.devnet.nodes.onflow.org:9000`
3737
- [Status Page](https://status.onflow.org/) - Network status page
@@ -44,7 +44,7 @@ Rate limits for Flow Public Access nodes hosted by QuickNode are detailed [here]
4444

4545
If you’re getting started you don’t need to run your own node and you can use the above public nodes. The public access nodes are rate-limited, so as your product matures you might want to run your own node. There are multiple options available:
4646

47-
- Start with a [Light (Observer) Node](../node-ops/access-onchain-data/light-nodes/observer-node.md).
47+
- Start with a [Light (Observer) Node](../node-ops/light-nodes/observer-node.md).
4848
- You can also use a third-party provider like [Quicknode](https://www.quicknode.com/docs/flow).
4949

50-
Check out [Running a Node](../node-ops/access-onchain-data/light-nodes/observer-node.md) for more information.
50+
Check out [Running a Node](../node-ops/light-nodes/observer-node.md) for more information.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
label: Access Nodes
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Serving execution data
33
sidebar_label: Execution Data
4-
sidebar_position: 3
4+
sidebar_position: 2
55
---
66

77
Flow chain data comprises of two parts,
@@ -100,7 +100,7 @@ gsutil ls "gs://flow-genesis-bootstrap/checkpoints/"
100100
The checkpoint paths are in the format `flow-genesis-bootstrap/checkpoints/[network]/[epoch number]-[block height]/`.
101101
Where
102102
* `[network]` is the network the checkpoint is from. For example, `mainnet` or `testnet`.
103-
* `[epoch number]` is the epoch number when the checkpoint was taken. You can find the current epoch number on the [flowdiver](https://www.flowdiver.io/) home page.
103+
* `[epoch number]` is the epoch number when the checkpoint was taken. You can find the current epoch number on the [flowscan.io](https://flowscan.io/) home page.
104104
* `[block height]` is the block height at which the checkpoint was taken.
105105
Make sure that the checkpoint you select is from an epoch when your node was part of the network.
106106

0 commit comments

Comments
 (0)