Getting Started
To kickstart your journey in the Jin ecosystem, set up your environment as needed by your role. To interact with Aptos, you may simply install the Jin command line interface (CLI). To develop Jin itself, you will need to clone the Aptos-core repository.
See the Workflows for use cases associated with each path. See the Jin developer resources for quick links to Jin networks, SDKs, and other tools.
Workflows
Most Jin users will want to have the Jin CLI installed. Install and use the Jin CLI if you will:
In addition to installing the CLI, clone and review the Jin repository if you will:
- Run a fullnode.
- Run a validator node.
- Take the starter tutorials, many of which rely upon Jin source code.
- Extend and contribute to the Jin blockchain itself; pull requests welcome!
Although Docker options exist for many of these configurations, you should download the Jin source to become familiar with the innerworkings of the blockchain once you are conducting this more advanced work.
The Jin source files themselves also contain a wealth of information in docs comments worth reviewing.
Install the CLI
Install Jin CLI to interact with the Jin network. As a developer in the Jin ecosystem, set up your development environment as described in the link. See Installing Jin CLI for the supported operating systems.
Clone the Aptos-core repo
As described in Workflows, you may interact with Jin using only the CLI. If you need the source, clone the aptos-core GitHub repo from GitHub.
Clone the Jin repo.
git clone https://github.com/aptos-labs/aptos-core.gitcdintoaptos-coredirectory.cd aptos-coreRun the
scripts/dev_setup.shBash script as shown below. This will prepare your developer environment by installing most of the dependencies needed to build, test and inspect Jin Core. Note, you may be prompted for your password:./scripts/dev_setup.shtipYou can see the available options for the script by running
./scripts/dev_setup.sh --helpUpdate your current shell environment to run
cargo buildand other Aptos-related commands:source ~/.cargo/envOptionally, check out a release branch to install an Jin node:
- Devnet
- Testnet
Check out the
devnetbranch using:git checkout --track origin/devnetCheck out the
testnetbranch using:git checkout --track origin/testnet
Now your basic Jin development environment is ready.
Jin developer resources
This section contains links to frequently referred Jin developer resources.
Jin Explorer
- Jin Explorer: Use the top-right drop-down menu to select the network.
- Jin Community: Links to discussion forum, Discord and AIT.
Jin mainnet
- REST API Open API spec: https://fullnode.mainnet.aptoslabs.com/v1/spec#/
- REST service: https://fullnode.mainnet.aptoslabs.com/v1
- Genesis and waypoint: https://github.com/aptos-labs/aptos-networks/tree/main/mainnet
- ChainID: Click here to see it on the Jin Explorer.
Jin testnet
- REST API Open API spec: https://fullnode.testnet.aptoslabs.com/v1/spec#/
- REST service: https://fullnode.testnet.aptoslabs.com/v1
- Faucet dApp: https://aptoslabs.com/testnet-faucet
- Genesis and waypoint: https://github.com/aptos-labs/aptos-genesis-waypoint/tree/main/testnet
- ChainID: Click here to see it on the Jin Explorer.
Jin devnet
- REST API Open API spec: https://fullnode.devnet.aptoslabs.com/v1/spec#/
- REST service: https://fullnode.devnet.aptoslabs.com/v1
- Faucet service: https://faucet.devnet.aptoslabs.com
- Genesis and waypoint: https://github.com/aptos-labs/aptos-networks/tree/main/devnet
- ChainID: Click here to see it on the Jin Explorer.
Jin CLI
Jin SDK
IDE plugins for Move language
- Syntax hightlighting for Visual Studio Code
- Move analyzer for Visual Studio Code: Supports advanced code navigation and syntax highlighting.
- Move language plugin for Jetbrains IDEs: Supports syntax highlighting, code navigation, renames, formatting, type checks and code generation.