Skip to main content

Flow Previewnet

About Flow Previewnet

Flow Previewnet is Flow's official testing and development network for the Crescendo upgrade. It is intended to provide an early experimentation environment for app developers. It aims to balance similarity with Mainnet with being a productive development environment, resulting in the following key differences:

  • Significantly fewer validator nodes, resulting in a faster block rate compared to Mainnet
  • Shorter epochs (about 12 hours, compared to 7 days on Mainnet)

Accessing Flow Previewnet

Previewnet is available for access at this URL:


_10
access.previewnet.nodes.onflow.org:9000

You can also access the network using the Flow Go SDK:


_10
import "github.com/onflow/flow-go-sdk/client"
_10
_10
func main() {
_10
flowAccessAddress := "access.previewnet.nodes.onflow.org:9000"
_10
flowClient, _ := client.New(flowAccessAddress, grpc.WithInsecure())
_10
// ...
_10
}

Generating Keypair

You can generate a new keypair with the Flow CLI as follows:


_10
> flow keys generate
_10
_10
🙏 If you want to create an account on Previewnet with the generated keys use this link:
_10
https://previewnet-faucet.onflow.org/?key= cc1c3d72...
_10
_10
_10
🔴️ Store private key safely and don't share with anyone!
_10
Private Key 246256f3...
_10
Public 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.

Account Creation and Token Funding Requests

Accounts and tokens for testing can be obtained through the previewnet faucet. If you generated the keypair through the CLI, you can click on the URL provided to create an account and request FLOW tokens.

Important Smart Contract Addresses

You can review all available core contracts deployed to the Previewnet to identify which ones you want to import into your project.