Creating a Local Development Environment
Kurtosis has created an easy way to spin up a local NEAR testing environment using a Docker container.
This Kurtosis NEAR Package contains the following components:
- Indexer for Explorer
- NEAR Explorer
- NEAR Wallet
- Local RPC Endpoint
Visit here to see a short demo of the package in action.
Prerequisites
- Docker
- Yarn
- NEAR-CLI
- Kurtosis CLI
- Start Kurtosis engine after installation using:
kurtosis engine start
- Start Kurtosis engine after installation using:
Setup
Launch Kurtosis NEAR Package
Launch your Kurtosis NEAR Package in four easy steps!
-
Launch Docker
-
Copy the Kurtosis NEAR Package launch script by running the following:
curl -o ~/launch-local-near-cluster.sh https://raw.githubusercontent.com/kurtosis-tech/near-package/master/launch-local-near-cluster.sh -L
- Grant write permission to the script file you just downloaded:
chmod u+x ~/launch-local-near-cluster.sh
- Launch the Kurtosis NEAR Package:
If you're running the NEAR-in-Kurtosis cluster on your local machine:
~/launch-local-near-cluster.sh