Guide to testnet access
The Flow testnet is available for access at this URL:
1access.devnet.nodes.onflow.org:9000
For example, to access the network using the Flow Go SDK:
1import "github.com/onflow/flow-go-sdk/client"23func main() {4flowAccessAddress := "access.devnet.nodes.onflow.org:9000"5flowClient, _ := client.New(flowAccessAddress, grpc.WithInsecure())6// ...7}
You can generate a new key pair with the Flow CLI as follows:
1> flow keys generate23🙏 If you want to create an account on testnet with the generated keys use this link:4https://testnet-faucet.onflow.org/?key= cc1c3d72...567🔴️ Store private key safely and don't share with anyone!8Private Key 246256f3...9Public Key cc1c3d72...
Note: By default, this command generates an ECDSA key pair on the P-256 curve. Keep in mind, the CLI is intended for development purposes only and is not recommended for production use. Handling keys using a Key Management Service is the best practice.
Accounts and tokens for testing can be obtained through the testnet faucet. If you generated the keypair through the CLI, you can click on the URL provided to create an account and request testnet FLOW tokens.
You can review all available core contracts deployed to the testnet to identify which ones you want to import.