"use strict";(self.webpackChunkcanine_docs=self.webpackChunkcanine_docs||[]).push([[7275],{3905:(e,t,o)=>{o.d(t,{Zo:()=>m,kt:()=>f});var r=o(7294);function n(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function a(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function l(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?a(Object(o),!0).forEach((function(t){n(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):a(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function i(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o,r,n={},a=Object.keys(e);for(r=0;r<a.length;r++)o=a[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)o=a[r],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var c=r.createContext({}),s=function(e){var t=r.useContext(c),o=t;return e&&(o="function"==typeof e?e(t):l(l({},t),e)),o},m=function(e){var t=s(e.components);return r.createElement(c.Provider,{value:t},e.children)},p="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var o=e.components,n=e.mdxType,a=e.originalType,c=e.parentName,m=i(e,["components","mdxType","originalType","parentName"]),p=s(o),d=n,f=p["".concat(c,".").concat(d)]||p[d]||u[d]||a;return o?r.createElement(f,l(l({ref:t},m),{},{components:o})):r.createElement(f,l({ref:t},m))}));function f(e,t){var o=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=o.length,l=new Array(a);l[0]=d;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[p]="string"==typeof e?e:n,l[1]=i;for(var s=2;s<a;s++)l[s]=o[s];return r.createElement.apply(null,l)}return r.createElement.apply(null,o)}d.displayName="MDXCreateElement"},1431:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>u,frontMatter:()=>a,metadata:()=>i,toc:()=>s});var r=o(7462),n=(o(7294),o(3905));const a={sidebar_position:5},l="WASM Module",i={unversionedId:"protocol/modules/wasm",id:"protocol/modules/wasm",title:"WASM Module",description:"The wasm module in the Jackal Protocol incorporates the CosmWasm smart contracting platform, which is designed",source:"@site/docs/protocol/modules/wasm.md",sourceDirName:"protocol/modules",slug:"/protocol/modules/wasm",permalink:"/docs/protocol/modules/wasm",draft:!1,editUrl:"https://github.com/JackalLabs/canine-docs/blob/master/docs/protocol/modules/wasm.md",tags:[],version:"current",sidebarPosition:5,frontMatter:{sidebar_position:5},sidebar:"tutorialSidebar",previous:{title:"Name Service Module",permalink:"/docs/protocol/modules/rns"},next:{title:"Storage Module",permalink:"/docs/protocol/modules/storage"}},c={},s=[{value:"Overview",id:"overview",level:2}],m={toc:s},p="wrapper";function u(e){let{components:t,...o}=e;return(0,n.kt)(p,(0,r.Z)({},m,o,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h1",{id:"wasm-module"},"WASM Module"),(0,n.kt)("p",null,"The ",(0,n.kt)("inlineCode",{parentName:"p"},"wasm")," module in the Jackal Protocol incorporates the CosmWasm smart contracting platform, which is designed\nspecifically for the Cosmos Ecosystem. This module provides a secure and efficient environment for executing\nWebAssembly (WASM) smart contracts on the Jackal Protocol."),(0,n.kt)("h2",{id:"overview"},"Overview"),(0,n.kt)("p",null,"The ",(0,n.kt)("inlineCode",{parentName:"p"},"wasm")," module manages the following aspects of the CosmWasm platform:"),(0,n.kt)("ol",null,(0,n.kt)("li",{parentName:"ol"},(0,n.kt)("strong",{parentName:"li"},"Smart Contract Deployment"),": Allows developers to deploy smart contracts written in Rust or other languages that\ncompile to WASM."),(0,n.kt)("li",{parentName:"ol"},(0,n.kt)("strong",{parentName:"li"},"Smart Contract Execution"),": Facilitates the execution of smart contract functions on the blockchain."),(0,n.kt)("li",{parentName:"ol"},(0,n.kt)("strong",{parentName:"li"},"Smart Contract Interaction"),": Enables users and other smart contracts to interact with deployed smart contracts.")),(0,n.kt)("p",null,"For a more detailed guide on integrating the wasm module into your application, please refer to\nthe ",(0,n.kt)("a",{parentName:"p",href:"https://github.com/JackalLabs/canine-chain/blob/master/x/README.md"},"Jackal Protocol GitHub"),"."))}u.isMDXComponent=!0}}]);