Skip to content

ink! Dev Hub

Welcome to the ink! Dev Hub, where we share our work and our passion for ink! smart contracts and dApps development.

ink!devhub

About ink! Dev Hub

ink! Dev Hub integrates Swanky Suite tool, DRink! Tool, as well as ink! examples with an aim to improve developer tooling around WASM (ink!) smart contracts.

We aim to contribute to the development of a more robust, secure, and accessible ink! smart contract environment for developers, helping users accomplish their tasks promptly and effortlessly while utilizing advanced features when required.

ink! Dev Hub encourages more web3 developers to explore and adopt WASM (ink!) smart contracts within the Polkadot and Kusama ecosystems, creating a thriving developer community that can bring Polkadot's potential to life. By focusing on WASM-based ink! smart contracts, ink! Dev Hub is essentially future-proofing the Polkadot and Kusama ecosystems, ensuring they remain at the forefront of blockchain technology.

Swanky

Swanky is designed to be the go-to developer tool for every aspect of developing WASM (ink!) smart contracts for Polkadot, from scaffolding to live-net deployment. While some tools currently exist, Swanky's intent is to integrate and extend these tools as necessary, offering a more streamlined, dev-friendly experience.

The development of a smart contract project follows a clear, necessary sequence: scaffolding a new project, building and testing locally, deploying and testing on a test network, and finally deploying on a live network. Swanky is designed to provide support at every stage of this process, making it an indispensable asset for any WASM (ink!) smart contract developer.

DRink!

DRink! library provides a minimal viable functionality for arbitrary runtime interaction and standard contract-related operations (like code upload, instantiation or calling). DRink! was designed with a particular trade-off in mind: giving up the whole node layer with simultaneously gaining direct access to the runtime. For that, we make use of the existing machinery exposed by the Substrate framework, that before was primarily used for pallet unit testing. We build (in-memory) minimal runtime supporting ink! smart contracts (although the library supports arbitrary ink!-compatible runtime) and expose a convenient, synchronous interface for interacting with the chain.

Since there is no node running in the background, we can benefit from omitting node/network configuration issues, blocktime/finalization delays or overhead coming from asynchronous communication between e2e client and RPC chain service.

DRink! originally came with drink-cli: a command-line tool with terminal graphic interface for local playing with contracts.

Teams' background

Astar Network won its Parachain auction in January 2022, and since then has been the leading smart contract hub. Astar Foundation's core development team is the main contributor to Astar Network contributing to the Polkadot ecosystem since 2019. Astar Network is the future of smart contracts platform for multichain. The network supports the building of dApps with EVM and WASM smart contracts and offers developers true interoperability, with cross-consensus messaging (XCM) and cross-virtual machine (XVM). We are made by developers and for developers.

Aleph Zero is an enterprise-ready, high-performance layer 1 blockchain platform with a novel, peer-reviewed AlephBFT consensus protocol. Besides providing near-instant transaction finality, the platform offers privacy-preserving features on a public blockchain through the combination of Zero-Knowledge proofs and Multi Party Computations (MPC).

Phala Network, a privacy-preserving cloud computing service built on Substrate, is set to operate as a parachain within the Polkadot ecosystem, providing computing power on par with existing cloud services while safeguarding the privacy of managed programs. With its off chain programming model Phat Contract running on Phala Network, it enables developers to make smart contracts even smarter.

Swanky repositories

repo type frontend tutorial
swanky-cli tool - README
swanky-node tool - README
dex example - tutorial
nft example - tutorial
manic-minter example - tutorial
rmrk-lazy-mint example - -
meta-transaction example - -
marketplace example - -
lottery example -
farming example - -

DRink! repositories

repo type frontend tutorial
drink library / tool TUI available quick start

Pinned Loading

  1. swanky-cli swanky-cli Public

    The all-in-one developer environment for Parity pallet-contracts based smart contracts!

    TypeScript 70 29

  2. swanky-node swanky-node Public

    Substrate test node with instant finality

    Rust 39 14

  3. dex dex Public

    ink! DEX unaudited full implementation

    Rust 30 3

  4. nft nft Public

    example nft project using ink! smart contract.

    TypeScript 13 11

  5. manic-minter manic-minter Public template

    ink! smart contract example for cross contract calls with ink_e2e tests

    Rust 3 1

  6. rmrk-lazy-mint rmrk-lazy-mint Public

    RMRK lazy minting proxy contract

    Rust 3 2

Repositories

Showing 10 of 27 repositories
  • drink Public

    De-chained Ready-to-play ink! playground

    inkdevhub/drink’s past year of commit activity
    Rust 69 Apache-2.0 15 9 0 Updated Apr 3, 2024
  • swanky-cli Public

    The all-in-one developer environment for Parity pallet-contracts based smart contracts!

    inkdevhub/swanky-cli’s past year of commit activity
    TypeScript 70 MIT 29 20 (5 issues need help) 1 Updated Apr 1, 2024
  • swanky-node Public

    Substrate test node with instant finality

    inkdevhub/swanky-node’s past year of commit activity
    Rust 39 Unlicense 14 3 0 Updated Mar 30, 2024
  • amm_pool Public

    Implementation of an AMM pool with more than 2 tokens, based on the Balancer model.

    inkdevhub/amm_pool’s past year of commit activity
    Rust 0 Apache-2.0 0 0 0 Updated Mar 21, 2024
  • dutch_auction Public

    Implementation of a contract for selling (and buying) an asset using a Dutch auction.

    inkdevhub/dutch_auction’s past year of commit activity
    Rust 0 Apache-2.0 0 0 0 Updated Mar 21, 2024
  • call_runtime_template Public

    Example of contracts to make calls to other pallets as if they were user transactions

    inkdevhub/call_runtime_template’s past year of commit activity
    Rust 0 Apache-2.0 0 0 0 Updated Mar 21, 2024
  • safe_randomness Public

    Demonstrates the idea of randomness with late reveal, uses randomness that is generated "in the future" to guarantee unpredictability.

    inkdevhub/safe_randomness’s past year of commit activity
    Rust 0 Apache-2.0 0 0 0 Updated Mar 21, 2024
  • inkdevhub/inkdevhub-docs’s past year of commit activity
    SCSS 0 0 0 0 Updated Mar 7, 2024
  • drink-pink-runtime Public Forked from Phala-Network/pink-drink

    A drink runtime implementation for Phat Contract.

    inkdevhub/drink-pink-runtime’s past year of commit activity
    Rust 0 4 0 0 Updated Mar 6, 2024
  • standards Public Forked from w3f/PSPs

    Smart Contracts Standards

    inkdevhub/standards’s past year of commit activity
    2 CC0-1.0 69 1 1 Updated Mar 1, 2024

Top languages

Loading…

Most used topics

Loading…