1:HL["/_next/static/media/2d141e1a38819612-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/_next/static/css/b5cc68180eb3d7c9.css","style"] 0:["pCsDN6MV-QYfgzIcQCx8m",[[["",{"children":["tags",{"children":[["tag","webassembly","d"],{"children":["__PAGE__?{\"tag\":\"webassembly\"}",{}]}]}]},"$undefined","$undefined",true],"$L3",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b5cc68180eb3d7c9.css","precedence":"next"}]],"$L4"]]]] 5:I{"id":7516,"chunks":["724:static/chunks/724-ae4ae561ef8e5138.js","998:static/chunks/998-271f973ed8f19b4a.js","185:static/chunks/app/layout-0d5bd8edaec8d1ef.js"],"name":"ThemeProviders","async":false} 6:I{"id":4244,"chunks":["724:static/chunks/724-ae4ae561ef8e5138.js","998:static/chunks/998-271f973ed8f19b4a.js","185:static/chunks/app/layout-0d5bd8edaec8d1ef.js"],"name":"","async":false} 7:I{"id":8251,"chunks":["724:static/chunks/724-ae4ae561ef8e5138.js","998:static/chunks/998-271f973ed8f19b4a.js","185:static/chunks/app/layout-0d5bd8edaec8d1ef.js"],"name":"KBarSearchProvider","async":false} 8:I{"id":4724,"chunks":["724:static/chunks/724-ae4ae561ef8e5138.js","904:static/chunks/app/tags/page-449a35014522b4e1.js"],"name":"","async":false} 9:I{"id":7005,"chunks":["724:static/chunks/724-ae4ae561ef8e5138.js","998:static/chunks/998-271f973ed8f19b4a.js","185:static/chunks/app/layout-0d5bd8edaec8d1ef.js"],"name":"KBarButton","async":false} a:I{"id":7074,"chunks":["724:static/chunks/724-ae4ae561ef8e5138.js","998:static/chunks/998-271f973ed8f19b4a.js","185:static/chunks/app/layout-0d5bd8edaec8d1ef.js"],"name":"","async":false} b:I{"id":7365,"chunks":["724:static/chunks/724-ae4ae561ef8e5138.js","998:static/chunks/998-271f973ed8f19b4a.js","185:static/chunks/app/layout-0d5bd8edaec8d1ef.js"],"name":"","async":false} c:I{"id":1443,"chunks":["272:static/chunks/webpack-099e1b11ae967685.js","971:static/chunks/fd9d1056-80ea045f608d9add.js","864:static/chunks/864-65256e9be0d5c062.js"],"name":"","async":false} d:I{"id":8639,"chunks":["272:static/chunks/webpack-099e1b11ae967685.js","971:static/chunks/fd9d1056-80ea045f608d9add.js","864:static/chunks/864-65256e9be0d5c062.js"],"name":"","async":false} f:I{"id":6028,"chunks":["724:static/chunks/724-ae4ae561ef8e5138.js","647:static/chunks/647-ab9f4979012166f1.js","605:static/chunks/app/tags/[tag]/page-dff8bb67c746ebac.js"],"name":"","async":false} 4:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"webassembly | xyclooLabs Blog"}],["$","meta","2",{"name":"description","content":"The xyclooLabs team specializes on Stellar and Soroban development. Get updates on our projects and read our insights on everything ranging from smart contracts to infrastructure and tooling."}],["$","meta","3",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","meta","5",{"name":"googlebot","content":"index, follow, max-video-preview:-1, max-image-preview:large, max-snippet:-1"}],["$","link","6",{"rel":"canonical","href":"https://blog.xycloo.com/tags/webassembly"}],["$","link","7",{"rel":"alternate","type":"application/rss+xml","href":"https://blog.xycloo.com/tags/webassembly/feed.xml"}],["$","meta","8",{"property":"og:title","content":"webassembly | xyclooLabs Blog"}],["$","meta","9",{"property":"og:description","content":"xyclooLabs Blog webassembly tagged content"}],["$","meta","10",{"property":"og:url","content":"https://blog.xycloo.com/tags/webassembly"}],["$","meta","11",{"property":"og:site_name","content":"xyclooLabs Blog"}],["$","meta","12",{"property":"og:locale","content":"en_US"}],["$","meta","13",{"property":"og:image","content":"https://blog.xycloo.com/static/images/twitter-card.png"}],["$","meta","14",{"property":"og:type","content":"website"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"webassembly | xyclooLabs Blog"}],["$","meta","17",{"name":"twitter:description","content":"xyclooLabs Blog webassembly tagged content"}],["$","meta","18",{"name":"twitter:image","content":"https://blog.xycloo.com/static/images/twitter-card.png"}],["$","meta","19",{"name":"next-size-adjust"}]] 3:[null,["$","html",null,{"lang":"en-us","className":"__variable_587f35 scroll-smooth","suppressHydrationWarning":true,"children":[["$","link",null,{"rel":"apple-touch-icon","sizes":"76x76","href":"/static/favicons/apple-touch-icon.png"}],["$","link",null,{"rel":"icon","type":"image/png","sizes":"32x32","href":"/static/images/logo.png"}],["$","link",null,{"rel":"icon","type":"image/png","sizes":"16x16","href":"/static/favicons/logo.png"}],["$","link",null,{"rel":"manifest","href":"/static/favicons/site.webmanifest"}],["$","link",null,{"rel":"mask-icon","href":"/static/favicons/safari-pinned-tab.svg","color":"#5bbad5"}],["$","meta",null,{"name":"msapplication-TileColor","content":"#000000"}],["$","meta",null,{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"#fff"}],["$","meta",null,{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"#000"}],["$","link",null,{"rel":"alternate","type":"application/rss+xml","href":"/feed.xml"}],["$","body",null,{"className":"bg-white text-black antialiased dark:bg-gray-950 dark:text-white","children":["$","$L5",null,{"children":[["$undefined","$undefined","$undefined",["$","$L6",null,{"async":true,"defer":true,"data-website-id":"$undefined","src":"https://analytics.umami.is/script.js"}],"$undefined"],["$","section",null,{"className":"mx-auto max-w-3xl px-4 sm:px-6 xl:max-w-5xl xl:px-0","children":["$","div",null,{"className":"flex h-screen flex-col justify-between font-sans","children":[["$","$L7",null,{"kbarConfig":{"searchDocumentsPath":"search.json"},"children":[["$","header",null,{"className":"flex items-center justify-between py-10","children":[["$","div",null,{"children":["$","$L8",null,{"href":"/","aria-label":"xyclooLabs Blog","children":["$","div",null,{"className":"flex items-center justify-between","children":[["$","div",null,{"className":"mr-3","children":["$","img",null,{"className":"w-10","src":"../../static/images/logo.png"}]}],["$","div",null,{"className":"hidden h-6 text-2xl font-semibold sm:block","children":"xyclooLabs Blog"}]]}]}]}],["$","div",null,{"className":"flex items-center leading-5 space-x-4 sm:space-x-6","children":[[["$","$L8",null,{"href":"/blog","className":"hidden sm:block font-medium text-gray-900 dark:text-gray-100","children":"All Posts"}],["$","a",null,{"target":"_blank","rel":"noopener noreferrer","href":"https://xycloo.com","className":"hidden sm:block font-medium text-gray-900 dark:text-gray-100","children":"About"}]],["$","$L9",null,{"aria-label":"Search","children":["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","fill":"none","viewBox":"0 0 24 24","strokeWidth":1.5,"stroke":"currentColor","className":"text-gray-900 dark:text-gray-100 h-6 w-6","children":["$","path",null,{"strokeLinecap":"round","strokeLinejoin":"round","d":"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"}]}]}],["$","$La",null,{}],["$","$Lb",null,{}]]}]]}],["$","main",null,{"className":"mb-auto","children":["$","$Lc",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$Ld",null,{}],"templateStyles":"$undefined","notFound":["$","div",null,{"className":"flex flex-col items-start justify-start md:mt-24 md:flex-row md:items-center md:justify-center md:space-x-6","children":[["$","div",null,{"className":"space-x-2 pb-8 pt-6 md:space-y-5","children":["$","h1",null,{"className":"text-6xl font-extrabold leading-9 tracking-tight text-gray-900 dark:text-gray-100 md:border-r-2 md:px-6 md:text-8xl md:leading-14","children":"404"}]}],["$","div",null,{"className":"max-w-md","children":[["$","p",null,{"className":"mb-4 text-xl font-bold leading-normal md:text-2xl","children":"Sorry we couldn't find this page."}],["$","p",null,{"className":"mb-8","children":"But dont worry, you can find plenty of other things on our homepage."}],["$","$L8",null,{"href":"/","className":"focus:shadow-outline-blue inline rounded-lg border border-transparent bg-blue-600 px-4 py-2 text-sm font-medium leading-5 text-white shadow transition-colors duration-150 hover:bg-blue-700 focus:outline-none dark:hover:bg-blue-500","children":"Back to homepage"}]]}]]}],"notFoundStyles":[],"childProp":{"current":["$","$Lc",null,{"parallelRouterKey":"children","segmentPath":["children","tags","children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$Ld",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$Lc",null,{"parallelRouterKey":"children","segmentPath":["children","tags","children",["tag","webassembly","d"],"children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$Ld",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Le",["$","$Lf",null,{"posts":[{"title":"Writing the First Zephyr Program: Zephyr VM + Mercury Integration Preview.","date":"2023-10-19T00:00:00.000Z","tags":["Mercury","Zephyr","WebAssembly","Soroban"],"lastmod":"2023-10-18T22:00:00.000Z","draft":false,"summary":"Testing out the first working version of the Zephyr VM + Mercury integration.","authors":["default"],"type":"Blog","readingTime":{"text":"12 min read","minutes":11.23,"time":673800,"words":2246},"slug":"zephyr-pre-alpha-preview","path":"blog/zephyr-pre-alpha-preview","filePath":"blog/zephyr-pre-alpha-preview.mdx","toc":[{"value":"Introduction","url":"#introduction","depth":1},{"value":"Creating the Application","url":"#creating-the-application","depth":1},{"value":"Idea","url":"#idea","depth":2},{"value":"Theory","url":"#theory","depth":2},{"value":"Contract instance updates given a ledger close.","url":"#contract-instance-updates-given-a-ledger-close","depth":3},{"value":"From instance storage to reserves","url":"#from-instance-storage-to-reserves","depth":3},{"value":"Storing into the database","url":"#storing-into-the-database","depth":3},{"value":"Practice","url":"#practice","depth":2},{"value":"Imports","url":"#imports","depth":3},{"value":"Entry point","url":"#entry-point","depth":3},{"value":"The reserves function","url":"#the-reserves-function","depth":3},{"value":"Wrapping it up","url":"#wrapping-it-up","depth":3},{"value":"Deployment","url":"#deployment","depth":1},{"value":"Compilation","url":"#compilation","depth":2},{"value":"Declaring the prices table","url":"#declaring-the-prices-table","depth":2},{"value":"Deploying","url":"#deploying","depth":2},{"value":"Results","url":"#results","depth":1}],"structuredData":{"@context":"https://schema.org","@type":"BlogPosting","headline":"Writing the First Zephyr Program: Zephyr VM + Mercury Integration Preview.","datePublished":"2023-10-19T00:00:00.000Z","dateModified":"2023-10-18T22:00:00.000Z","description":"Testing out the first working version of the Zephyr VM + Mercury integration.","image":"/static/images/twitter-card.png","url":"https://blog.xycloo.com/blog/zephyr-pre-alpha-preview"}},{"title":"The Zephyr VM: core of the Mercury code execution environment.","date":"2023-10-02T00:00:00.000Z","tags":["Mercury","Zephyr","WebAssembly","Stellar","Soroban"],"lastmod":"2023-10-02T00:00:00.000Z","draft":false,"summary":"Zephyr is a WebAssembly host environment for providing to arbitrary code metered and sandboxed access to the Stellar Network data.","authors":["default"],"type":"Blog","readingTime":{"text":"9 min read","minutes":8.57,"time":514200,"words":1714},"slug":"introducing-zephyr","path":"blog/introducing-zephyr","filePath":"blog/introducing-zephyr.mdx","toc":[{"value":"Introduction","url":"#introduction","depth":1},{"value":"A code execution environment ... on an indexer?","url":"#a-code-execution-environment--on-an-indexer","depth":2},{"value":"The Zephyr VM","url":"#the-zephyr-vm","depth":1},{"value":"Why Mercury + Zephyr","url":"#why-mercury--zephyr","depth":2},{"value":"Implementation","url":"#implementation","depth":1},{"value":"SDKs","url":"#sdks","depth":2},{"value":"Is Zephyr Open Source? Implementation agnostic?","url":"#is-zephyr-open-source-implementation-agnostic","depth":2},{"value":"Conclusion","url":"#conclusion","depth":1}],"structuredData":{"@context":"https://schema.org","@type":"BlogPosting","headline":"The Zephyr VM: core of the Mercury code execution environment.","datePublished":"2023-10-02T00:00:00.000Z","dateModified":"2023-10-02T00:00:00.000Z","description":"Zephyr is a WebAssembly host environment for providing to arbitrary code metered and sandboxed access to the Stellar Network data.","image":"/static/images/twitter-card.png","url":"https://blog.xycloo.com/blog/introducing-zephyr"}}],"title":"Webassembly"}],null],"segment":"__PAGE__?{\"tag\":\"webassembly\"}"},"styles":[]}],"segment":["tag","webassembly","d"]},"styles":[]}],"segment":"tags"},"styles":[]}]}]]}],["$","footer",null,{"children":["$","div",null,{"className":"mt-16 flex flex-col items-center","children":[["$","div",null,{"className":"mb-3 flex space-x-4","children":[["$","a",null,{"className":"text-sm text-gray-500 transition hover:text-gray-600","target":"_blank","rel":"noopener noreferrer","href":"mailto:hello@xycloo.com","children":[["$","span",null,{"className":"sr-only","children":"mail"}],["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 20 20","className":"fill-current text-gray-700 hover:text-primary-500 dark:text-gray-200 dark:hover:text-primary-400 h-6 w-6","children":[["$","path",null,{"d":"M2.003 5.884L10 9.882l7.997-3.998A2 2 0 0016 4H4a2 2 0 00-1.997 1.884z"}],["$","path",null,{"d":"M18 8.118l-8 4-8-4V14a2 2 0 002 2h12a2 2 0 002-2V8.118z"}]]}]]}],["$","a",null,{"className":"text-sm text-gray-500 transition hover:text-gray-600","target":"_blank","rel":"noopener noreferrer","href":"https://github.com/xycloo","children":[["$","span",null,{"className":"sr-only","children":"github"}],["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","className":"fill-current text-gray-700 hover:text-primary-500 dark:text-gray-200 dark:hover:text-primary-400 h-6 w-6","children":["$","path",null,{"d":"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"}]}]]}],null,null,null,["$","a",null,{"className":"text-sm text-gray-500 transition hover:text-gray-600","target":"_blank","rel":"noopener noreferrer","href":"https://twitter.com/xycloolabs","children":[["$","span",null,{"className":"sr-only","children":"twitter"}],["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","className":"fill-current text-gray-700 hover:text-primary-500 dark:text-gray-200 dark:hover:text-primary-400 h-6 w-6","children":["$","path",null,{"d":"M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"}]}]]}]]}],["$","div",null,{"className":"mb-2 flex space-x-2 text-sm text-gray-500 dark:text-gray-400","children":[["$","div",null,{"children":"xyclooLabs team"}],["$","div",null,{"children":" • "}],["$","div",null,{"children":"© 2024"}],["$","div",null,{"children":" • "}],["$","$L8",null,{"href":"/","children":"xyclooLabs Blog"}]]}]]}]}]]}]}]]}]}]]}],null] e:null