PageSourceSearch

https://use.ink/assets/js/f6e14fe8.5a7c8576.js

js use.ink collected 2026-10-03 21:46:16 UTC 14,773 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkink_docs=self.webpackChunkink_docs||[]).push([[5332],{65404:(e,s,i)=>{i.d(s,{R:()=>n,x:()=>a});var t=i(36672);const r={},c=t.createContext(r);function n(e){const s=t.useContext(c);return t.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function a(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:n(e.components),t.createElement(c.Provider,{value:s},e.children)}},96234:(e,s,i)=>{i.r(s),i.d(s,{assets:()=>l,contentTitle:()=>a,default:()=>d,frontMatter:()=>n,metadata:()=>t,toc:()=>h});const t=JSON.parse('{"id":"intro/intro","title":"Welcome!","description":" ","source":"@site/versioned_docs/version-v4/intro/intro.mdx","sourceDirName":"intro","slug":"/","permalink":"/docs/v4/","draft":false,"unlisted":false,"editUrl":"https://github.com/use-ink/ink-docs/edit/master/versioned_docs/version-v4/intro/intro.mdx","tags":[],"version":"v4","frontMatter":{"title":"Welcome!","hide_title":true,"slug":"/","hide_table_of_contents":true},"sidebar":"reference","next":{"title":"Why Rust for Smart Contracts?","permalink":"/docs/v4/why-rust-for-smart-contracts"}}');var r=i(23420),c=i(65404);const n={title:"Welcome!",hide_title:!0,slug:"/",hide_table_of_contents:!0},a=void 0,l={},h=[{value:"Learn More",id:"learn-more",level:2},{value:"Our Pitch",id:"our-pitch",level:2},{value:"Where can I deploy ink! contracts?",id:"where-can-i-deploy-ink-contracts",level:2},{value:"Smart Contract Examples",id:"smart-contract-examples",level:2},{value:"Wallet Support",id:"wallet-support",level:2}];function o(e){const s={h2:"h2",p:"p",...(0,c.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("br",{}),"\n",(0,r.jsx)("center",{children:(0,r.jsx)("img",{src:"/img/title/ink!-4.0.svg",width:"800",style:{marginBottom:10}})}),"\n",(0,r.jsxs)("center",{className:"ignoreP",children:[(0,r.jsx)("a",{href:"https://github.com/use-ink/ink-examples",children:(0,r.jsx)("img",{style:{height:25},src:"https://img.shields.io/badge/click-white.svg?logo=GitHub&logoColor=black&label=ink!%20Examples&labelColor=white&color=blue"})}),(0,r.jsx)(s.p,{children:"\xa0"}),(0,r.jsx)("a",{href:"https://substrate.stackexchange.com/questions/tagged/ink?tab=Votes",children:(0,r.jsx)("img",{style:{height:25},src:"https://img.shields.io/badge/click-white.svg?logo=StackExchange&label=ink!%20Support%20on%20StackExchange&labelColor=white&color=blue"})}),(0,r.jsx)(s.p,{children:"\xa0"}),(0,r.jsx)("a",{href:"https://t.me/inkathon",children:(0,r.jsx)("img",{style:{height:25},src:"https://img.shields.io/badge/click-white.svg?logo=Telegram&label=ink!%20Support%20on%20Telegram&labelColor=white&color=blue"})}),(0,r.jsx)("br",{}),(0,r.jsx)("a",{href:"https://twitter.com/ink_lang",children:(0,r.jsx)("img",{style:{height:25},src:"https://img.shields.io/twitter/follow/ink_lang?label=Follow%20us%20on%20X"})}),(0,r.jsx)(s.p,{children:"\xa0"}),(0,r.jsx)("a",{href:"http://youtube.com/@ink-lang",children:(0,r.jsx)("img",{style:{height:25},src:"https://img.shields.io/badge/click-white.svg?logo=YouTube&logoColor=eb3f25&label=ink!%20YouTube&labelColor=white&color=blue"})})]}),"\n",(0,r.jsx)("h3",{style:{lineHeight:"1.4em",marginTop:"0.5em"},children:(0,r.jsx)("center",{children:(0,r.jsx)("em",{children:(0,r.jsxs)(s.p,{children:["ink! is a programming language for smart contracts.",(0,r.jsx)("br",{}),"\nYou can use it with blockchains built with the ",(0,r.jsx)("a",{href:"https://github.com/paritytech/polkadot-sdk",children:"Polkadot SDK"}),"."]})})})}),"\n",(0,r.jsx)(s.h2,{id:"learn-more",children:"Learn More"}),"\n",(0,r.jsxs)("div",{className:"row",children:[(0,r.jsxs)("div",{className:"col text--center",children:[(0,r.jsx)("a",{href:"https://www.parity.io/blog/what-is-paritys-ink",children:(0,r.jsx)("img",{src:"/img/what-is-ink.png",width:"250",style:{borderRadius:10,border:"1px solid slategrey"}})}),(0,r.jsx)("p",{children:(0,r.jsxs)(s.p,{children:["What is Parity's ink!?",(0,r.jsx)("br",{}),"\n",(0,r.jsx)("a",{href:"https://www.parity.io/blog/what-is-paritys-ink",children:"\xbb view page"})]})})]}),(0,r.jsxs)("div",{className:"col text--center",children:[(0,r.jsx)("a",{href:"https://docs.substrate.io/tutorials/smart-contracts/",children:(0,r.jsx)("img",{src:"/img/tutorial.png",width:"250",style:{borderRadius:10,border:"1px solid slategrey"}})}),(0,r.jsx)("p",{children:(0,r.jsxs)(s.p,{children:["Guided Beginners Tutorial",(0,r.jsx)("br",{}),"\n",(0,r.jsx)("a",{href:"https://docs.substrate.io/tutorials/smart-contracts/",children:"\xbb view tutorial"})]})})]}),(0,r.jsxs)("div",{className:"col text--center",children:[(0,r.jsx)("a",{target:"_parent",href:"/faq/migrating-from-ink-4-to-5",children:(0,r.jsx)("img",{src:"/img/migration-guide.jpg",width:"250",style:{borderRadius:10,border:"1px solid slategrey"}})}),(0,r.jsx)("p",{children:(0,r.jsxs)(s.p,{children:["Migrate to ink! 5.0",(0,r.jsx)("br",{}),"\n",(0,r.jsx)("a",{target:"_parent",href:"/faq/migrating-from-ink-4-to-5",children:"\xbb view migration guide"})]})})]})]}),"\n",(0,r.jsx)(s.h2,{id:"our-pitch",children:"Our Pitch"}),"\n",(0,r.jsxs)("div",{className:"row",children:[(0,r.jsxs)("div",{className:"col text--center",children:[(0,r.jsx)("img",{src:"/img/icons/rust.svg",width:"100"}),(0,r.jsx)("p",{children:"Inherent safety-guarantees with the Rust programming language."})]}),(0,r.jsxs)("div",{className:"col text--center",children:[(0,r.jsx)("img",{src:"/img/icons/ecosystem.svg",width:"100"}),(0,r.jsx)("p",{children:"Ability to use all the normal Rust tooling \u2012 clippy, crates.io, IDE\u2019s, etc."})]}),(0,r.jsxs)("div",{className:"col text--center",children:[(0,r.jsx)("img",{src:"/img/icons/interop.svg",width:"100"}),(0,r.jsx)("p",{children:"Interoperability with Solidity contracts."})]})]}),"\n",(0,r.jsx)("br",{}),"\n",(0,r.jsx)(s.p,{children:"\xa0"}),"\n",(0,r.jsx)("br",{}),"\n",(0,r.jsxs)("div",{className:"row",children:[(0,r.jsxs)("div",{className:"col text--center",children:[(0,r.jsx)("img",{src:"/img/icons/migration-path.svg",width:"100"}),(0,r.jsx)("p",{children:"Clear migration path for graduating to a parachain."})]}),(0,r.jsxs)("div",{className:"col text--center",children:[(0,r.jsx)("img",{src:"/img/icons/wasm.svg",width:"100"}),(0,r.jsx)("p",{children:"Established industry standard for the compiler target."})]}),(0,r.jsxs)("div",{className:"col text--center",children:[(0,r.jsx)("img",{src:"/img/icons/polkadot.svg",width:"100"}),(0,r.jsx)("p",{children:"Native to Polkadot. Complements your Substrate parachain perfectly."})]})]}),"\n",(0,r.jsx)(s.h2,{id:"where-can-i-deploy-ink-contracts",children:"Where can I deploy ink! contracts?"}),"\n",(0,r.jsx)("div",{className:"row",children:(0,r.jsx)("div",{className:"col text--left",children:(0,r.jsx)("h3",{children:(0,r.jsx)("img",{src:"/img/chains/production.svg",className:"chainHeader"})})})}),"\n",(0,r.jsxs)("div",{className:"row",children:[(0,r.jsx)("div",{className:"col text--center",children:(0,r.jsx)("a",{href:"https://alephzero.org",children:(0,r.jsx)("img",{src:"/img/chains/aleph-zero.svg",className:"chain"})})}),(0,r.jsx)("div",{className:"col text--center",children:(0,r.jsx)("a",{href:"https://astar.network",children:(0,r.jsx)("img",{src:"/img/chains/astar.svg",className:"chain"})})}),(0,r.jsx)("div",{className:"col text--center",children:(0,r.jsx)("a",{href:"https://shiden.astar.network",children:(0,r.jsx)("img",{src:"/img/chains/shiden.svg",className:"chain"})})})]}),"\n",(0,r.jsxs)("div",{className:"row",children:[(0,r.jsx)("div",{className:"col text--center",children:(0,r.jsx)("a",{href:"http://phala.network",children:(0,r.jsx)("img",{src:"/img/chains/phala.svg",className:"chain"})})}),(0,r.jsx)("div",{className:"col text--center",children:(0,r.jsx)("a",{href:"https://pendulumchain.org",children:(0,r.jsx)("img",{src:"/img/chains/pendulum.svg",className:"chain"})})}),(0,r.jsx)("div",{className:"col text--center",children:(0,r.jsx)("a",{href:"https://pendulumchain.org/amplitude",children:(0,r.jsx)("img",{src:"/img/chains/amplitude.svg",className:"chain"})})})]}),"\n",(0,r.jsx)("div",{className:"row",children:(0,r.jsx)("div",{className:"col text--left",children:(0,r.jsx)("h3",{children:(0,r.jsx)("img",{src:"/img/chains/mainnet-soon.svg",className:"chainHeader mainnetSoon"})})})}),"\n",(0,r.jsxs)("div",{className:"row",children:[(0,r.jsx)("div",{className:"col text--center",children:(0,r.jsx)("a",{href:"https://t3rn.io",children:(0,r.jsx)("img",{src:"/img/chains/t3rn.svg",className:"chain"})})}),(0,r.jsx)("div",{className:"col text--center",children:(0,r.jsx)("a",{href:"https://enjin.io",children:(0,r.jsx)("img",{src:"/img/chains/enjin.svg",className:"chain"})})}),(0,r.jsx)("div",{className:"col text--center",children:(0,r.jsx)("a",{href:"https://zeitgeist.pm",children:(0,r.jsx)("img",{src:"/img/chains/zeitgeist.svg",className:"chain"})})})]}),"\n",(0,r.jsxs)("div",{className:"row",children:[(0,r.jsx)("div",{className:"col text--center",children:(0,r.jsx)("a",{href:"https://www.peaq.network",children:(0,r.jsx)("img",{src:"/img/chains/peaq.svg",className:"chain"})})}),(0,r.jsx)("div",{className:"col text--center",children:(0,r.jsx)("a",{href:"https://bit.country",children:(0,r.jsx)("img",{src:"/img/chains/bitcountry.svg",className:"chain"})})}),(0,r.jsx)("div",{className:"col text--center",children:(0,r.jsx)("a",{href:"https://github.com/yerbatech",children:(0,r.jsx)("img",{src:"/img/chains/yerba.svg",className:"chain"})})})]}),"\n",(0,r.jsx)("div",{className:"row",children:(0,r.jsx)("div",{className:"col text--center",children:(0,r.jsx)("a",{href:"https://www.ternoa.network/",children:(0,r.jsx)("img",{src:"/img/chains/ternoa.svg",className:"chain"})})})}),"\n",(0,r.jsxs)("div",{className:"row",children:[(0,r.jsxs)("div",{className:"col text--left",children:[(0,r.jsx)("h3",{children:(0,r.jsx)("img",{src:"/img/chains/on-testnet.svg",className:"chainHeader"})}),(0,r.jsx)("a",{href:"/testnet",children:(0,r.jsx)("img",{src:"/img/chains/testnet.svg",className:"chain"})})]}),(0,r.jsx)("div",{className:"col",children:"\xa0"})]}),"\n",(0,r.jsx)(s.h2,{id:"smart-contract-examples",children:"Smart Contract Examples"}),"\n",(0,r.jsxs)("div",{className:"row",children:[(0,r.jsxs)("div",{className:"col text--center",children:[(0,r.jsx)("a",{href:"https://github.com/use-ink/ink-examples/tree/main/flipper",children:(0,r.jsx)("img",{src:"/img/icons/flipper.svg",width:"100"})}),(0,r.jsx)("p",{children:(0,r.jsxs)(s.p,{children:['Our "Hello, World!".',(0,r.jsx)("br",{}),"\n",(0,r.jsx)("a",{href:"https://github.com/use-ink/ink-examples/tree/main/flipper",children:"\xbb view example"})]})})]}),(0,r.jsxs)("div",{className:"col text--center",children:[(0,r.jsx)("a",{href:"https://github.com/use-ink/ink-examples/tree/main/erc20",children:(0,r.jsx)("img",{src:"/img/icons/erc20.svg",width:"100"})}),(0,r.jsx)("p",{children:(0,r.jsxs)(s.p,{children:["An ERC-20 implementation.",(0,r.jsx)("br",{}),"\n",(0,r.jsx)("a",{href:"https://github.com/use-ink/ink-examples/tree/main/erc20",children:"\xbb view example"})]})})]}),(0,r.jsxs)("div",{className:"col text--center",children:[(0,r.jsx)("a",{href:"https://github.com/use-ink/ink-examples/tree/main/erc721",children:(0,r.jsx)("img",{src:"/img/icons/nft.svg",width:"100"})}),(0,r.jsxs)("p",{children:[(0,r.jsx)("a",{href:"https://github.com/use-ink/ink-examples/tree/main/erc721",children:"\xbb view ERC-721"}),(0,r.jsx)("br",{}),(0,r.jsx)("a",{href:"https://github.com/use-ink/ink-examples/tree/main/erc1155",children:"\xbb view ERC-1155"})]})]})]}),"\n",(0,r.jsx)("br",{}),"\n",(0,r.jsxs)("div",{className:"row",children:[(0,r.jsxs)("div",{className:"col text--center",children:[(0,r.jsx)("a",{href:"https://github.com/use-ink/ink-examples/tree/main/upgradeable-contracts",children:(0,r.jsx)("img",{src:"/img/icons/upgradable.svg",width:"100"})}),(0,r.jsx)("p",{children:(0,r.jsxs)(s.p,{children:["An upgradeable contract.",(0,r.jsx)("br",{}),"\n",(0,r.jsx)("a",{href:"https://github.com/use-ink/ink-examples/tree/main/upgradeable-contracts",children:"\xbb view example"})]})})]}),(0,r.jsxs)("div",{className:"col text--center",children:[(0,r.jsx)("a",{href:"https://github.com/use-ink/ink-examples/tree/main/multisig",children:(0,r.jsx)("img",{src:"/img/icons/multisig.svg",width:"100"})}),(0,r.jsx)("p",{children:(0,r.jsxs)(s.p,{children:["A multi-signature wallet.",(0,r.jsx)("br",{}),"\n",(0,r.jsx)("a",{href:"https://github.com/use-ink/ink-examples/tree/main/multisig",children:"\xbb view example"})]})})]}),(0,r.jsxs)("div",{className:"col text--center",children:[(0,r.jsx)("a",{href:"https://github.com/use-ink/ink-examples/tree/main/rand-extension",children:(0,r.jsx)("img",{src:"/img/icons/rand-extension.svg",width:"100"})}),(0,r.jsx)("p",{children:(0,r.jsxs)(s.p,{children:["Allow runtime access.",(0,r.jsx)("br",{}),"\n",(0,r.jsx)("a",{href:"https://github.com/use-ink/ink-examples/tree/main/rand-extension",children:"\xbb view example"})]})})]})]}),"\n",(0,r.jsx)(s.h2,{id:"wallet-support",children:"Wallet Support"}),"\n",(0,r.jsxs)("table",{className:"wallet-table text--center",children:[(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{}),(0,r.jsx)("th",{className:"text--left",children:"Contract Interactions"}),(0,r.jsx)("th",{className:"text--left",children:"Tokens (PSP-22)"}),(0,r.jsx)("th",{className:"text--left",children:"NFTs (PSP-34)"})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:(0,r.jsx)("a",{href:"https://www.subwallet.app/",title:"SubWallet",children:(0,r.jsx)("img",{src:"/img/wallets/subwallet.svg",className:"wallet",alt:"SubWallet",width:"200"})})}),(0,r.jsx)("td",{children:(0,r.jsx)("img",{src:"/img/icons/checkmark1.svg",className:"checkmark"})}),(0,r.jsx)("td",{children:(0,r.jsx)("img",{src:"/img/icons/checkmark1.svg",className:"checkmark"})}),(0,r.jsx)("td",{children:(0,r.jsx)("img",{src:"/img/icons/checkmark1.svg",className:"checkmark"})})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:(0,r.jsx)("a",{href:"https://polkadot.js.org/extension/",title:"Polkadot{.js}",children:(0,r.jsx)("img",{src:"/img/wallets/polkadot-js.svg",className:"wallet",alt:"Polkadot{.js}",width:"200"})})}),(0,r.jsx)("td",{children:(0,r.jsx)("img",{src:"/img/icons/checkmark1.svg",className:"checkmark"})}),(0,r.jsx)("td",{}),(0,r.jsx)("td",{})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:(0,r.jsx)("a",{href:"https://www.talisman.xyz/",title:"Talisman",children:(0,r.jsx)("img",{src:"/img/wallets/talisman.svg",className:"wallet",alt:"Talisman",width:"200"})})}),(0,r.jsx)("td",{children:(0,r.jsx)("img",{src:"/img/icons/checkmark1.svg",className:"checkmark"})}),(0,r.jsx)("td",{}),(0,r.jsx)("td",{})]})]})]})}function d(e={}){const{wrapper:s}={...(0,c.R)(),...e.components};return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(o,{...e})}):o(e)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.