diff --git a/404.html b/404.html index 2b2e474f..5f80c3bc 100644 --- a/404.html +++ b/404.html @@ -1,4 +1,4 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file +

404

This page could not be found.

\ No newline at end of file diff --git a/404/index.html b/404/index.html index 2b2e474f..5f80c3bc 100644 --- a/404/index.html +++ b/404/index.html @@ -1,4 +1,4 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file +

404

This page could not be found.

\ No newline at end of file diff --git a/_next/static/chunks/55-6181269db7d27fc3.js b/_next/static/chunks/55-6181269db7d27fc3.js deleted file mode 100644 index 212db11b..00000000 --- a/_next/static/chunks/55-6181269db7d27fc3.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[55],{2915:function(e,n,t){t.d(n,{Z:function(){return d}});var i=t(85893),a=t(19521),l=t(3837),o=t(87531);function d(e){let{children:n,variant:t="default"}=e;return(0,i.jsx)(i.Fragment,{children:"default"===t?(0,i.jsx)(l.X2,{xs:12,gap:"0",children:(0,i.jsx)(l.JX,{xs:12,lg:10,lgOffset:2,xl:8,xlOffset:3,xxl:6,xxlOffset:4,children:(0,i.jsx)(o.Z,{children:(0,i.jsx)(r,{children:n})})})}):(0,i.jsx)(l.X2,{xs:12,gap:"0",children:(0,i.jsx)(l.JX,{xs:12,xl:8,xlOffset:3,children:(0,i.jsx)(o.Z,{children:(0,i.jsx)(s,{children:n})})})})})}var r=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv",componentId:"sc-1m0nz8e-0"})({marginLeft:"auto",marginRight:"auto",maxWidth:"715px"}),s=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv2",componentId:"sc-1m0nz8e-1"})({marginLeft:"auto",marginRight:"auto",maxWidth:"961px"})},3860:function(e,n,t){t.d(n,{Z:function(){return d}});var i=t(85893),a=t(19521),l=t(3837);let o=a.ZP.span.attrs((0,l.PT)("tp-info")).withConfig({displayName:"styles__StyledLabel",componentId:"sc-19wpeec-0"})(["vertical-align:top;color:#fff;"]);function d(e){let{children:n,number:t,as:a="h1",type:l="h5",color:d="main1",disabled:c=!1,label:m,...p}=e;return(0,i.jsxs)(a,{style:{lineHeight:"1rem",margin:0},children:[(0,i.jsxs)("span",{className:c?"unavailable-content":"",children:[(0,i.jsxs)(r,{className:"tp-body1 fs-xl text-base0",children:[String(t).padStart(2,"0"),"/\xa0"]}),(0,i.jsx)(s,{forwardedAs:"span",type:l,color:d,...p,children:n})]}),m&&(0,i.jsx)(o,{type:l,children:m})]})}var r=(0,a.ZP)("span").withConfig({displayName:"cmp___StyledSpan",componentId:"sc-1s7saq-0"})({display:"inline"}),s=(0,a.ZP)(l.DU).withConfig({displayName:"cmp___StyledTextGradient",componentId:"sc-1s7saq-1"})({display:"inline"})},31477:function(e,n,t){t.d(n,{Z:function(){return c}});var i=t(85893),a=t(19521),l=t(67294),o=t(3837);let d=a.ZP.input.withConfig({displayName:"styles__StyledHiddenFileInput",componentId:"sc-vome1k-0"})(["display:none;"]);var r=t(34853);let s=(0,l.memo)((0,l.forwardRef)((e,n)=>{let{onChange:t,accept:a,value:s,children:c,error:p}=e,u=(0,l.useRef)(null),f=(0,l.useCallback)(()=>{u.current&&u.current.click()},[]),h=(0,l.useCallback)(()=>{t(void 0)},[t]),g=(0,l.useCallback)(e=>{let n=e.target,{files:i}=n;if(i){let e=i[0];t(e)}},[t]);return(0,i.jsxs)("div",{tabIndex:-1,ref:n,children:[s?(0,i.jsxs)(o.zx,{onClick:h,type:"button",color:"main2",kind:"neon",size:"regular",variant:"tertiary",children:[(0,r.zN)(s.name)," ",(0,i.jsx)(m,{name:"trash"})]}):(0,i.jsx)(o.zx,{onClick:f,type:"button",color:"main0",kind:"neon",size:"regular",variant:"primary",children:c}),p&&(0,i.jsx)(o.Xq,{error:p}),(0,i.jsx)(d,{type:"file",ref:u,onChange:g,accept:a})]})}));s.displayName="HiddenFileInput";var c=s,m=(0,a.ZP)(o.JO).withConfig({displayName:"cmp___StyledIcon",componentId:"sc-1pig7lr-0"})({marginLeft:"1.25rem"})},38478:function(e,n,t){t.d(n,{Z:function(){return y}});var i=t(85893),a=t(19521),l=t(34853),o=t(3837);let d=a.ZP.div.withConfig({displayName:"styles__StyledHoldingSummaryLine",componentId:"sc-ejcp3t-0"})(["",""],e=>{let{isHeader:n}=e;return(0,a.iv)([""," grid-template-columns:1fr 2fr 1fr;grid-auto-rows:max-content;opacity:",";margin-bottom:",";align-items:stretch;& > *{"," width:100%;border-bottom:1px solid #666;&:first-child{","}&:not(:first-child){","}&:last-child{border-bottom-style:dashed;}}"],{display:"grid",padding:"0px"},n?.5:1,n?"1.5rem":"0",{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"0.75rem",paddingBottom:"0.75rem"},{display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",fontSize:"0.75rem",lineHeight:"1rem"},{display:"flex",flexDirection:"column",alignItems:"flex-end",justifyContent:"center"})}),r=a.ZP.span.attrs((0,o.PT)("tp-info")).withConfig({displayName:"styles__GreyLabel",componentId:"sc-ejcp3t-1"})(["color:rgba(255,255,255,0.3);"]);a.ZP.span.attrs((0,o.PT)("tp-info text-main0")).withConfig({displayName:"styles__BlueLabel",componentId:"sc-ejcp3t-2"})([""]);var s=t(67294),c=t(33358),m=t(49875),p=t(39261),u=t(59925),f=t(11912),h=t(2915);let g=s.memo(e=>{let{type:n,specs:t,cost:a}=e,{cpu:o,ram:r,storage:m}=t,p=(0,s.useMemo)(()=>"".concat(o,"x86-64bit"),[o]),u=(0,s.useMemo)(()=>"".concat((0,l.Fx)(r,{from:"MiB",to:"GiB",displayUnit:!1}),"GB-RAM"),[r]),f=(0,s.useMemo)(()=>"".concat((0,l.Fx)(m,{from:"MiB",to:"GiB",displayUnit:!1}),"GB-HDD"),[m]),h=(0,s.useMemo)(()=>"".concat(p,".").concat(u).concat(n===c.py.Instance?".".concat(f):""),[p,u,f,n]);return(0,i.jsxs)(d,{children:[(0,i.jsx)("div",{children:(0,i.jsx)("div",{children:c.K_[n].toUpperCase()})}),(0,i.jsx)("div",{children:(0,i.jsx)("div",{children:h})}),(0,i.jsx)("div",{children:(0,i.jsxs)("div",{children:[(0,l.RK)(a)," ALEPH"]})})]})});g.displayName="HoldingRequirementsSpecsLine";let x=s.memo(e=>{let{volume:n,cost:t,specs:a}=e,o=u.l.getVolumeSize(n);if(!t)return(0,i.jsx)(i.Fragment,{});let r=!!t.discount,s=!t.cost;return(0,i.jsxs)(d,{children:[(0,i.jsx)("div",{children:(0,i.jsxs)("div",{children:["STORAGE",(0,i.jsx)(j,{children:n.volumeType===u.z.Persistent?"PERSISTENT":"VOLUME"})]})}),(0,i.jsx)("div",{children:(0,i.jsx)("div",{children:(0,l.eB)(o,"MiB")})}),(0,i.jsx)("div",{children:(0,i.jsx)("div",{children:r?(0,i.jsxs)(f.Z,{plain:!0,align:"left",my:"bottom-left",at:"bottom-right",tooltipContent:(0,i.jsx)(_,{children:(0,i.jsx)("div",{className:"tp-body1 fs-md",children:s?(0,i.jsxs)(i.Fragment,{children:["The cost displayed for the added storage is"," ",(0,i.jsxs)("span",{className:"text-main0",children:[(0,l.RK)(t.cost)," ALEPH"]})," ","as this resource is already included in your selected package at no additional charge."]}):(0,i.jsxs)(i.Fragment,{children:["Good news! The displayed price is lower than usual due to a discount of"," ",(0,i.jsxs)("span",{className:"text-main0",children:[(0,l.RK)(t.price-t.cost)," ","ALEPH"]}),a&&(0,i.jsxs)(i.Fragment,{children:[" for ",(0,i.jsx)("span",{className:"text-main0",children:(0,l.Fx)(a.storage,{from:"MiB",to:"GiB",displayUnit:!0})})," ","included in your package."]})]})})}),children:[(0,l.RK)(t.cost)," ALEPH"]}):(0,i.jsxs)(i.Fragment,{children:[(0,l.RK)(t.cost)," ALEPH"]})})})]})});x.displayName="HoldingRequirementsVolumeLine";let v=s.memo(e=>{let{domain:n}=e;return(0,i.jsxs)(d,{children:[(0,i.jsx)("div",{children:"CUSTOM DOMAIN"}),(0,i.jsx)("div",{children:n.name}),(0,i.jsx)("div",{children:"-"})]})});function y(e){let{address:n,unlockedAmount:t,type:a,specs:o,volumes:r,domains:f,isPersistent:y=a===c.py.Instance,button:j,description:_}=e;r=null==r?void 0:r.filter(e=>!e.isFake);let{computeTotalCost:Z,perVolumeCost:T,totalCost:k}=(0,s.useMemo)(()=>{switch(a){case c.py.Program:return p.L.getCost({specs:o,volumes:r,isPersistent:y});case c.py.Instance:return m.u.getCost({specs:o,volumes:r});case c.py.Volume:return{...u.l.getCost({volumes:r}),computeTotalCost:0}}},[y,o,a,r]);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(w,{}),(0,i.jsx)(b,{className:"fx-noise-light",children:(0,i.jsxs)(h.Z,{children:[(0,i.jsx)(N,{forwardedAs:"h2",type:"h5",children:"Estimated holding requirements"}),_&&(0,i.jsx)(C,{children:(0,i.jsx)("p",{className:"text-main2",children:_})}),(0,i.jsx)(P,{children:(0,i.jsxs)(S,{children:[(0,i.jsxs)(d,{isHeader:!0,children:[(0,i.jsx)("div",{children:"UNLOCKED"}),(0,i.jsxs)("div",{className:"tp-body1",children:["current wallet ",(0,l.zN)(n)]}),(0,i.jsxs)("div",{children:[(0,l.RK)(t)," ALEPH"]})]}),o&&(0,i.jsx)(g,{type:a,specs:o,isPersistent:y,perVolumeCost:T,cost:Z}),r&&r.map((e,n)=>(0,i.jsx)(x,{volume:e,specs:o,cost:T[n]},e.volumeType+n)),a===c.py.Program&&(0,i.jsxs)(d,{children:[(0,i.jsx)("div",{children:"TYPE"}),(0,i.jsx)("div",{children:y?"persistent":"on-demand"}),(0,i.jsx)("div",{children:"-"})]}),f&&f.map(e=>(0,i.jsx)(v,{domain:e},e.name)),(0,i.jsxs)(d,{children:[(0,i.jsx)("div",{}),(0,i.jsx)("div",{className:"tp-body2",children:"Total"}),(0,i.jsx)("div",{children:(0,i.jsxs)("span",{className:"text-main1",children:[(0,l.RK)(k)," ALEPH"]})})]})]})}),j&&(0,i.jsx)(I,{children:j})]})})]})}v.displayName="HoldingRequirementsDomainLine";var j=(0,a.ZP)(r).withConfig({displayName:"cmp___StyledGreyLabel",componentId:"sc-1kffrjv-0"})({marginLeft:"0.5rem"}),_=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv",componentId:"sc-1kffrjv-1"})({textAlign:"left"}),w=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv2",componentId:"sc-1kffrjv-2"})({"@media (min-width: 768px)":{marginTop:"8rem"}}),b=(0,a.ZP)("section").withConfig({displayName:"cmp___StyledSection",componentId:"sc-1kffrjv-3"})({paddingLeft:"0px",paddingRight:"0px",paddingBottom:"6rem",paddingTop:"1.5rem","@media (min-width: 768px)":{marginTop:"auto",paddingBottom:"8rem",paddingTop:"4rem"}}),N=(0,a.ZP)(o.DU).withConfig({displayName:"cmp___StyledTextGradient",componentId:"sc-1kffrjv-4"})({marginBottom:"0.25rem"}),C=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv3",componentId:"sc-1kffrjv-5"})({marginBottom:"1.5rem",marginTop:"0.25rem"}),P=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv4",componentId:"sc-1kffrjv-6"})({marginTop:"1.75rem",marginBottom:"1.75rem"}),S=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv5",componentId:"sc-1kffrjv-7"})({maxWidth:"100%",overflow:"auto"}),I=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv6",componentId:"sc-1kffrjv-8"})({marginTop:"1.75rem",textAlign:"center"})},11912:function(e,n,t){t.d(n,{Z:function(){return r}});var i=t(85893),a=t(19521),l=t(67294),o=t(3837);let d=(0,a.ZP)(o.zx).attrs(e=>({...e,forwardedAs:"span",onClick:e=>e.preventDefault(),kind:"neon",size:"big",variant:"text-only",color:"main0"})).withConfig({displayName:"styles__StyledInfoTooltipButton",componentId:"sc-15cvlnj-0"})(()=>[{cursor:"help !important"}]);function r(e){let{children:n,tooltipContent:t,plain:a,align:d="right",...r}=e,[u,f]=(0,l.useState)(!1);(0,l.useEffect)(()=>{f(!0)},[]);let h=(0,l.useRef)(null),g=(0,o._K)("md"),x=(0,i.jsx)(s,{name:"info-circle",$_css:"left"===d?{order:"-1"}:""});return(0,i.jsxs)(i.Fragment,{children:[a?(0,i.jsxs)(c,{ref:h,children:[n,x]}):(0,i.jsxs)(m,{ref:h,children:[n,x]}),u&&(0,i.jsx)(p,{...r,targetRef:h,content:t,$_css2:g?{position:"fixed !important",left:"0px !important",top:"0px !important",zIndex:"20 !important",margin:"1.5rem",height:"calc(100% - 3rem) !important",width:"calc(100% - 3rem) !important",maxWidth:"100% !important",transform:"none !important"}:{}})]})}var s=(0,a.ZP)(o.JO).withConfig({displayName:"cmp___StyledIcon",componentId:"sc-1jqd2c1-0"})(["",""],e=>e.$_css),c=(0,a.ZP)("span").withConfig({displayName:"cmp___StyledSpan",componentId:"sc-1jqd2c1-1"})({display:"inline-flex",cursor:"help",alignItems:"center",gap:"0.625rem"}),m=(0,a.ZP)(d).withConfig({displayName:"cmp___StyledStyledInfoTooltipButton",componentId:"sc-1jqd2c1-2"})({display:"inline-flex",alignItems:"center",gap:"0.625rem"}),p=(0,a.ZP)(o.u).withConfig({displayName:"cmp___StyledTooltip",componentId:"sc-1jqd2c1-3"})(["",""],e=>e.$_css2)},70641:function(e,n,t){t.d(n,{Z:function(){return o}});var i=t(3837),a=t(19521);let l=a.ZP.div.attrs((0,i.PT)("fx-noise-light")).withConfig({displayName:"styles__NoisyContainer",componentId:"sc-1ql0ilg-0"})(["",""],{borderRadius:"1.5rem",padding:"1.5rem"});var o=l},15598:function(e,n,t){t.d(n,{nx:function(){return p}});var i=t(85893),a=t(19521),l=t(3837),o=t(67294),d=t(98117),r=t(59925),s=t(70641),c=t(31477);let m=o.memo(e=>{let{onRemove:n}=e;return(0,i.jsx)(x,{children:(0,i.jsx)(l.zx,{type:"button",onClick:n,color:"main2",variant:"secondary",kind:"neon",size:"regular",children:"Remove"})})});m.displayName="RemoveVolume";let p=o.memo(e=>{let{isStandAlone:n,fileCtrl:t,mountPathCtrl:a,useLatestCtrl:o,volumeSize:r,handleRemove:p}=(0,d.Yl)(e);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(v,{children:"Create and configure new volumes for your web3 function by either uploading a dependency file or a squashfs volume. Volumes play a crucial role in managing dependencies and providing a volume within your application."}),(0,i.jsxs)(s.Z,{children:[(0,i.jsx)(y,{children:(0,i.jsxs)(c.Z,{...t.field,...t.fieldState,children:["Upload squashfs volume ",(0,i.jsx)(j,{name:"arrow-up"})]})}),!n&&(0,i.jsx)(_,{children:(0,i.jsx)(l.oi,{...a.field,...a.fieldState,label:"Mount",placeholder:"/mount/opt"})}),t.field.value&&(0,i.jsx)(w,{children:(0,i.jsx)(l.oi,{label:"Size",name:"size",value:r,disabled:!0})}),!n&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(b,{children:(0,i.jsx)(l.XZ,{...o.field,...o.fieldState,label:"Always update to the latest version"})}),p&&(0,i.jsx)(m,{onRemove:p})]})]})]})});p.displayName="AddNewVolume";let u=o.memo(e=>{let{refHashCtrl:n,mountPathCtrl:t,useLatestCtrl:a,handleRemove:o}=(0,d.Ox)(e);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(N,{children:"Link existing volumes to your web3 function by pasting the reference hash associated with each volume. Volumes are an essential component for managing dependencies within your application."}),(0,i.jsxs)(s.Z,{children:[(0,i.jsx)("div",{children:(0,i.jsx)(l.oi,{...t.field,...t.fieldState,label:"Mount",placeholder:"/mount/opt"})}),(0,i.jsx)(C,{children:(0,i.jsx)(l.oi,{...n.field,...n.fieldState,label:"Item hash",placeholder:"3335ad270a571b..."})}),(0,i.jsx)(P,{children:(0,i.jsx)(l.XZ,{...a.field,...a.fieldState,checked:!!a.field.value,label:"Always update to the latest version"})}),o&&(0,i.jsx)(m,{onRemove:o})]})]})});u.displayName="AddExistingVolume";let f=o.memo(e=>{let{nameCtrl:n,mountPathCtrl:t,sizeCtrl:a,sizeValue:o,isFake:r,sizeHandleChange:c,handleRemove:p}=(0,d.BB)(e);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(S,{children:"Create and configure persistent storage for your web3 functions, enabling your application to maintain data across multiple invocations or sessions. You can set up a customized storage solution tailored to your application's requirements."}),(0,i.jsxs)(s.Z,{children:[(0,i.jsx)("div",{children:(0,i.jsx)(l.oi,{...n.field,...n.fieldState,disabled:r,label:"Volume name",placeholder:"Redis volume"})}),(0,i.jsx)(I,{children:(0,i.jsx)(l.oi,{...t.field,...t.fieldState,disabled:r,label:"Mount",placeholder:"/mount/opt"})}),(0,i.jsx)(Z,{children:(0,i.jsx)(l.oi,{...a.field,...a.fieldState,disabled:r,value:o,onChange:c,type:"number",label:"Size (GB)",placeholder:"0"})}),!r&&p&&(0,i.jsx)(m,{onRemove:p})]})]})});f.displayName="AddPersistentVolume";let h={[r.z.New]:p,[r.z.Existing]:u,[r.z.Persistent]:f},g=o.memo(e=>{let{volumeTypeCtrl:n,isFake:t,defaultValue:a,...s}=(0,d.Kn)(e),c=n.field.value,m=(0,o.useMemo)(()=>h[c],[c]),p=(0,o.useMemo)(()=>t?[{id:r.z.Persistent,name:"System Volume"}]:[{id:r.z.New,name:"New volume"},{id:r.z.Existing,name:"Existing volume"},{id:r.z.Persistent,name:"Persistent Storage"}],[t]);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(T,{children:(0,i.jsx)(l.mQ,{selected:c,align:"left",onTabChange:n.field.onChange,tabs:p})}),(0,i.jsx)("div",{role:"tabpanel",children:(0,i.jsx)(m,{...s,defaultValue:a})})]})});g.displayName="AddVolume",n.ZP=g;var x=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv",componentId:"sc-de6qwa-0"})({marginTop:"1rem",paddingTop:"1.5rem",textAlign:"right"}),v=(0,a.ZP)("p").withConfig({displayName:"cmp___StyledP",componentId:"sc-de6qwa-1"})({marginBottom:"1.5rem",marginTop:"0.25rem"}),y=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv2",componentId:"sc-de6qwa-2"})({paddingTop:"1rem",paddingBottom:"1rem"}),j=(0,a.ZP)(l.JO).withConfig({displayName:"cmp___StyledIcon",componentId:"sc-de6qwa-3"})({marginLeft:"1rem"}),_=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv3",componentId:"sc-de6qwa-4"})({marginTop:"1rem"}),w=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv4",componentId:"sc-de6qwa-5"})({marginTop:"1rem"}),b=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv5",componentId:"sc-de6qwa-6"})({marginTop:"1rem",paddingTop:"1rem",paddingBottom:"1rem"}),N=(0,a.ZP)("p").withConfig({displayName:"cmp___StyledP2",componentId:"sc-de6qwa-7"})({marginBottom:"1.5rem",marginTop:"0.25rem"}),C=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv6",componentId:"sc-de6qwa-8"})({marginTop:"1rem"}),P=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv7",componentId:"sc-de6qwa-9"})({marginTop:"1rem",paddingTop:"1rem",paddingBottom:"1rem"}),S=(0,a.ZP)("p").withConfig({displayName:"cmp___StyledP3",componentId:"sc-de6qwa-10"})({marginBottom:"1.5rem"}),I=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv8",componentId:"sc-de6qwa-11"})({marginTop:"1rem"}),Z=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv9",componentId:"sc-de6qwa-12"})({marginTop:"1rem"}),T=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv10",componentId:"sc-de6qwa-13"})({paddingLeft:"0px",paddingRight:"0px",paddingBottom:"0.75rem",paddingTop:"1.5rem"})},53871:function(e,n,t){t.d(n,{l:function(){return r},Z:function(){return s}});var i=t(85893),a=t(19521);let l=a.ZP.form.withConfig({displayName:"styles__StyledForm",componentId:"sc-faebcb-0"})(["",""],{display:"flex",flex:"1 1 0%",flexDirection:"column"});var o=t(3837),d=t(2915);let r=e=>{let{children:n,onSubmit:t,errors:a}=e;return(0,i.jsxs)(l,{onSubmit:t,children:[n,(0,i.jsx)(d.Z,{children:(null==a?void 0:a.root)&&Object.values(a.root).map(e=>(0,i.jsx)(o.Xq,{error:e},e+""))})]})};var s=r},78512:function(e,n,t){t.d(n,{Z:function(){return o}});var i=t(67294),a=t(11163),l=t(36470);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",[n]=(0,l.mr)(),t=(0,a.useRouter)();(0,i.useEffect)(()=>{n.account||t.replace(e)})}},10159:function(e,n,t){t.d(n,{c:function(){return d}});var i=t(67294),a=t(47291),l=t(87536),o=t(1604);function d(e){let{onSubmit:n,...t}=e,d=(0,l.cI)(t),[r,{onLoad:s,onSuccess:c,onError:m}]=(0,a.g)(),p=(0,i.useCallback)(async e=>{try{s();let t=await n(e);c(t)}catch(n){let e=n instanceof o.jm?Error("Validation error, check highlighted form fields"):(null==n?void 0:n.cause)||n;d.setError("root.serverError",{...e,message:null==e?void 0:e.message}),m(e)}},[d,m,s,n,c]),u=(0,i.useCallback)(async e=>{let n;if(console.log(e),!n){let t=function e(n){let[t]=Object.entries(n);if(!t)return;let[i,a]=t;if(Array.isArray(a)){let n=a[a.length-1];return e(n)}return[i,a]}(e);if(t){let[e,i]=t,a="string"==typeof i?i:(null==i?void 0:i.message)?": ".concat(i.message):(null==i?void 0:i.type)?': "'.concat(null==i?void 0:i.type,'" validation not satisfied'):"";n=Error('Error on field "'.concat(e,'"').concat(a))}}n||(n=Error("Validation error")),m(n)},[m]),f=(0,i.useMemo)(()=>d.handleSubmit(p,u),[d,p,u]);return{...d,requestState:r,handleSubmit:f}}},47291:function(e,n,t){t.d(n,{g:function(){return l}});var i=t(67294),a=t(3837);function l(){let{onSuccess:e,onError:n,onLoad:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=(0,a.lm)(),[o,d]=(0,i.useState)({data:null,loading:!1,error:null}),r=(0,i.useCallback)(n=>{function t(){l&&l.add({variant:"success",title:"Operation complete"})}return d({data:n,loading:!1,error:null}),e?e(n,t):t()},[l,e]),s=(0,i.useCallback)(e=>{function t(e){var n;let t=e.message,i=null===(n=null==e?void 0:e.cause)||void 0===n?void 0:n.message;l&&l.add({variant:"error",title:"Error",text:t,detail:i})}return d({data:null,loading:!1,error:e}),n?n(e,t):t(e)},[n,l]),c=(0,i.useCallback)(()=>{d({data:null,loading:!0,error:null}),t&&t()},[t]);return[o,{onSuccess:r,onError:s,onLoad:c}]}},98117:function(e,n,t){t.d(n,{BB:function(){return c},Kn:function(){return m},Ox:function(){return s},Yl:function(){return r},Yz:function(){return d}});var i=t(67294),a=t(34853),l=t(59925),o=t(87536);let d={volumeType:l.z.New};function r(e){let{name:n="",index:t,control:d,defaultValue:r,onRemove:s}=e,c=void 0===t?n:"".concat(n,".").concat(t),m=(0,o.bc)({control:d,name:"".concat(c,".file"),defaultValue:null==r?void 0:r.file}),p=(0,o.bc)({control:d,name:"".concat(c,".mountPath"),defaultValue:null==r?void 0:r.mountPath}),u=(0,o.bc)({control:d,name:"".concat(c,".useLatest"),defaultValue:null==r?void 0:r.useLatest}),{value:f}=m.field,h=(0,i.useMemo)(()=>{let e=l.l.getVolumeSize({volumeType:l.z.New,file:f});return(0,a.eB)(e,"MiB")},[f]);return{isStandAlone:void 0===t,fileCtrl:m,mountPathCtrl:p,useLatestCtrl:u,volumeSize:h,handleRemove:s}}function s(e){let{name:n="",index:t,control:i,defaultValue:a,onRemove:l}=e,d=(0,o.bc)({control:i,name:"".concat(n,".").concat(t,".refHash"),defaultValue:null==a?void 0:a.refHash}),r=(0,o.bc)({control:i,name:"".concat(n,".").concat(t,".mountPath"),defaultValue:null==a?void 0:a.mountPath}),s=(0,o.bc)({control:i,name:"".concat(n,".").concat(t,".useLatest"),defaultValue:null==a?void 0:a.useLatest});return{refHashCtrl:d,mountPathCtrl:r,useLatestCtrl:s,handleRemove:l}}function c(e){let{name:n="",index:t,control:l,defaultValue:d,onRemove:r}=e,s=(0,o.bc)({control:l,name:"".concat(n,".").concat(t,".name"),defaultValue:null==d?void 0:d.name}),c=(0,o.bc)({control:l,name:"".concat(n,".").concat(t,".mountPath"),defaultValue:null==d?void 0:d.mountPath}),m=(0,o.bc)({control:l,name:"".concat(n,".").concat(t,".size"),defaultValue:null==d?void 0:d.size}),p=(null==d?void 0:d.isFake)||!1,u=(0,i.useCallback)(e=>{let n=Number(e.target.value),t=(0,a.Fx)(n,{from:"GiB",to:"MiB",displayUnit:!1});m.field.onChange(t)},[m.field]),f=(0,i.useMemo)(()=>m.field.value?(0,a.Fx)(m.field.value,{from:"MiB",to:"GiB",displayUnit:!1}):void 0,[m.field]);return{nameCtrl:s,mountPathCtrl:c,sizeCtrl:m,sizeValue:f,isFake:p,sizeHandleChange:u,handleRemove:r}}function m(e){let{name:n="volumes",index:t,control:a,defaultValue:d,onRemove:r}=e,s=void 0===t?n:"".concat(n,".").concat(t),c=(0,o.bc)({control:a,name:"".concat(s,".volumeType"),defaultValue:l.z.New}),m=(null==d?void 0:d.isFake)||!1,p=(0,i.useCallback)(()=>{r&&r(t)},[t,r]);return{name:n,index:t,control:a,volumeTypeCtrl:c,defaultValue:d,isFake:m,onRemove:p}}}}]); \ No newline at end of file diff --git a/_next/static/chunks/55-7b9f4803ccd87db6.js b/_next/static/chunks/55-7b9f4803ccd87db6.js new file mode 100644 index 00000000..5f9cb655 --- /dev/null +++ b/_next/static/chunks/55-7b9f4803ccd87db6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[55],{2915:function(e,n,t){t.d(n,{Z:function(){return d}});var i=t(85893),a=t(19521),l=t(3837),o=t(87531);function d(e){let{children:n,variant:t="default"}=e;return(0,i.jsx)(i.Fragment,{children:"default"===t?(0,i.jsx)(l.X2,{xs:12,gap:"0",children:(0,i.jsx)(l.JX,{xs:12,lg:10,lgOffset:2,xl:8,xlOffset:3,xxl:6,xxlOffset:4,children:(0,i.jsx)(o.Z,{children:(0,i.jsx)(r,{children:n})})})}):(0,i.jsx)(l.X2,{xs:12,gap:"0",children:(0,i.jsx)(l.JX,{xs:12,xl:8,xlOffset:3,children:(0,i.jsx)(o.Z,{children:(0,i.jsx)(s,{children:n})})})})})}var r=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv",componentId:"sc-1m0nz8e-0"})({marginLeft:"auto",marginRight:"auto",maxWidth:"715px"}),s=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv2",componentId:"sc-1m0nz8e-1"})({marginLeft:"auto",marginRight:"auto",maxWidth:"961px"})},3860:function(e,n,t){t.d(n,{Z:function(){return d}});var i=t(85893),a=t(19521),l=t(3837);let o=a.ZP.span.attrs((0,l.PT)("tp-info")).withConfig({displayName:"styles__StyledLabel",componentId:"sc-19wpeec-0"})(["vertical-align:top;color:#fff;"]);function d(e){let{children:n,number:t,as:a="h1",type:l="h5",color:d="main1",disabled:c=!1,label:m,...p}=e;return(0,i.jsxs)(a,{style:{lineHeight:"1rem",margin:0},children:[(0,i.jsxs)("span",{className:c?"unavailable-content":"",children:[(0,i.jsxs)(r,{className:"tp-body1 fs-xl text-base0",children:[String(t).padStart(2,"0"),"/\xa0"]}),(0,i.jsx)(s,{forwardedAs:"span",type:l,color:d,...p,children:n})]}),m&&(0,i.jsx)(o,{type:l,children:m})]})}var r=(0,a.ZP)("span").withConfig({displayName:"cmp___StyledSpan",componentId:"sc-1s7saq-0"})({display:"inline"}),s=(0,a.ZP)(l.DU).withConfig({displayName:"cmp___StyledTextGradient",componentId:"sc-1s7saq-1"})({display:"inline"})},31477:function(e,n,t){t.d(n,{Z:function(){return c}});var i=t(85893),a=t(19521),l=t(67294),o=t(3837);let d=a.ZP.input.withConfig({displayName:"styles__StyledHiddenFileInput",componentId:"sc-vome1k-0"})(["display:none;"]);var r=t(34853);let s=(0,l.memo)((0,l.forwardRef)((e,n)=>{let{onChange:t,accept:a,value:s,children:c,error:p}=e,u=(0,l.useRef)(null),f=(0,l.useCallback)(()=>{u.current&&u.current.click()},[]),h=(0,l.useCallback)(()=>{t(void 0)},[t]),g=(0,l.useCallback)(e=>{let n=e.target,{files:i}=n;if(i){let e=i[0];t(e)}},[t]);return(0,i.jsxs)("div",{tabIndex:-1,ref:n,children:[s?(0,i.jsxs)(o.zx,{onClick:h,type:"button",color:"main2",kind:"neon",size:"regular",variant:"tertiary",children:[(0,r.zN)(s.name)," ",(0,i.jsx)(m,{name:"trash"})]}):(0,i.jsx)(o.zx,{onClick:f,type:"button",color:"main0",kind:"neon",size:"regular",variant:"primary",children:c}),p&&(0,i.jsx)(o.Xq,{error:p}),(0,i.jsx)(d,{type:"file",ref:u,onChange:g,accept:a})]})}));s.displayName="HiddenFileInput";var c=s,m=(0,a.ZP)(o.JO).withConfig({displayName:"cmp___StyledIcon",componentId:"sc-1pig7lr-0"})({marginLeft:"1.25rem"})},38478:function(e,n,t){t.d(n,{Z:function(){return y}});var i=t(85893),a=t(19521),l=t(34853),o=t(3837);let d=a.ZP.div.withConfig({displayName:"styles__StyledHoldingSummaryLine",componentId:"sc-ejcp3t-0"})(["",""],e=>{let{isHeader:n}=e;return(0,a.iv)([""," grid-template-columns:1fr 2fr 1fr;grid-auto-rows:max-content;opacity:",";margin-bottom:",";align-items:stretch;& > *{"," width:100%;border-bottom:1px solid #666;&:first-child{","}&:not(:first-child){","}&:last-child{border-bottom-style:dashed;}}"],{display:"grid",padding:"0px"},n?.5:1,n?"1.5rem":"0",{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"0.75rem",paddingBottom:"0.75rem"},{display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",fontSize:"0.75rem",lineHeight:"1rem"},{display:"flex",flexDirection:"column",alignItems:"flex-end",justifyContent:"center"})}),r=a.ZP.span.attrs((0,o.PT)("tp-info")).withConfig({displayName:"styles__GreyLabel",componentId:"sc-ejcp3t-1"})(["color:rgba(255,255,255,0.3);"]);a.ZP.span.attrs((0,o.PT)("tp-info text-main0")).withConfig({displayName:"styles__BlueLabel",componentId:"sc-ejcp3t-2"})([""]);var s=t(67294),c=t(33358),m=t(49875),p=t(39261),u=t(59925),f=t(11912),h=t(2915);let g=s.memo(e=>{let{type:n,specs:t,cost:a}=e,{cpu:o,ram:r,storage:m}=t,p=(0,s.useMemo)(()=>"".concat(o,"x86-64bit"),[o]),u=(0,s.useMemo)(()=>"".concat((0,l.Fx)(r,{from:"MiB",to:"GiB",displayUnit:!1}),"GB-RAM"),[r]),f=(0,s.useMemo)(()=>"".concat((0,l.Fx)(m,{from:"MiB",to:"GiB",displayUnit:!1}),"GB-HDD"),[m]),h=(0,s.useMemo)(()=>"".concat(p,".").concat(u).concat(n===c.py.Instance?".".concat(f):""),[p,u,f,n]);return(0,i.jsxs)(d,{children:[(0,i.jsx)("div",{children:(0,i.jsx)("div",{children:c.K_[n].toUpperCase()})}),(0,i.jsx)("div",{children:(0,i.jsx)("div",{children:h})}),(0,i.jsx)("div",{children:(0,i.jsxs)("div",{children:[(0,l.RK)(a)," ALEPH"]})})]})});g.displayName="HoldingRequirementsSpecsLine";let x=s.memo(e=>{let{volume:n,cost:t,specs:a}=e,o=u.l.getVolumeSize(n);if(!t)return(0,i.jsx)(i.Fragment,{});let r=!!t.discount,s=!t.cost;return(0,i.jsxs)(d,{children:[(0,i.jsx)("div",{children:(0,i.jsxs)("div",{children:["STORAGE",(0,i.jsx)(j,{children:n.volumeType===u.z.Persistent?"PERSISTENT":"VOLUME"})]})}),(0,i.jsx)("div",{children:(0,i.jsx)("div",{children:(0,l.eB)(o,"MiB")})}),(0,i.jsx)("div",{children:(0,i.jsx)("div",{children:r?(0,i.jsxs)(f.Z,{plain:!0,align:"left",my:"bottom-left",at:"bottom-right",tooltipContent:(0,i.jsx)(_,{children:(0,i.jsx)("div",{className:"tp-body1 fs-md",children:s?(0,i.jsxs)(i.Fragment,{children:["The cost displayed for the added storage is"," ",(0,i.jsxs)("span",{className:"text-main0",children:[(0,l.RK)(t.cost)," ALEPH"]})," ","as this resource is already included in your selected package at no additional charge."]}):(0,i.jsxs)(i.Fragment,{children:["Good news! The displayed price is lower than usual due to a discount of"," ",(0,i.jsxs)("span",{className:"text-main0",children:[(0,l.RK)(t.price-t.cost)," ","ALEPH"]}),a&&(0,i.jsxs)(i.Fragment,{children:[" for ",(0,i.jsx)("span",{className:"text-main0",children:(0,l.Fx)(a.storage,{from:"MiB",to:"GiB",displayUnit:!0})})," ","included in your package."]})]})})}),children:[(0,l.RK)(t.cost)," ALEPH"]}):(0,i.jsxs)(i.Fragment,{children:[(0,l.RK)(t.cost)," ALEPH"]})})})]})});x.displayName="HoldingRequirementsVolumeLine";let v=s.memo(e=>{let{domain:n}=e;return(0,i.jsxs)(d,{children:[(0,i.jsx)("div",{children:"CUSTOM DOMAIN"}),(0,i.jsx)("div",{children:n.name}),(0,i.jsx)("div",{children:"-"})]})});function y(e){let{address:n,unlockedAmount:t,type:a,specs:o,volumes:r,domains:f,isPersistent:y=a===c.py.Instance,button:j,description:_}=e;r=null==r?void 0:r.filter(e=>!e.isFake);let{computeTotalCost:Z,perVolumeCost:T,totalCost:k}=(0,s.useMemo)(()=>{switch(a){case c.py.Program:return p.L.getCost({specs:o,volumes:r,isPersistent:y});case c.py.Instance:return m.u.getCost({specs:o,volumes:r});case c.py.Volume:return{...u.l.getCost({volumes:r}),computeTotalCost:0}}},[y,o,a,r]);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(w,{}),(0,i.jsx)(b,{className:"fx-noise-light",children:(0,i.jsxs)(h.Z,{children:[(0,i.jsx)(N,{forwardedAs:"h2",type:"h5",children:"Estimated holding requirements"}),_&&(0,i.jsx)(C,{children:(0,i.jsx)("p",{className:"text-main2",children:_})}),(0,i.jsx)(S,{children:(0,i.jsxs)(P,{children:[(0,i.jsxs)(d,{isHeader:!0,children:[(0,i.jsx)("div",{children:"UNLOCKED"}),(0,i.jsxs)("div",{className:"tp-body1",children:["current wallet ",(0,l.zN)(n)]}),(0,i.jsxs)("div",{children:[(0,l.RK)(t)," ALEPH"]})]}),o&&(0,i.jsx)(g,{type:a,specs:o,isPersistent:y,perVolumeCost:T,cost:Z}),r&&r.map((e,n)=>(0,i.jsx)(x,{volume:e,specs:o,cost:T[n]},e.volumeType+n)),a===c.py.Program&&(0,i.jsxs)(d,{children:[(0,i.jsx)("div",{children:"TYPE"}),(0,i.jsx)("div",{children:y?"persistent":"on-demand"}),(0,i.jsx)("div",{children:"-"})]}),f&&f.map(e=>(0,i.jsx)(v,{domain:e},e.name)),(0,i.jsxs)(d,{children:[(0,i.jsx)("div",{}),(0,i.jsx)("div",{className:"tp-body2",children:"Total Staked"}),(0,i.jsx)("div",{children:(0,i.jsxs)("span",{className:"text-main1",children:[(0,l.RK)(k)," ALEPH"]})})]})]})}),j&&(0,i.jsx)(I,{children:j})]})})]})}v.displayName="HoldingRequirementsDomainLine";var j=(0,a.ZP)(r).withConfig({displayName:"cmp___StyledGreyLabel",componentId:"sc-1kffrjv-0"})({marginLeft:"0.5rem"}),_=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv",componentId:"sc-1kffrjv-1"})({textAlign:"left"}),w=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv2",componentId:"sc-1kffrjv-2"})({"@media (min-width: 768px)":{marginTop:"8rem"}}),b=(0,a.ZP)("section").withConfig({displayName:"cmp___StyledSection",componentId:"sc-1kffrjv-3"})({paddingLeft:"0px",paddingRight:"0px",paddingBottom:"6rem",paddingTop:"1.5rem","@media (min-width: 768px)":{marginTop:"auto",paddingBottom:"8rem",paddingTop:"4rem"}}),N=(0,a.ZP)(o.DU).withConfig({displayName:"cmp___StyledTextGradient",componentId:"sc-1kffrjv-4"})({marginBottom:"0.25rem"}),C=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv3",componentId:"sc-1kffrjv-5"})({marginBottom:"1.5rem",marginTop:"0.25rem"}),S=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv4",componentId:"sc-1kffrjv-6"})({marginTop:"1.75rem",marginBottom:"1.75rem"}),P=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv5",componentId:"sc-1kffrjv-7"})({maxWidth:"100%",overflow:"auto"}),I=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv6",componentId:"sc-1kffrjv-8"})({marginTop:"1.75rem",textAlign:"center"})},11912:function(e,n,t){t.d(n,{Z:function(){return r}});var i=t(85893),a=t(19521),l=t(67294),o=t(3837);let d=(0,a.ZP)(o.zx).attrs(e=>({...e,forwardedAs:"span",onClick:e=>e.preventDefault(),kind:"neon",size:"big",variant:"text-only",color:"main0"})).withConfig({displayName:"styles__StyledInfoTooltipButton",componentId:"sc-15cvlnj-0"})(()=>[{cursor:"help !important"}]);function r(e){let{children:n,tooltipContent:t,plain:a,align:d="right",...r}=e,[u,f]=(0,l.useState)(!1);(0,l.useEffect)(()=>{f(!0)},[]);let h=(0,l.useRef)(null),g=(0,o._K)("md"),x=(0,i.jsx)(s,{name:"info-circle",$_css:"left"===d?{order:"-1"}:""});return(0,i.jsxs)(i.Fragment,{children:[a?(0,i.jsxs)(c,{ref:h,children:[n,x]}):(0,i.jsxs)(m,{ref:h,children:[n,x]}),u&&(0,i.jsx)(p,{...r,targetRef:h,content:t,$_css2:g?{position:"fixed !important",left:"0px !important",top:"0px !important",zIndex:"20 !important",margin:"1.5rem",height:"calc(100% - 3rem) !important",width:"calc(100% - 3rem) !important",maxWidth:"100% !important",transform:"none !important"}:{}})]})}var s=(0,a.ZP)(o.JO).withConfig({displayName:"cmp___StyledIcon",componentId:"sc-1jqd2c1-0"})(["",""],e=>e.$_css),c=(0,a.ZP)("span").withConfig({displayName:"cmp___StyledSpan",componentId:"sc-1jqd2c1-1"})({display:"inline-flex",cursor:"help",alignItems:"center",gap:"0.625rem"}),m=(0,a.ZP)(d).withConfig({displayName:"cmp___StyledStyledInfoTooltipButton",componentId:"sc-1jqd2c1-2"})({display:"inline-flex",alignItems:"center",gap:"0.625rem"}),p=(0,a.ZP)(o.u).withConfig({displayName:"cmp___StyledTooltip",componentId:"sc-1jqd2c1-3"})(["",""],e=>e.$_css2)},70641:function(e,n,t){t.d(n,{Z:function(){return o}});var i=t(3837),a=t(19521);let l=a.ZP.div.attrs((0,i.PT)("fx-noise-light")).withConfig({displayName:"styles__NoisyContainer",componentId:"sc-1ql0ilg-0"})(["",""],{borderRadius:"1.5rem",padding:"1.5rem"});var o=l},15598:function(e,n,t){t.d(n,{nx:function(){return p}});var i=t(85893),a=t(19521),l=t(3837),o=t(67294),d=t(98117),r=t(59925),s=t(70641),c=t(31477);let m=o.memo(e=>{let{onRemove:n}=e;return(0,i.jsx)(x,{children:(0,i.jsx)(l.zx,{type:"button",onClick:n,color:"main2",variant:"secondary",kind:"neon",size:"regular",children:"Remove"})})});m.displayName="RemoveVolume";let p=o.memo(e=>{let{isStandAlone:n,fileCtrl:t,mountPathCtrl:a,useLatestCtrl:o,volumeSize:r,handleRemove:p}=(0,d.Yl)(e);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(v,{children:"Create and configure new volumes for your web3 function by either uploading a dependency file or a squashfs volume. Volumes play a crucial role in managing dependencies and providing a volume within your application."}),(0,i.jsxs)(s.Z,{children:[(0,i.jsx)(y,{children:(0,i.jsxs)(c.Z,{...t.field,...t.fieldState,children:["Upload squashfs volume ",(0,i.jsx)(j,{name:"arrow-up"})]})}),!n&&(0,i.jsx)(_,{children:(0,i.jsx)(l.oi,{...a.field,...a.fieldState,label:"Mount",placeholder:"/mount/opt"})}),t.field.value&&(0,i.jsx)(w,{children:(0,i.jsx)(l.oi,{label:"Size",name:"size",value:r,disabled:!0})}),!n&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(b,{children:(0,i.jsx)(l.XZ,{...o.field,...o.fieldState,label:"Always update to the latest version"})}),p&&(0,i.jsx)(m,{onRemove:p})]})]})]})});p.displayName="AddNewVolume";let u=o.memo(e=>{let{refHashCtrl:n,mountPathCtrl:t,useLatestCtrl:a,handleRemove:o}=(0,d.Ox)(e);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(N,{children:"Link existing volumes to your web3 function by pasting the reference hash associated with each volume. Volumes are an essential component for managing dependencies within your application."}),(0,i.jsxs)(s.Z,{children:[(0,i.jsx)("div",{children:(0,i.jsx)(l.oi,{...t.field,...t.fieldState,label:"Mount",placeholder:"/mount/opt"})}),(0,i.jsx)(C,{children:(0,i.jsx)(l.oi,{...n.field,...n.fieldState,label:"Item hash",placeholder:"3335ad270a571b..."})}),(0,i.jsx)(S,{children:(0,i.jsx)(l.XZ,{...a.field,...a.fieldState,checked:!!a.field.value,label:"Always update to the latest version"})}),o&&(0,i.jsx)(m,{onRemove:o})]})]})});u.displayName="AddExistingVolume";let f=o.memo(e=>{let{nameCtrl:n,mountPathCtrl:t,sizeCtrl:a,sizeValue:o,isFake:r,sizeHandleChange:c,handleRemove:p}=(0,d.BB)(e);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(P,{children:"Create and configure persistent storage for your web3 functions, enabling your application to maintain data across multiple invocations or sessions. You can set up a customized storage solution tailored to your application's requirements."}),(0,i.jsxs)(s.Z,{children:[(0,i.jsx)("div",{children:(0,i.jsx)(l.oi,{...n.field,...n.fieldState,disabled:r,label:"Volume name",placeholder:"Redis volume"})}),(0,i.jsx)(I,{children:(0,i.jsx)(l.oi,{...t.field,...t.fieldState,disabled:r,label:"Mount",placeholder:"/mount/opt"})}),(0,i.jsx)(Z,{children:(0,i.jsx)(l.oi,{...a.field,...a.fieldState,disabled:r,value:o,onChange:c,type:"number",label:"Size (GB)",placeholder:"0"})}),!r&&p&&(0,i.jsx)(m,{onRemove:p})]})]})});f.displayName="AddPersistentVolume";let h={[r.z.New]:p,[r.z.Existing]:u,[r.z.Persistent]:f},g=o.memo(e=>{let{volumeTypeCtrl:n,isFake:t,defaultValue:a,...s}=(0,d.Kn)(e),c=n.field.value,m=(0,o.useMemo)(()=>h[c],[c]),p=(0,o.useMemo)(()=>t?[{id:r.z.Persistent,name:"System Volume"}]:[{id:r.z.New,name:"New volume"},{id:r.z.Existing,name:"Existing volume"},{id:r.z.Persistent,name:"Persistent Storage"}],[t]);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(T,{children:(0,i.jsx)(l.mQ,{selected:c,align:"left",onTabChange:n.field.onChange,tabs:p})}),(0,i.jsx)("div",{role:"tabpanel",children:(0,i.jsx)(m,{...s,defaultValue:a})})]})});g.displayName="AddVolume",n.ZP=g;var x=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv",componentId:"sc-de6qwa-0"})({marginTop:"1rem",paddingTop:"1.5rem",textAlign:"right"}),v=(0,a.ZP)("p").withConfig({displayName:"cmp___StyledP",componentId:"sc-de6qwa-1"})({marginBottom:"1.5rem",marginTop:"0.25rem"}),y=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv2",componentId:"sc-de6qwa-2"})({paddingTop:"1rem",paddingBottom:"1rem"}),j=(0,a.ZP)(l.JO).withConfig({displayName:"cmp___StyledIcon",componentId:"sc-de6qwa-3"})({marginLeft:"1rem"}),_=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv3",componentId:"sc-de6qwa-4"})({marginTop:"1rem"}),w=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv4",componentId:"sc-de6qwa-5"})({marginTop:"1rem"}),b=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv5",componentId:"sc-de6qwa-6"})({marginTop:"1rem",paddingTop:"1rem",paddingBottom:"1rem"}),N=(0,a.ZP)("p").withConfig({displayName:"cmp___StyledP2",componentId:"sc-de6qwa-7"})({marginBottom:"1.5rem",marginTop:"0.25rem"}),C=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv6",componentId:"sc-de6qwa-8"})({marginTop:"1rem"}),S=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv7",componentId:"sc-de6qwa-9"})({marginTop:"1rem",paddingTop:"1rem",paddingBottom:"1rem"}),P=(0,a.ZP)("p").withConfig({displayName:"cmp___StyledP3",componentId:"sc-de6qwa-10"})({marginBottom:"1.5rem"}),I=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv8",componentId:"sc-de6qwa-11"})({marginTop:"1rem"}),Z=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv9",componentId:"sc-de6qwa-12"})({marginTop:"1rem"}),T=(0,a.ZP)("div").withConfig({displayName:"cmp___StyledDiv10",componentId:"sc-de6qwa-13"})({paddingLeft:"0px",paddingRight:"0px",paddingBottom:"0.75rem",paddingTop:"1.5rem"})},53871:function(e,n,t){t.d(n,{l:function(){return r},Z:function(){return s}});var i=t(85893),a=t(19521);let l=a.ZP.form.withConfig({displayName:"styles__StyledForm",componentId:"sc-faebcb-0"})(["",""],{display:"flex",flex:"1 1 0%",flexDirection:"column"});var o=t(3837),d=t(2915);let r=e=>{let{children:n,onSubmit:t,errors:a}=e;return(0,i.jsxs)(l,{onSubmit:t,children:[n,(0,i.jsx)(d.Z,{children:(null==a?void 0:a.root)&&Object.values(a.root).map(e=>(0,i.jsx)(o.Xq,{error:e},e+""))})]})};var s=r},78512:function(e,n,t){t.d(n,{Z:function(){return o}});var i=t(67294),a=t(11163),l=t(36470);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",[n]=(0,l.mr)(),t=(0,a.useRouter)();(0,i.useEffect)(()=>{n.account||t.replace(e)})}},10159:function(e,n,t){t.d(n,{c:function(){return d}});var i=t(67294),a=t(47291),l=t(87536),o=t(1604);function d(e){let{onSubmit:n,...t}=e,d=(0,l.cI)(t),[r,{onLoad:s,onSuccess:c,onError:m}]=(0,a.g)(),p=(0,i.useCallback)(async e=>{try{s();let t=await n(e);c(t)}catch(n){let e=n instanceof o.jm?Error("Validation error, check highlighted form fields"):(null==n?void 0:n.cause)||n;d.setError("root.serverError",{...e,message:null==e?void 0:e.message}),m(e)}},[d,m,s,n,c]),u=(0,i.useCallback)(async e=>{let n;if(console.log(e),!n){let t=function e(n){let[t]=Object.entries(n);if(!t)return;let[i,a]=t;if(Array.isArray(a)){let n=a[a.length-1];return e(n)}return[i,a]}(e);if(t){let[e,i]=t,a="string"==typeof i?i:(null==i?void 0:i.message)?": ".concat(i.message):(null==i?void 0:i.type)?': "'.concat(null==i?void 0:i.type,'" validation not satisfied'):"";n=Error('Error on field "'.concat(e,'"').concat(a))}}n||(n=Error("Validation error")),m(n)},[m]),f=(0,i.useMemo)(()=>d.handleSubmit(p,u),[d,p,u]);return{...d,requestState:r,handleSubmit:f}}},47291:function(e,n,t){t.d(n,{g:function(){return l}});var i=t(67294),a=t(3837);function l(){let{onSuccess:e,onError:n,onLoad:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=(0,a.lm)(),[o,d]=(0,i.useState)({data:null,loading:!1,error:null}),r=(0,i.useCallback)(n=>{function t(){l&&l.add({variant:"success",title:"Operation complete"})}return d({data:n,loading:!1,error:null}),e?e(n,t):t()},[l,e]),s=(0,i.useCallback)(e=>{function t(e){var n;let t=e.message,i=null===(n=null==e?void 0:e.cause)||void 0===n?void 0:n.message;l&&l.add({variant:"error",title:"Error",text:t,detail:i})}return d({data:null,loading:!1,error:e}),n?n(e,t):t(e)},[n,l]),c=(0,i.useCallback)(()=>{d({data:null,loading:!0,error:null}),t&&t()},[t]);return[o,{onSuccess:r,onError:s,onLoad:c}]}},98117:function(e,n,t){t.d(n,{BB:function(){return c},Kn:function(){return m},Ox:function(){return s},Yl:function(){return r},Yz:function(){return d}});var i=t(67294),a=t(34853),l=t(59925),o=t(87536);let d={volumeType:l.z.New};function r(e){let{name:n="",index:t,control:d,defaultValue:r,onRemove:s}=e,c=void 0===t?n:"".concat(n,".").concat(t),m=(0,o.bc)({control:d,name:"".concat(c,".file"),defaultValue:null==r?void 0:r.file}),p=(0,o.bc)({control:d,name:"".concat(c,".mountPath"),defaultValue:null==r?void 0:r.mountPath}),u=(0,o.bc)({control:d,name:"".concat(c,".useLatest"),defaultValue:null==r?void 0:r.useLatest}),{value:f}=m.field,h=(0,i.useMemo)(()=>{let e=l.l.getVolumeSize({volumeType:l.z.New,file:f});return(0,a.eB)(e,"MiB")},[f]);return{isStandAlone:void 0===t,fileCtrl:m,mountPathCtrl:p,useLatestCtrl:u,volumeSize:h,handleRemove:s}}function s(e){let{name:n="",index:t,control:i,defaultValue:a,onRemove:l}=e,d=(0,o.bc)({control:i,name:"".concat(n,".").concat(t,".refHash"),defaultValue:null==a?void 0:a.refHash}),r=(0,o.bc)({control:i,name:"".concat(n,".").concat(t,".mountPath"),defaultValue:null==a?void 0:a.mountPath}),s=(0,o.bc)({control:i,name:"".concat(n,".").concat(t,".useLatest"),defaultValue:null==a?void 0:a.useLatest});return{refHashCtrl:d,mountPathCtrl:r,useLatestCtrl:s,handleRemove:l}}function c(e){let{name:n="",index:t,control:l,defaultValue:d,onRemove:r}=e,s=(0,o.bc)({control:l,name:"".concat(n,".").concat(t,".name"),defaultValue:null==d?void 0:d.name}),c=(0,o.bc)({control:l,name:"".concat(n,".").concat(t,".mountPath"),defaultValue:null==d?void 0:d.mountPath}),m=(0,o.bc)({control:l,name:"".concat(n,".").concat(t,".size"),defaultValue:null==d?void 0:d.size}),p=(null==d?void 0:d.isFake)||!1,u=(0,i.useCallback)(e=>{let n=Number(e.target.value),t=(0,a.Fx)(n,{from:"GiB",to:"MiB",displayUnit:!1});m.field.onChange(t)},[m.field]),f=(0,i.useMemo)(()=>m.field.value?(0,a.Fx)(m.field.value,{from:"MiB",to:"GiB",displayUnit:!1}):void 0,[m.field]);return{nameCtrl:s,mountPathCtrl:c,sizeCtrl:m,sizeValue:f,isFake:p,sizeHandleChange:u,handleRemove:r}}function m(e){let{name:n="volumes",index:t,control:a,defaultValue:d,onRemove:r}=e,s=void 0===t?n:"".concat(n,".").concat(t),c=(0,o.bc)({control:a,name:"".concat(s,".volumeType"),defaultValue:l.z.New}),m=(null==d?void 0:d.isFake)||!1,p=(0,i.useCallback)(()=>{r&&r(t)},[t,r]);return{name:n,index:t,control:a,volumeTypeCtrl:c,defaultValue:d,isFake:m,onRemove:p}}}}]); \ No newline at end of file diff --git a/_next/static/YTOLPbk6QroXC848zGajW/_buildManifest.js b/_next/static/tDUyZEV9Z8z50W4X7Kmf9/_buildManifest.js similarity index 94% rename from _next/static/YTOLPbk6QroXC848zGajW/_buildManifest.js rename to _next/static/tDUyZEV9Z8z50W4X7Kmf9/_buildManifest.js index 857dfd36..ecb3145c 100644 --- a/_next/static/YTOLPbk6QroXC848zGajW/_buildManifest.js +++ b/_next/static/tDUyZEV9Z8z50W4X7Kmf9/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(a,s,d){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/959-e8a0c6e4bd48e870.js","static/chunks/pages/index-d6a5418e2471f4cc.js"],"/_error":["static/chunks/pages/_error-3f6d1c55bb8051ab.js"],"/dashboard":["static/chunks/pages/dashboard-b1c88f6ce0a32e86.js"],"/dashboard/domain":[a,"static/chunks/pages/dashboard/domain-cac5589a98b93b13.js"],"/dashboard/function":[a,s,d,"static/chunks/pages/dashboard/function-c44e92275c55f329.js"],"/dashboard/instance":[a,s,d,"static/chunks/pages/dashboard/instance-609017f39ef681ab.js"],"/dashboard/manage":["static/chunks/505-fb3bad9cf4b7c7a0.js","static/chunks/pages/dashboard/manage-bffddaba35fc231e.js"],"/dashboard/ssh":[a,"static/chunks/pages/dashboard/ssh-196d808aae1312b5.js"],"/dashboard/volume":[a,s,"static/chunks/pages/dashboard/volume-ea729dd6fe6958c7.js"],sortedPages:["/","/_app","/_error","/dashboard","/dashboard/domain","/dashboard/function","/dashboard/instance","/dashboard/manage","/dashboard/ssh","/dashboard/volume"]}}("static/chunks/312-c3d55ed23e746361.js","static/chunks/55-6181269db7d27fc3.js","static/chunks/253-d47f4590c2cdf1ee.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(a,s,d){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/959-e8a0c6e4bd48e870.js","static/chunks/pages/index-d6a5418e2471f4cc.js"],"/_error":["static/chunks/pages/_error-3f6d1c55bb8051ab.js"],"/dashboard":["static/chunks/pages/dashboard-b1c88f6ce0a32e86.js"],"/dashboard/domain":[a,"static/chunks/pages/dashboard/domain-cac5589a98b93b13.js"],"/dashboard/function":[a,s,d,"static/chunks/pages/dashboard/function-c44e92275c55f329.js"],"/dashboard/instance":[a,s,d,"static/chunks/pages/dashboard/instance-609017f39ef681ab.js"],"/dashboard/manage":["static/chunks/505-fb3bad9cf4b7c7a0.js","static/chunks/pages/dashboard/manage-bffddaba35fc231e.js"],"/dashboard/ssh":[a,"static/chunks/pages/dashboard/ssh-196d808aae1312b5.js"],"/dashboard/volume":[a,s,"static/chunks/pages/dashboard/volume-ea729dd6fe6958c7.js"],sortedPages:["/","/_app","/_error","/dashboard","/dashboard/domain","/dashboard/function","/dashboard/instance","/dashboard/manage","/dashboard/ssh","/dashboard/volume"]}}("static/chunks/312-c3d55ed23e746361.js","static/chunks/55-7b9f4803ccd87db6.js","static/chunks/253-d47f4590c2cdf1ee.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/YTOLPbk6QroXC848zGajW/_ssgManifest.js b/_next/static/tDUyZEV9Z8z50W4X7Kmf9/_ssgManifest.js similarity index 100% rename from _next/static/YTOLPbk6QroXC848zGajW/_ssgManifest.js rename to _next/static/tDUyZEV9Z8z50W4X7Kmf9/_ssgManifest.js diff --git a/dashboard/domain/index.html b/dashboard/domain/index.html index 4a6cb78a..6b8242aa 100644 --- a/dashboard/domain/index.html +++ b/dashboard/domain/index.html @@ -1,4 +1,4 @@ -

A domain should be linked to an existing resource. Try to create an instance or function first

\ No newline at end of file +

A domain should be linked to an existing resource. Try to create an instance or function first

\ No newline at end of file diff --git a/dashboard/function/index.html b/dashboard/function/index.html index 67eadf0e..2fdd3d8b 100644 --- a/dashboard/function/index.html +++ b/dashboard/function/index.html @@ -1,4 +1,4 @@ -

01Code to execute

If your code has any dependencies, you can upload them separately in the volume section below to ensure a faster creation.

To get started you can start adding your code in the window below.

Loading...
Learn more

02Select runtime

Select the optimal environment for executing your functions, tailored to your specific requirements. Below are the available options

03Type of scheduling

Configure if this program should be running continuously, persistent, or only on-demand in response to a user request or an event.

04Select an instance size

Select the hardware resources allocated to your functions, ensuring optimal performance and efficient resource usage tailored to your specific needs.

Cores
Memory
Hold
1 x86 64bit2.00 GB200 ALEPH
2 x86 64bit4.00 GB400 ALEPH
4 x86 64bit8.00 GB800 ALEPH
6 x86 64bit12.00 GB1200 ALEPH
8 x86 64bit16.00 GB1600 ALEPH
12 x86 64bit24.00 GB2400 ALEPH

05Name and tags

Organize and identify your functions more effectively by assigning a unique name, obtaining a hash reference, and defining multiple tags. This helps streamline your development process and makes it easier to manage your web3 functions.

Function name
Tags

06Add volumes

Good news! Your selected package already includes 2.00 GB of storage at no additional cost. Feel free to add it here.
Learn more

07Add environment variables

Define key-value pairs that act as configuration settings for your web3 function. Environment variables offer a convenient way to store information, manage configurations, and modify your application's behaviour without altering the source code.

08Custom domain

Configure a user-friendly domain name for your web3 function, providing a more accessible and professional way for users to interact with your application.

Estimated holding requirements

This amount needs to be present in your wallet until the function is removed. Tokens won't be locked nor consumed. The function will be garbage collected once funds are removed from the wallet.

UNLOCKED
current wallet
0 ALEPH
FUNCTION
1x86-64bit.2GB-RAM
200.0 ALEPH
TYPE
on-demand
-
Total
200.0 ALEPH
\ No newline at end of file +

01Code to execute

If your code has any dependencies, you can upload them separately in the volume section below to ensure a faster creation.

To get started you can start adding your code in the window below.

Loading...
Learn more

02Select runtime

Select the optimal environment for executing your functions, tailored to your specific requirements. Below are the available options

03Type of scheduling

Configure if this program should be running continuously, persistent, or only on-demand in response to a user request or an event.

04Select an instance size

Select the hardware resources allocated to your functions, ensuring optimal performance and efficient resource usage tailored to your specific needs.

Cores
Memory
Hold
1 x86 64bit2.00 GB200 ALEPH
2 x86 64bit4.00 GB400 ALEPH
4 x86 64bit8.00 GB800 ALEPH
6 x86 64bit12.00 GB1200 ALEPH
8 x86 64bit16.00 GB1600 ALEPH
12 x86 64bit24.00 GB2400 ALEPH

05Name and tags

Organize and identify your functions more effectively by assigning a unique name, obtaining a hash reference, and defining multiple tags. This helps streamline your development process and makes it easier to manage your web3 functions.

Function name
Tags

06Add volumes

Good news! Your selected package already includes 2.00 GB of storage at no additional cost. Feel free to add it here.
Learn more

07Add environment variables

Define key-value pairs that act as configuration settings for your web3 function. Environment variables offer a convenient way to store information, manage configurations, and modify your application's behaviour without altering the source code.

08Custom domain

Configure a user-friendly domain name for your web3 function, providing a more accessible and professional way for users to interact with your application.

Estimated holding requirements

This amount needs to be present in your wallet until the function is removed. Tokens won't be locked nor consumed. The function will be garbage collected once funds are removed from the wallet.

UNLOCKED
current wallet
0 ALEPH
FUNCTION
1x86-64bit.2GB-RAM
200.0 ALEPH
TYPE
on-demand
-
Total Staked
200.0 ALEPH
\ No newline at end of file diff --git a/dashboard/index.html b/dashboard/index.html index 5f5c2feb..486ae3a9 100644 --- a/dashboard/index.html +++ b/dashboard/index.html @@ -1,4 +1,4 @@ -

Acquire aleph.im tokens for versatile access to resources within a defined duration. These tokens remain in your wallet without being locked or consumed, providing you with flexibility in utilizing aleph.im's infrastructure. If you choose to remove the tokens from your wallet, the allocated resources will be efficiently reclaimed. Feel free to use or hold the tokens according to your needs, even when not actively using Aleph.im's resources.

\ No newline at end of file +

Acquire aleph.im tokens for versatile access to resources within a defined duration. These tokens remain in your wallet without being locked or consumed, providing you with flexibility in utilizing aleph.im's infrastructure. If you choose to remove the tokens from your wallet, the allocated resources will be efficiently reclaimed. Feel free to use or hold the tokens according to your needs, even when not actively using Aleph.im's resources.

\ No newline at end of file diff --git a/dashboard/instance/index.html b/dashboard/instance/index.html index 06cad81f..b6d9fca5 100644 --- a/dashboard/instance/index.html +++ b/dashboard/instance/index.html @@ -1,4 +1,4 @@ -

01Choose an image

Chose a base image for your VM. It’s the base system that you will be able to customize.

Debian 11 “Bullseye” image image logoDebian 11 “Bullseye”
Debian 12 “Bookworm” image image logoDebian 12 “Bookworm”
Ubuntu 22.04 LTS image image logoUbuntu 22.04 LTS

02Select an instance size

Please select one of the available instance size as a base for your VM. You will be able to customize the volumes later.

Cores
Memory
Storage
Hold
1 x86 64bit2.00 GB20.00 GB2000 ALEPH
2 x86 64bit4.00 GB40.00 GB4000 ALEPH
4 x86 64bit8.00 GB80.00 GB8000 ALEPH
6 x86 64bit12.00 GB120.00 GB12000 ALEPH
8 x86 64bit16.00 GB160.00 GB16000 ALEPH
12 x86 64bit24.00 GB240.00 GB24000 ALEPH

03Add volumes

Create and configure persistent storage for your web3 functions, enabling your application to maintain data across multiple invocations or sessions. You can set up a customized storage solution tailored to your application's requirements.

Volume name
Mount
Size (GB)
Learn more

04Configure SSH Key

Access your cloud instances securely. Give existing key’s below access to this instance or add new keys. Remember, storing private keys safely is crucial for security. If you need help, our support team is always ready to assist.

05Add environment variables

Define key-value pairs that act as configuration settings for your web3 instance. Environment variables offer a convenient way to store information, manage configurations, and modify your application's behaviour without altering the source code.

06Custom domain

You have the ability to configure a domain name to access your cloud instances. By setting up a user-friendly custom domain, accessing your instances becomes easier and more intuitive. It&s another way we&re making web3 cloud management as straightforward as possible.

07Name and tags

Organize and identify your instances more effectively by assigning a unique name, obtaining a hash reference, and defining multiple tags. This helps streamline your development process and makes it easier to manage your web3 instances.

Instance name
Tags

Estimated holding requirements

This amount needs to be present in your wallet until the instance is removed. Tokens won't be locked nor consumed. The instance will be garbage collected once funds are removed from the wallet.

UNLOCKED
current wallet
0 ALEPH
INSTANCE
1x86-64bit.2GB-RAM.20GB-HDD
2.0K ALEPH
Total
2.0K ALEPH
\ No newline at end of file +data-styled.g246[id="cmp___StyledP2-sc-a5vd7w-15"]{content:"iGJVci,"}/*!sc*/ +

01Choose an image

Chose a base image for your VM. It’s the base system that you will be able to customize.

Debian 11 “Bullseye” image image logoDebian 11 “Bullseye”
Debian 12 “Bookworm” image image logoDebian 12 “Bookworm”
Ubuntu 22.04 LTS image image logoUbuntu 22.04 LTS

02Select an instance size

Please select one of the available instance size as a base for your VM. You will be able to customize the volumes later.

Cores
Memory
Storage
Hold
1 x86 64bit2.00 GB20.00 GB2000 ALEPH
2 x86 64bit4.00 GB40.00 GB4000 ALEPH
4 x86 64bit8.00 GB80.00 GB8000 ALEPH
6 x86 64bit12.00 GB120.00 GB12000 ALEPH
8 x86 64bit16.00 GB160.00 GB16000 ALEPH
12 x86 64bit24.00 GB240.00 GB24000 ALEPH

03Add volumes

Create and configure persistent storage for your web3 functions, enabling your application to maintain data across multiple invocations or sessions. You can set up a customized storage solution tailored to your application's requirements.

Volume name
Mount
Size (GB)
Learn more

04Configure SSH Key

Access your cloud instances securely. Give existing key’s below access to this instance or add new keys. Remember, storing private keys safely is crucial for security. If you need help, our support team is always ready to assist.

05Add environment variables

Define key-value pairs that act as configuration settings for your web3 instance. Environment variables offer a convenient way to store information, manage configurations, and modify your application's behaviour without altering the source code.

06Custom domain

You have the ability to configure a domain name to access your cloud instances. By setting up a user-friendly custom domain, accessing your instances becomes easier and more intuitive. It&s another way we&re making web3 cloud management as straightforward as possible.

07Name and tags

Organize and identify your instances more effectively by assigning a unique name, obtaining a hash reference, and defining multiple tags. This helps streamline your development process and makes it easier to manage your web3 instances.

Instance name
Tags

Estimated holding requirements

This amount needs to be present in your wallet until the instance is removed. Tokens won't be locked nor consumed. The instance will be garbage collected once funds are removed from the wallet.

UNLOCKED
current wallet
0 ALEPH
INSTANCE
1x86-64bit.2GB-RAM.20GB-HDD
2.0K ALEPH
Total Staked
2.0K ALEPH
\ No newline at end of file diff --git a/dashboard/manage/index.html b/dashboard/manage/index.html index a546c96d..d4691f17 100644 --- a/dashboard/manage/index.html +++ b/dashboard/manage/index.html @@ -1,4 +1,4 @@ -
Loading...
\ No newline at end of file +data-styled.g368[id="cmp___StyledNoisyContainer-sc-u79f6i-0"]{content:"gXbaSo,"}/*!sc*/ +
Loading...
\ No newline at end of file diff --git a/dashboard/ssh/index.html b/dashboard/ssh/index.html index 2e046a60..5e183cb0 100644 --- a/dashboard/ssh/index.html +++ b/dashboard/ssh/index.html @@ -1,4 +1,4 @@ -

01Configure SSH Key

Access your cloud instances securely. Give existing key’s below access to this instance or add new keys. Remember, storing private keys safely is crucial for security. If you need help, our support team is always ready to assist.

SSH Public Key
Label
\ No newline at end of file +data-styled.g146[id="cmp___StyledDiv2-sc-16fsdtu-4"]{content:"bYUixU,"}/*!sc*/ +

01Configure SSH Key

Access your cloud instances securely. Give existing key’s below access to this instance or add new keys. Remember, storing private keys safely is crucial for security. If you need help, our support team is always ready to assist.

SSH Public Key
Label
\ No newline at end of file diff --git a/dashboard/volume/index.html b/dashboard/volume/index.html index 2c1e127e..3cf4e143 100644 --- a/dashboard/volume/index.html +++ b/dashboard/volume/index.html @@ -1,4 +1,4 @@ -

01Add volume

Create and configure new volumes for your web3 function by either uploading a dependency file or a squashfs volume. Volumes play a crucial role in managing dependencies and providing a volume within your application.

Estimated holding requirements

This amount needs to be present in your wallet until the volume is removed. Tokens won 't be locked nor consumed. The volume will be garbage collected once funds are removed from the wallet.

UNLOCKED
current wallet
0 ALEPH
STORAGEVOLUME
-
0 ALEPH
Total
0 ALEPH
\ No newline at end of file +data-styled.g180[id="cmp___StyledSection-sc-1jshimy-0"]{content:"iZTXZy,"}/*!sc*/ +

01Add volume

Create and configure new volumes for your web3 function by either uploading a dependency file or a squashfs volume. Volumes play a crucial role in managing dependencies and providing a volume within your application.

Estimated holding requirements

This amount needs to be present in your wallet until the volume is removed. Tokens won 't be locked nor consumed. The volume will be garbage collected once funds are removed from the wallet.

UNLOCKED
current wallet
0 ALEPH
STORAGEVOLUME
-
0 ALEPH
Total Staked
0 ALEPH
\ No newline at end of file diff --git a/index.html b/index.html index 7daf43c2..2294cfcb 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ -Aleph.im | Cloud Solutions

Infrastructure solutions

Aleph.im offers cutting-edge computing and storage solutions for your web3 needs. Our unique payment model supports the holder tier, allowing you to use our services simply by holding ALEPH tokens in your wallet. The longer you hold the tokens, the longer you can enjoy our services without any additional payment. Discover the power of Aleph.im’s solutions today and experience cost-effective and reliable web3 cloud services like never before.

ComputingSolutions

With Aleph.im's computing services, you can process data quickly and securely using on-demand and persistent functions, virtual machine instances, and confidential VMs.

Function

An isolated environment created for a function to execute in response to an event and can run in two modes: on-demand or persistent.

Instance

A virtual machine that runs on a Aleph.im's infrastructure and can be configured with CPUs, memory, storage, and networking.

Confidential VM

A virtual machine running for an extended period with their memory, storage, and execution fully encrypted and isolated from the host.

Indexing illustration
SOLANA - ETHEREUM - BINANCE SMART CHAIN

Indexing framework

Consider using the Aleph Indexer Framework for indexing blockchain data. It's open-source, multi-chain, and provides an easy-to-use solution for building high-performance, decentralized indexers on Aleph.im's infrastructure.

Get in touch with us

StorageSolutions

With support for immutable, temporary, and persistent volumes, as well as databases using key-value pairs, Aleph.im provides a flexible and powerful storage solution for a wide range of use cases.

Immutable volume

Immutable volumes store unchangeable data on IPFS, pinned to multiple nodes for reliable access and reproducible execution.

Dependencies volume

Package your dependencies to an immutable volume upfront to reference it easily and speed up creation time of an instance or function.

IPFS pinning

Avoid data being removed or garbage collected using the decentralized pinning solution, and ensure your data stay persistent.

Temporarily volume

A volume that is created temporarily to hold data or files for a short period of time. After this time the volume is deleted.

\ No newline at end of file +data-styled.g398[id="cmp___StyledTextGradient2-sc-1g24l22-21"]{content:"OPLDI,"}/*!sc*/ +

Infrastructure solutions

Aleph.im offers cutting-edge computing and storage solutions for your web3 needs. Our unique payment model supports the holder tier, allowing you to use our services simply by holding ALEPH tokens in your wallet. The longer you hold the tokens, the longer you can enjoy our services without any additional payment. Discover the power of Aleph.im’s solutions today and experience cost-effective and reliable web3 cloud services like never before.

ComputingSolutions

With Aleph.im's computing services, you can process data quickly and securely using on-demand and persistent functions, virtual machine instances, and confidential VMs.

Function

An isolated environment created for a function to execute in response to an event and can run in two modes: on-demand or persistent.

Instance

A virtual machine that runs on a Aleph.im's infrastructure and can be configured with CPUs, memory, storage, and networking.

Confidential VM

A virtual machine running for an extended period with their memory, storage, and execution fully encrypted and isolated from the host.

Indexing illustration
SOLANA - ETHEREUM - BINANCE SMART CHAIN

Indexing framework

Consider using the Aleph Indexer Framework for indexing blockchain data. It's open-source, multi-chain, and provides an easy-to-use solution for building high-performance, decentralized indexers on Aleph.im's infrastructure.

Get in touch with us

StorageSolutions

With support for immutable, temporary, and persistent volumes, as well as databases using key-value pairs, Aleph.im provides a flexible and powerful storage solution for a wide range of use cases.

Immutable volume

Immutable volumes store unchangeable data on IPFS, pinned to multiple nodes for reliable access and reproducible execution.

Dependencies volume

Package your dependencies to an immutable volume upfront to reference it easily and speed up creation time of an instance or function.

IPFS pinning

Avoid data being removed or garbage collected using the decentralized pinning solution, and ensure your data stay persistent.

Temporarily volume

A volume that is created temporarily to hold data or files for a short period of time. After this time the volume is deleted.

\ No newline at end of file