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
Copy file name to clipboardExpand all lines: docs/build/getting-started/fcl-quickstart.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -285,7 +285,7 @@ However:
285
285
286
286
### Integrating Authentication and Building the Complete UI
287
287
288
-
Finally, integrate the query, mutation, and transaction status hooks with authentication using `useCurrentFlowUser`. Combine all parts to build the complete page.
288
+
Finally, integrate the query, mutation, and transaction status hooks with authentication using `useFlowCurrentUser`. Combine all parts to build the complete page.
-**Step 2** sends a transaction to increment the counter and stores the transaction ID.
411
411
-**Step 3** subscribes to transaction status updates using the stored transaction ID and uses a `useEffect` hook to automatically refetch the updated count when the transaction is sealed (status code 4).
412
-
-**Step 4** integrates authentication via `useCurrentFlowUser` and combines all the pieces into a single user interface.
412
+
-**Step 4** integrates authentication via `useFlowCurrentUser` and combines all the pieces into a single user interface.
413
413
414
414
:::tip
415
415
@@ -451,7 +451,7 @@ Then visit [http://localhost:3000](http://localhost:3000) in your browser. You s
451
451
By following these steps, you've built a simple Next.js dApp that interacts with a Flow smart contract using [**@onflow/kit**]. In this guide you learned how to:
452
452
453
453
- Wrap your application in a `FlowProvider` to configure blockchain connectivity.
454
-
- Use kit hooks such as `useFlowQuery`, `useFlowMutate`, `useFlowTransactionStatus`, and `useCurrentFlowUser` to manage authentication, query on-chain data, submit transactions, and monitor their status.
454
+
- Use kit hooks such as `useFlowQuery`, `useFlowMutate`, `useFlowTransactionStatus`, and `useFlowCurrentUser` to manage authentication, query on-chain data, submit transactions, and monitor their status.
455
455
- Integrate with the local Flow emulator and Dev Wallet for a fully functional development setup.
456
456
457
457
For additional details and advanced usage, refer to the [@onflow/kit documentation] and other Flow developer resources.
Visit the [Flow Faucet] and follow the instructions to add testnet funds. Compared to other networks, the [Flow Faucet] grants a vast amount of tokens - enough gas for millions of transactions.
253
253
254
+
:::warning
255
+
256
+
EVM accounts created by the [Flow Wallet] are [Cadence-Owned Accounts], or COAs - **Not** EOAs. COAs have many advantages over EOAs, but they are generated differently, which means they don't have a key that's compatible with hardhat.
257
+
258
+
Use your [MetaMask] or similar EOA account to deploy contracts on Flow EVM.
259
+
260
+
:::
261
+
254
262
### Deploy the Contract
255
263
256
264
Deploy the contract with:
@@ -354,3 +362,4 @@ Ready to unlock the full potential of Flow EVM? Start with our [Batched Transact
Copy file name to clipboardExpand all lines: docs/tutorials/native-vrf/index.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ This series covers how to leverage Flow's native VRF (Verifiable Random Function
27
27
-**[Secure Randomness with Commit-Reveal in Cadence]** - Learn how to implement secure randomness in Cadence using Flow's commit-reveal scheme.
28
28
-**[VRF (Randomness) in Solidity]** - Learn how to use Flow's native VRF capabilities in Solidity.
29
29
-**[Deploy a Solidity Contract Using Cadence]** - Discover how to deploy and interact with Solidity contracts on Flow EVM using Cadence.
30
+
-**[VRF (Randomness) in Solidity]** - How to access Flow's native verifiable randomness from Solidity smart contracts on Flow EVM, including code examples and security considerations.
30
31
31
32
## More Coming Soon
32
33
@@ -35,3 +36,4 @@ Stay tuned—more tutorials and advanced guides are on the way!
35
36
[Secure Randomness with Commit-Reveal in Cadence]: ./commit-reveal-cadence.md
36
37
[VRF (Randomness) in Solidity]: ./vrf-in-solidity.md
37
38
[Deploy a Solidity Contract Using Cadence]: ./deploy-solidity-contract.md
39
+
[VRF (Randomness) in Solidity]: ./vrf-in-solidity.md
0 commit comments