1"use strict";(globalThis.webpackChunkredstone_docs=globalThis.webpackChunkredstone_docs||[]).push([[9689],{1741(e,t,n){n.d(t,{A:()=>T});n(6540);var r=n(4164),s=n(6971);const o=new Intl.Segmenter(void 0,{granularity:"grapheme"});var c=n(5122),i=n(538);var a=n(3091),l=n(8957),u=n(9872),d=n(4794);const m="cardTitleIcon_GcdP";var h=n(4848);function f({icon:e}){return(0,h.jsx)("span",{className:(0,r.A)(u.G.docs.docCard.icon,m),children:e})}const p="cardTitleText_nuEl";function x({title:e}){return(0,h.jsx)("span",{className:(0,r.A)("text--truncate",u.G.docs.docCard.title,p),children:e})}const g="cardTitle_mcqP";function j({item:e,title:t,icon:n}){return(0,h.jsxs)(d.A,{as:"h2",className:(0,r.A)(u.G.docs.docCard.heading,g),title:t,children:[n&&(0,h.jsx)(f,{item:e,icon:n}),(0,h.jsx)(x,{item:e,title:t})]})}const v="cardDescription_L2fP";function b({description:e}){return(0,h.jsx)("p",{className:(0,r.A)("text--truncate",u.G.docs.docCard.description,v),title:e,children:e})}const w="cardContainer_KhuF";function N({className:e,href:t,children:n}){return(0,h.jsx)(l.A,{href:t,className:(0,r.A)("card padding--lg",u.G.docs.docCard.container,w,e),children:n})}function y({item:e,className:t,href:n,icon:r,title:s,description:o}){return(0,h.jsxs)(N,{href:n,className:t,children:[(0,h.jsx)(j,{item:e,icon:r,title:s}),o&&(0,h.jsx)(b,{item:e,description:o})]})}function C(e){const t=function(e){const t=o.segment(e)[Symbol.iterator](),n=t.next().value?.segment;return n&&(/\p{Extended_Pictographic}/u.test(n)||/\p{Emoji}/u.test(n))?{emoji:n,rest:e.slice(n.length)}:{emoji:null,rest:e}}(e.label),n=t.emoji??function(e){return"category"===e.type?"\ud83d\uddc3":(0,a.A)(e.href)?"\ud83d\udcc4\ufe0f":"\ud83d\udd17"}(e);return{icon:n,title:t.rest.trim()}}function k({item:e}){const t=(0,s.Nr)(e),n=function(){const{selectMessage:e}=(0,i.W)();return t=>e(t,(0,c.T)({message:"1 item|{count} items",id:"theme.docs.DocCard.categoryDescription.plurals",description:"The default description for a category card in the generated index about how many items this category includes"},{count:t}))}();return t?(0,h.jsx)(y,{item:e,className:e.className,href:t,description:e.description??n(e.items.length),...C(e)}):null}function A({item:e}){const t=(0,s.cC)(e.docId??void 0);return(0,h.jsx)(y,{item:e,className:e.className,href:e.href,description:e.description??t?.description,...C(e)})}function S({item:e}){switch(e.type){case"link":return(0,h.jsx)(A,{item:e});case"category":return(0,h.jsx)(k,{item:e});default:throw new Error(`unknown item type ${JSON.stringify(e)}`)}}const _="docCardListItem_W1sv";function F({className:e}){const t=(0,s.a4)();return(0,h.jsx)(T,{items:t,className:e})}function M({item:e}){return(0,h.jsx)("article",{className:(0,r.A)(_,"col col--6"),children:(0,h.jsx)(S,{item:e})})}function T(e){const{items:t,className:n}=e;if(!t)return(0,h.jsx)(F,{...e});const o=(0,s.d1)(t);return(0,h.jsx)("section",{className:(0,r.A)("row",n),children:o.map(((e,t)=>(0,h.jsx)(M,{item:e},t)))})}},538(e,t,n){n.d(t,{W:()=>l});var r=n(6540),s=n(2777);const o=["zero","one","two","few","many","other"];function c(e){return o.filter((t=>e.includes(t)))}const i={locale:"en",pluralForms:c(["one","other"]),select:e=>1===e?"one":"other"};function a(){const{i18n:{currentLocale:e}}=(0,s.A)();return(0,r.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:c(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),i}}),[e])}function l(){const e=a();return{selectMessage:(t,n)=>function(e,t,n){const r=e.split("|");if(1===r.length)return r[0];r.length>n.pluralForms.length&&console.error(`For locale=${n.locale}, a maximum of ${n.pluralForms.length} plural forms are expected (${n.pluralForms.join(",")}), but the message contains ${r.length}: ${e}`);const s=n.select(t),o=n.pluralForms.indexOf(s);return r[Math.min(o,r.length-1)]}(n,t,e)}}},3977(e,t,n){n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>m,frontMatter:()=>i,metadata:()=>r,toc:()=>u});const r=JSON.parse('{"id":"technical-reference/non-evm-chains/sui/index","title":"Sui \u2014 how to start","description":"1. Read about RedStone models in Market Data section","source":"@site/docs/technical-reference/non-evm-chains/sui/index.mdx","sourceDirName":"technical-reference/non-evm-chains/sui","slug":"/technical-reference/non-evm-chains/sui/","permalink":"/docs/technical-reference/non-evm-chains/sui/","draft":false,"unlisted":false,"editUrl":"https://github.com/redstone-finance/redstone-docs/tree/main/docs/technical-reference/non-evm-chains/sui/index.mdx","tags":[],"version":"current","sidebarPosition":5,"frontMatter":{"sidebar_position":5,"sidebar_label":"Sui \u2014 how to start"},"sidebar":"tutorialSidebar","previous":{"title":"How to use in TypeScript","permalink":"/docs/technical-reference/non-evm-chains/stellar/typescript-tutorial"},"next":{"title":"How to use in Move","permalink":"/docs/technical-reference/non-evm-chains/sui/move-tutorial"}}');var s=n(4848),o=n(8453),c=n(1741);const i={sidebar_position:5,sidebar_label:"Sui \u2014 how to start"},a="Sui \u2014 how to start",l={},u=[];function d(e){const t={a:"a",h1:"h1",header:"header",li:"li",ol:"ol",p:"p",...(0,o.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"sui--how-to-start",children:"Sui \u2014 how to start"})}),"\n",(0,s.jsxs)(t.ol,{children:["\n",(0,s.jsxs)(t.li,{children:["Read about RedStone models in ",(0,s.jsx)(t.a,{href:"/docs/category/stage-1-market-data/",children:"Market Data"})," section"]}),"\n",(0,s.jsxs)(t.li,{children:["Follow the ",(0,s.jsx)(t.a,{href:"https://github.com/redstone-finance/redstone-oracles-monorepo/tree/main/packages/sui-connector/README.md",children:"@redstone-finance/sui-connector"})," landing page"]}),"\n"]}
1),"\n",(0,s.jsx)(t.p,{children:"Then, see:"}),"\n",(0,s.jsx)(c.A,{})]})}function m(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},8453(e,t,n){n.d(t,{R:()=>c,x:()=>i});var r=n(6540);const s={},o=r.createContext(s);function c(e){const t=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),r.createElement(o.Provider,{value:t},e.children)}}}]);
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.