1. Project Overview & Quickstart (inkonchain/docs)
File: README.md
InkChain Documentation App
An advanced, streamlined documentation platform built with Next.js and Nextra for InkChain.
๐ Build & Run
Build Docker image:
bashdocker build -t docs .Run Docker container:
bashdocker run -p 3000:3000 docs
๐ Requirements
- Node.js: v20.11.0 or higher
๐ Overview
This is a documentation application powered by Nextra and built on Next.js. Nextra simplifies the creation of documentation sites, allowing us to leverage the Pages Router for efficient navigation and routing. Currently, due to compatibility limitations, we have not yet upgraded to the App Router.
๐ Getting Started
To get started with local development:
- Clone the repository
- Install dependencies:bash
pnpm install - Start development server:bash
pnpm run dev
๐ Tooling
Our development setup includes multiple tools to maintain high-quality code and documentation:
- CSpell: Real-time spell checking to maintain documentation accuracy.
- Remark: Processes and renders Markdown content with added plugins.
- ESLint: Ensures code quality by catching potential issues.
- Prettier: Enforces consistent code formatting.
- Tailwind CSS: Utility-first CSS framework for fast, responsive UI development.
๐ฆ CI/CD Pipeline
Our CI/CD setup utilizes GitHub Actions to run automated checks on every pull request (PR):
- js-lint: Ensures proper JavaScript code formatting with ESLint.
- md-lint: Checks Markdown code formatting with Remark.
- format: Enforces consistent code style with Prettier.
- spell-check: Uses CSpell to verify correct spelling in the documentation. For any unique terms (e.g., "InkChain"), add them to the
./cspell/project-words.txtfile to whitelist.
๐ Feature Branch Deployment
For every new PR, our CI/CD pipeline deploys a temporary environment via AWS Amplify. This real-time deployment enables live testing and review of changes before merging, ensuring a smoother workflow. The deployment URL is automatically provided within the PR checks, allowing team members to interact with new features.
๐ Production Deployment
The main branch is configured for automatic continuous deployment via AWS Amplify. Every merge triggers a new build and deployment, ensuring that the latest version of the documentation is available to users without manual intervention.
File: src/content/shared/_badges.mdx
Badges
Welcome To Ink
Awarded for bridging Ethereum to Ink.
To bridge Ethereum, you can use the L1StandardBridge on the sepolia network crafted for Ink.
There are two ways to do it:
Gelato Bridge app
The app provides a very simple UI to deposit or withdraw SepoliaETH from and to Sepolia Ink.
Here is the app: https://testnet-bridge.gelato.network/bridge/ink-sepolia
Connect your wallet, select the amount to transfer, and that's it!
Directly calling the contract
You can call the bridgeETH method in the contract here: https://sepolia.etherscan.io/address/0xC0d337f71aD19a8f17a1b297cDb3a86c5EEf9Eec#writeProxyContract
For instance, if you want to bridge 1 Sepolia ETH into 1 Sepolia "Ink" ETH:
- Connect your Wallet using the "Connect to Wallet" button
- Expand the
bridgeETHmethod and enterbridgeETH: 1 - Enter
_minGasLimit: 1000(or whatever suits you) - Enter
_extraData: 0x00 - Click "Write", then validate the transaction in MetaMask, then sign it to complete the transaction.
Wrapped ETH
Awarded for wrapping Ethereum into WETH.
To create Wrapped ETH tokens (WETH), you can interact with the deposit method in the contract here: https://explorer-sepolia.inkonchain.com/token/0x47d1f931eaff721549cc0ad57da81729baa8b4b2?tab=write_contract
- Connect your Wallet using the button
- Expand the
depositmethod and enterSend native ETH: 10 000 000 000 000 000.
- This is equivalent to 0.01 ETH, adjust as needed
- Click "Write", then validate the transaction in MetaMask, then sign it to complete the transaction.
If you want the token to appear in MetaMask, click on the MetaMask button at the top of the page
ERC20 Interactions
Awarded for minting, sending, and receiving ERC20 tokens.
coming soon
NFT Interactions
Awarded for minting, sending, and receiving NFTs.
coming soon
Faucet User
Awarded for using the Ink faucet.
Get here: https://mystery-faucet.inkonchain.com/
Enter your address, enter the captcha, that's it!
Smart Contract Deployer
Awarded for deploying a smart contract.
coming soon
File: src/content/shared/block-explorers-content.mdx
Blockscout
Blockscout is a universal block explorer providing detailed chain information and tools for debugging smart contracts and transactions. Visit the Blockscout Docs for details.
Supported Networks
- Ink Sepolia: https://explorer-sepolia.inkonchain.com/
Verifying Smart Contract Code on Blockscout
- Please see this tutorial
Routescan
Routescan is a unified explorer for over 54 blockchains.
Supported Networks
- Ink Sepolia: https://sepolia.inkonscan.xyz/
File: src/content/shared/bridges-content.mdx
import { Callout } from 'nextra/components'
Bridges
These bridges provide different interfaces to the canonical smart contracts that facilitate migrating ETH from one chain to another.
How to use
- Visit the bridge and connect your wallet.
- Choose Sepolia as your source and Ink as the destination.
- Input the amount of assets you want to bridge.
- Confirm and sign the transaction with your wallet.
- Once the bridging is complete, the assets will appear in your wallet on Ink.
Gelato bridge
Bridge: https://bridge-gel-sepolia.inkonchain.com/
Ink Bridge
Bridge: https://inkonchain.com/bridge
Brid.gg
Bridge: https://testnet.brid.gg/
Superbridge
Bridge: https://superbridge.app/ (enable testnet in settings)
File: src/content/shared/community-content.mdx
import { URLS } from "@/utils/urls";
Get Support
Join the Ink community, vibe with fellow developers and get support:
- Join the Ink Telegram for announcements: Join Telegram
File: src/content/shared/crosschain-content.mdx
Crosschain Infrastructure
Wormhole
Wormhole is an interoperability platform powering multichain apps and bridges.
- Wormhole currently supports Ink Sepolia.
File: src/content/shared/faucets-content.mdx
Faucets
Get Sepolia ETH on Ink from these faucets below! Alternatively, you can bridge testnet funds to Ink.
[Ink](https://inkonchain.com/faucet)
Our in-house faucet provides a quick and easy way to acquire testnet ETH.
[Optimism Superchain Faucet](https://console.optimism.io/faucet)
The Superchain Faucet provides testnet ETH for Ink and all other OP chains. Sign in to claim 0.10 test ETH on 1 network every 24 hours or verify your onchain identity for more tokens.
[QuickNode](https://faucet.quicknode.com/drip)
Use QuickNode Faucet to claim Ink Sepolia for testnet ETH for free - one drip per network every 12 hours.
[Gelato](https://faucet-gel-sepolia.inkonchain.com)
Gelato's Faucet uses Cloudflare authentication and drops up to 0.3 Ink Sepolia ETH every 12 hours.
[Tenderly](https://tenderly.co/?mtm_campaign=ext-docs&mtm_kwd=ink)
Tenderly's Unlimited Faucet allows you to mint native and ERC20 tokens for development and testing on Virtual TestNets. The unlimited faucet is part of the Admin RPC, a collection of cheat-codes allowing full customization of the network.
File: src/content/shared/multisig-content.mdx
Multisig
Safe
Ink hosts Safe's technology to bring digital ownership of accounts to everyone by building universal and open contract standards for the custody of digital assets, data, and identity.
Using Safe you can:
- Manage customizable non-custodial wallets supporting multisignatures for individuals and teams
- Perform financial management of onchain assets incl. ERC20s, ERC721s and ETH
- Access your safe using Web, Mobile and Desktop apps.
- Safe also features access to DeFi, open source code, batch transactions, modular extensions, gasless signatures and more.
Supported Networks
2. Official Technical Reference & Guides (inkonchain/docs)
File: README.md
InkChain Documentation App
An advanced, streamlined documentation platform built with Next.js and Nextra for InkChain.
๐ Build & Run
Build Docker image:
bashdocker build -t docs .Run Docker container:
bashdocker run -p 3000:3000 docs
๐ Requirements
- Node.js: v20.11.0 or higher
๐ Overview
This is a documentation application powered by Nextra and built on Next.js. Nextra simplifies the creation of documentation sites, allowing us to leverage the Pages Router for efficient navigation and routing. Currently, due to compatibility limitations, we have not yet upgraded to the App Router.
๐ Getting Started
To get started with local development:
- Clone the repository
- Install dependencies:bash
pnpm install - Start development server:bash
pnpm run dev
๐ Tooling
Our development setup includes multiple tools to maintain high-quality code and documentation:
- CSpell: Real-time spell checking to maintain documentation accuracy.
- Remark: Processes and renders Markdown content with added plugins.
- ESLint: Ensures code quality by catching potential issues.
- Prettier: Enforces consistent code formatting.
- Tailwind CSS: Utility-first CSS framework for fast, responsive UI development.
๐ฆ CI/CD Pipeline
Our CI/CD setup utilizes GitHub Actions to run automated checks on every pull request (PR):
- js-lint: Ensures proper JavaScript code formatting with ESLint.
- md-lint: Checks Markdown code formatting with Remark.
- format: Enforces consistent code style with Prettier.
- spell-check: Uses CSpell to verify correct spelling in the documentation. For any unique terms (e.g., "InkChain"), add them to the
./cspell/project-words.txtfile to whitelist.
๐ Feature Branch Deployment
For every new PR, our CI/CD pipeline deploys a temporary environment via AWS Amplify. This real-time deployment enables live testing and review of changes before merging, ensuring a smoother workflow. The deployment URL is automatically provided within the PR checks, allowing team members to interact with new features.
๐ Production Deployment
The main branch is configured for automatic continuous deployment via AWS Amplify. Every merge triggers a new build and deployment, ensuring that the latest version of the documentation is available to users without manual intervention.
File: src/content/shared/_badges.mdx
Badges
Welcome To Ink
Awarded for bridging Ethereum to Ink.
To bridge Ethereum, you can use the L1StandardBridge on the sepolia network crafted for Ink.
There are two ways to do it:
Gelato Bridge app
The app provides a very simple UI to deposit or withdraw SepoliaETH from and to Sepolia Ink.
Here is the app: https://testnet-bridge.gelato.network/bridge/ink-sepolia
Connect your wallet, select the amount to transfer, and that's it!
Directly calling the contract
You can call the bridgeETH method in the contract here: https://sepolia.etherscan.io/address/0xC0d337f71aD19a8f17a1b297cDb3a86c5EEf9Eec#writeProxyContract
For instance, if you want to bridge 1 Sepolia ETH into 1 Sepolia "Ink" ETH:
- Connect your Wallet using the "Connect to Wallet" button
- Expand the
bridgeETHmethod and enterbridgeETH: 1 - Enter
_minGasLimit: 1000(or whatever suits you) - Enter
_extraData: 0x00 - Click "Write", then validate the transaction in MetaMask, then sign it to complete the transaction.
Wrapped ETH
Awarded for wrapping Ethereum into WETH.
To create Wrapped ETH tokens (WETH), you can interact with the deposit method in the contract here: https://explorer-sepolia.inkonchain.com/token/0x47d1f931eaff721549cc0ad57da81729baa8b4b2?tab=write_contract
- Connect your Wallet using the button
- Expand the
depositmethod and enterSend native ETH: 10 000 000 000 000 000.
- This is equivalent to 0.01 ETH, adjust as needed
- Click "Write", then validate the transaction in MetaMask, then sign it to complete the transaction.
If you want the token to appear in MetaMask, click on the MetaMask button at the top of the page
ERC20 Interactions
Awarded for minting, sending, and receiving ERC20 tokens.
coming soon
NFT Interactions
Awarded for minting, sending, and receiving NFTs.
coming soon
Faucet User
Awarded for using the Ink faucet.
Get here: https://mystery-faucet.inkonchain.com/
Enter your address, enter the captcha, that's it!
Smart Contract Deployer
Awarded for deploying a smart contract.
coming soon
File: src/content/shared/block-explorers-content.mdx
Blockscout
Blockscout is a universal block explorer providing detailed chain information and tools for debugging smart contracts and transactions. Visit the Blockscout Docs for details.
Supported Networks
- Ink Sepolia: https://explorer-sepolia.inkonchain.com/
Verifying Smart Contract Code on Blockscout
- Please see this tutorial
Routescan
Routescan is a unified explorer for over 54 blockchains.
Supported Networks
- Ink Sepolia: https://sepolia.inkonscan.xyz/
File: src/content/shared/bridges-content.mdx
import { Callout } from 'nextra/components'
Bridges
These bridges provide different interfaces to the canonical smart contracts that facilitate migrating ETH from one chain to another.
How to use
- Visit the bridge and connect your wallet.
- Choose Sepolia as your source and Ink as the destination.
- Input the amount of assets you want to bridge.
- Confirm and sign the transaction with your wallet.
- Once the bridging is complete, the assets will appear in your wallet on Ink.
Gelato bridge
Bridge: https://bridge-gel-sepolia.inkonchain.com/
Ink Bridge
Bridge: https://inkonchain.com/bridge
Brid.gg
Bridge: https://testnet.brid.gg/
Superbridge
Bridge: https://superbridge.app/ (enable testnet in settings)
File: src/content/shared/community-content.mdx
import { URLS } from "@/utils/urls";
Get Support
Join the Ink community, vibe with fellow developers and get support:
- Join the Ink Telegram for announcements: Join Telegram
File: src/content/shared/crosschain-content.mdx
Crosschain Infrastructure
Wormhole
Wormhole is an interoperability platform powering multichain apps and bridges.
- Wormhole currently supports Ink Sepolia.
File: src/content/shared/faucets-content.mdx
Faucets
Get Sepolia ETH on Ink from these faucets below! Alternatively, you can bridge testnet funds to Ink.
[Ink](https://inkonchain.com/faucet)
Our in-house faucet provides a quick and easy way to acquire testnet ETH.
[Optimism Superchain Faucet](https://console.optimism.io/faucet)
The Superchain Faucet provides testnet ETH for Ink and all other OP chains. Sign in to claim 0.10 test ETH on 1 network every 24 hours or verify your onchain identity for more tokens.
[QuickNode](https://faucet.quicknode.com/drip)
Use QuickNode Faucet to claim Ink Sepolia for testnet ETH for free - one drip per network every 12 hours.
[Gelato](https://faucet-gel-sepolia.inkonchain.com)
Gelato's Faucet uses Cloudflare authentication and drops up to 0.3 Ink Sepolia ETH every 12 hours.
[Tenderly](https://tenderly.co/?mtm_campaign=ext-docs&mtm_kwd=ink)
Tenderly's Unlimited Faucet allows you to mint native and ERC20 tokens for development and testing on Virtual TestNets. The unlimited faucet is part of the Admin RPC, a collection of cheat-codes allowing full customization of the network.
File: src/content/shared/multisig-content.mdx
Multisig
Safe
Ink hosts Safe's technology to bring digital ownership of accounts to everyone by building universal and open contract standards for the custody of digital assets, data, and identity.
Using Safe you can:
- Manage customizable non-custodial wallets supporting multisignatures for individuals and teams
- Perform financial management of onchain assets incl. ERC20s, ERC721s and ETH
- Access your safe using Web, Mobile and Desktop apps.
- Safe also features access to DeFi, open source code, batch transactions, modular extensions, gasless signatures and more.
Supported Networks