@onflow/fcl
is at least 0.0.72flow-mainnet.g.alchemy.com
flow-testnet.g.alchemy.com
api_key
. ACCESS_NODE
to point to the Alchemy testnet endpoint: https://flow-testnet.g.alchemy.comconfig.js
file to include your Alchemy api_key:@onflow/fcl
).@onflow/fcl
is the latest build of FCL.@onflow/types
is a conversion layer between JavaScript and Cadence (Flow's native language). These are used when we want to pass JavaScript into Cadence transactions and scripts../.env.local
, ./src/config.js
) one to hold our env. variables locally, one to import those env. variables and supply them to FCL. Then we will import our FCL configuration as the very first thing in our application.REACT_APP_*
REACT_APP_ACCESS_NODE
is your gRPC Endpoint in your Alchemy dashboard.env.local
and add the following to it:REACT_APP_ACCESS_NODE
variable to point to the Alchemy endpoint and including your Alchemy API key as another variable: ./src/config.js
and add the following to it:config.js
file in your index.js
./src/index.js
and add the following as the first line:context.Background()
at https://docs.onflow.org/flow-go-sdk/creating-accounts/