Skip to main content

Since January 2026, we are unfortunately unable to actively maintain or develop ink! further.

We have written down the details in a Polkadot Forum post.

Version: v6

Heart Title Picture

Create a new project

pop new contract flipper -t standard

This command will create a new project folder named flipper with:

flipper
└─ lib.rs <-- Contract Source Code
└─ Cargo.toml <-- Rust Dependencies and ink! Configuration
└─ .gitignore

You can find the flipper code here.

To see other templates:

pop new contract

Now that we are feeling confident things are working, we can actually compile the contract in the next step.