Nervos CKB Docs
  • Basics
  • Reference
  • Labs
  • Integrate
  • Essays

›Guides

Basics

  • Basics Introduction
  • Concepts

    • Nervos Blockchain
    • Cell Model
    • Consensus
    • Economics
    • CKB-VM

    Guides

    • Run a CKB Dev Blockchain
    • Run a CKB Mainnet Node
    • Run a CKB Testnet Node
    • Neuron Wallet Guide
    • Run a CKB Mainnet Node and Testnet Node with Docker
    • Get CKB Binary
    • Get CKB Binary on Windows (experimental)
  • Tools
  • Glossary

Reference

  • Introduction
  • Cell
  • Script
  • Transaction
  • JSON-RPC

Labs

  • Introduction
  • Write a SUDT script by Capsule
  • Introduction to Lumos via NervosDAO
  • Dynamic loading in Capsule

Integrate

  • Nervos CKB Mainnet - Integration Guide
  • Q&A | For Wallets/Exchanges/Mining Pools
  • Nervos CKB SDK

Essays

  • Introduction
  • Developer Materials Guide
  • A Tour of RFCs
  • Transaction validation lifecycle
  • Tips for debugging CKB script
  • Tips for profiling CKB script
  • The General Workflow for Constructing a Transaction
  • Script dependencies
  • Introduction to CKB Studio
  • Technical Bits on Polyjuice
  • CKB FAQs
  • Tips for CKB development
  • Integrity Check for CKB Release
  • Mint SUDT via Contract

Get CKB Binary on Windows (experimental)

Please note that Support for Windows is experimental. CKB is known to have serious performance issues when running in Windows. All commands listed below should be used through PowerShell.

Build from Source

Setup the Build Environment

Install Visual Studio 2019

Install Visual Studio 2019 with the workload: "Desktop development with C++".

minimum requirements: You can just select two individual components: "MSVC v142 - VS 2019 C++ x64/x86 build tools (vXX.XX)" and "Windows 10 SDK (10.0.X.0)".

Install Tools with Scoop

  • Install Scoop.

  • Install git, llvm, yasm and rustup via Scoop.

    scoop install git
    scoop install llvm
    scoop install yasm
    scoop install rustup
    
  • Install dependencies.

    • Add "extras" bucket for Scoop.

      scoop bucket add extras
      
    • yasm requires Microsoft Visual C++ 2010 runtime Libraries.

      scoop install vcredist2010
      
  • Configure Rust.

    rustup set default-host x86_64-pc-windows-msvc
    

Build CKB on Windows 10

  • Checkout the source code of CKB.

    git clone https://github.com/nervosnetwork/ckb
    cd ckb
    
  • Build CKB.

    devtools/windows/make prod
    

Download from Releases

We publish binaries for each release via Github Releases. You can download the package directly.The Windows packages are for experiments only and have significant performance issues, we don't recommend to use them in production environment.They requires The Visual C++ Redistributable Packages, which can be downloaded under section Other Tools and Frameworks here or here.

← Get CKB BinaryTools →
  • Build from Source
    • Setup the Build Environment
    • Build CKB on Windows 10
  • Download from Releases
Foundation
About Us
Developer
GitHubWhitepaperRFCs
TwitterBlogTelegramRedditYouTubeForum
Copyright © 2020 Nervos Foundation. All Rights Reserved.
Note we've completely rebuilt Nervos Doc site! For the old doc site, please see docs-old.