图片

ICP Ninja is an online platform for developing and deploying applications on the Internet Computer (ICP). Choose from a variety of sample projects, edit the code in a browser-based editor, and then deploy your project directly to the ICP mainnet in seconds.

Ready to get started? Jump right into the EVM block explorer project:

  • icp.ninja/projects/evm-block-explorer

图片

What is ICP Ninja?

ICP Ninja is a web-based integrated development environment (IDE) for creating and deploying container smart contracts, which provides a springboard for developers to quickly and seamlessly start building on ICP.

ICP Ninja breaks away from the traditional development workflow for ICP developers, which typically involves downloading the IC SDK, creating a developer identity, and then obtaining Cycles to pay for container resources. With ICP Ninja, deploying an application is as simple as opening a template project and clicking “Deploy.”

ICP Ninja enhances the developer experience by providing an integrated AI learning assistant that can be used to ask questions, troubleshoot code, explain specific code snippets, and even improve the code you write.

Your session is automatically saved so you can return to it later. Once a project is deployed, it is only available for 20 minutes, but can be redeployed if necessary.

Since projects on ICP can be written in multiple programming languages, such as Motoko or Rust, ICP Ninja provides multiple template projects in these two languages, with plans to support Python and TypeScript in the future.

The IDE’s template projects highlight ICP’s unique features, including HTTPS calls, randomness, and Chain Fusion, which refers to ICP’s ability to communicate directly with other blockchain networks without using an intermediary such as a bridge or oracle.

ICP containers can fetch information from other blockchains, or sign and submit transactions directly on other networks, including Ethereum and other EVM chains, as well as Bitcoin, thus supporting Bitcoin DeFi applications.

图片

How does Chain Fusion work?

ICP facilitates decentralized, two-way communication with other networks using one of three methods:

  • Direct Integration: For the Bitcoin network, ICP uses a direct communication line created by running a dedicated Bitcoin subnet. Nodes on the subnet participate in the Bitcoin network. The container uses chain key cryptography and threshold signatures to sign transactions and submit them to the Bitcoin mainnet.

  • Decentralized RPC integration: For Ethereum and other EVM-compatible networks, the RPC container can be imported into the project and used to send API requests to JSON-RPC services such as Cloudflare. API calls from the RPC container are made over HTTPS outbound calls.

  • HTTPS calls: HTTPS calls enable containers to send and receive data from external sources, including traditional Web2 services and other blockchain networks. To use HTTPS calls to call other chains, the chain must support one of the signature schemes supported by ICP, such as ECDSA, EdDSA, or Schnorr.

图片

EVM Block Explorer Project

Start trying Chain Fusion with the ICP Ninja project “EVM Block Explorer”. The EVM block explorer example demonstrates how ICP smart contracts can directly obtain information from other blockchain networks and sign messages using ECDSA and Schnorr threshold signatures.

Threshold signatures are the core technology behind Chain Fusion as they enable a container to have the public keys of different signing subjects (such as ECDSA and Schnorr) and then sign messages with those keys.

Open this project in ICP Ninja to get started, it's currently available in Rust, with Motoko coming soon.

Read the WELCOME.md and README.md files to get more information on how to use ICP Ninja and to learn more about the features of this project.

图片

To deploy the project, click Deploy in the upper right corner. The application will be built and deployed to the ICP Playground network, where it will be available for 20 minutes. A preview of the frontend will be shown in the IDE, and you can use it to test the functionality of your code.

图片

Explore other projects

ICP Ninja has several example projects to choose from, each showcasing different use cases and features of ICP. Some of the other projects include:

  • Flying Ninja: Create your own 2D side-scrolling game where you control a flying ninja through randomly generated obstacles and record your highest score on the in-game leaderboard.

  • Daily Planner: Track daily tasks and appointments with the Daily Planner app. Customize the planner's functionality by pulling data from external sources using HTTPS calls. By default, the app displays daily historical facts.

  • FileVault: Upload files and store them directly on-chain, and explore how to integrate Internet Identity with ICP smart contracts to enable user authentication within applications.

  • Tokenmania: Create and deploy custom tokens using the ICRC-2 token standard, learn how to log in with Internet Identity, get your principal ID, and then mint tokens owned by that principal.

Test ICP Ninja now to see all the available projects:

  • icp.ninja

图片

Find ICP at ETHDenver

Want to ask questions, see a live demo, or learn more about ICP? Visit the ICP booth at ETHDenver from February 27 to March 2, 2025.

For more information, please visit:

  • internetcomputer.org/ethdenver

图片

#ICP生态 #ETHDenver2025 #ninjas


IC content you care about

Technology Progress | Project Information | Global Activities

Collect and follow IC Binance Channel

Get the latest news