diff --git a/index-3f8cc70fa936f559.js.download b/index-3f8cc70fa936f559.js.download new file mode 100644 index 0000000000..90b10d697b --- /dev/null +++ b/index-3f8cc70fa936f559.js.download @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{7741:function(e,t,r){"use strict";r.d(t,{zx:function(){return p}});var n=r(7294),o=r(6734),i=r(5818),a=r(4520),l=r(8387),s=r(5610),d=(...e)=>e.filter(Boolean).join(" "),c=e=>e?"":void 0,[x,h]=(0,l.k)({strict:!1,name:"ButtonGroupContext"});function m(e){let{children:t,className:r,...o}=e,a=(0,n.isValidElement)(t)?(0,n.cloneElement)(t,{"aria-hidden":!0,focusable:!1}):t,l=d("chakra-button__icon",r);return n.createElement(i.m$.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...o,className:l},a)}function u(e){let{label:t,placement:r,spacing:o="0.5rem",children:a=n.createElement(s.$,{color:"currentColor",width:"1em",height:"1em"}),className:l,__css:c,...x}=e,h=d("chakra-button__spinner",l),m="start"===r?"marginEnd":"marginStart",u=(0,n.useMemo)(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[m]:t?o:0,fontSize:"1em",lineHeight:"normal",...c}),[c,t,m,o]);return n.createElement(i.m$.div,{className:h,...x,__css:u},a)}m.displayName="ButtonIcon",u.displayName="ButtonSpinner";var p=(0,i.Gp)((e,t)=>{let r=h(),l=(0,i.mq)("Button",{...r,...e}),{isDisabled:s=null==r?void 0:r.isDisabled,isLoading:x,isActive:m,children:p,leftIcon:j,rightIcon:g,loadingText:y,iconSpacing:f="0.5rem",type:v,spinner:k,spinnerPlacement:S="start",className:C,as:E,...q}=(0,a.Lr)(e),_=(0,n.useMemo)(()=>{let e={...null==l?void 0:l._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...l,...!!r&&{_focus:e}}},[l,r]),{ref:w,type:B}=function(e){let[t,r]=(0,n.useState)(!e);return{ref:(0,n.useCallback)(e=>{e&&r("BUTTON"===e.tagName)},[]),type:t?"button":void 0}}(E),G={rightIcon:g,leftIcon:j,iconSpacing:f,children:p};return n.createElement(i.m$.button,{disabled:s||x,ref:(0,o.qq)(t,w),as:E,type:v??B,"data-active":c(m),"data-loading":c(x),__css:_,className:d("chakra-button",C),...q},x&&"start"===S&&n.createElement(u,{className:"chakra-button__spinner--start",label:y,placement:"start",spacing:f},k),x?y||n.createElement(i.m$.span,{opacity:0},n.createElement(b,{...G})):n.createElement(b,{...G}),x&&"end"===S&&n.createElement(u,{className:"chakra-button__spinner--end",label:y,placement:"end",spacing:f},k))});function b(e){let{leftIcon:t,rightIcon:r,children:o,iconSpacing:i}=e;return n.createElement(n.Fragment,null,t&&n.createElement(m,{marginEnd:i},t),o,r&&n.createElement(m,{marginStart:i},r))}p.displayName="Button",(0,i.Gp)(function(e,t){let{size:r,colorScheme:o,variant:a,className:l,spacing:s="0.5rem",isAttached:c,isDisabled:h,...m}=e,u=d("chakra-button__group",l),p=(0,n.useMemo)(()=>({size:r,colorScheme:o,variant:a,isDisabled:h}),[r,o,a,h]),b={display:"inline-flex"};return b=c?{...b,"> *:first-of-type:not(:last-of-type)":{borderEndRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderStartRadius:0}}:{...b,"& > *:not(style) ~ *:not(style)":{marginStart:s}},n.createElement(x,{value:p},n.createElement(i.m$.div,{ref:t,role:"group",__css:b,className:u,"data-attached":c?"":void 0,...m}))}).displayName="ButtonGroup",(0,i.Gp)((e,t)=>{let{icon:r,children:o,isRound:i,"aria-label":a,...l}=e,s=r||o,d=(0,n.isValidElement)(s)?(0,n.cloneElement)(s,{"aria-hidden":!0,focusable:!1}):null;return n.createElement(p,{padding:"0",borderRadius:i?"full":void 0,ref:t,"aria-label":a,...l},d)}).displayName="IconButton"},8312:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return r(4358)}])},4358:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return g}});var n=r(5893),o=r(7927),i=r(7741),a=r(1664),l=r.n(a),s=r(1525);let d=()=>(0,n.jsxs)(o.Kq,{border:"2px solid",borderColor:"primary",px:4,py:{base:8,md:24,lg:48},flexGrow:1,children:[(0,n.jsxs)(o.xu,{mb:4,children:[(0,n.jsx)(o.xu,{as:"h1",textStyle:"h1",mb:{base:2,md:4},textAlign:{base:"center",md:"left"},fontSize:{base:"2.75rem",md:"8xl"},lineHeight:{base:"3.375rem",md:"6rem"},fontWeight:{base:700,md:500},children:"go-ethereum"}),(0,n.jsx)(o.xv,{textStyle:"homepage-description",children:"Official Go implementation of the Ethereum protocol"})]}),(0,n.jsxs)(o.kC,{direction:{base:"column",md:"row"},alignItems:{base:"center",md:"flex-start"},children:[(0,n.jsxs)(o.kC,{direction:"column",alignItems:"center",mr:{md:6},children:[(0,n.jsx)(l(),{href:s.Yz,passHref:!0,legacyBehavior:!0,children:(0,n.jsx)(i.zx,{variant:"primary",as:"a",mb:1,"data-group":!0,children:(0,n.jsx)(o.xv,{textStyle:"homepage-primary-label",children:"Download"})})}),(0,n.jsx)(o.xv,{mt:1,mb:5,textStyle:"hero-text-small",children:"Get our latest releases"})]}),(0,n.jsxs)(o.kC,{direction:"column",alignItems:"center",children:[(0,n.jsx)(l(),{href:s.TM,passHref:!0,legacyBehavior:!0,children:(0,n.jsx)(i.zx,{variant:"primary",as:"a",mb:1,"data-group":!0,children:(0,n.jsx)(o.xv,{textStyle:"homepage-primary-label",children:"Documentation"})})}),(0,n.jsx)(o.xv,{mt:1,textStyle:"hero-text-small",children:"Read our documentation"})]})]})]});var c=r(5805);let x=e=>{let{Svg:t,ariaLabel:r,sectionTitle:i,linkLabel:a,buttonHref:l,children:s}=e;return(0,n.jsxs)(o.Kq,{border:"2px solid",borderColor:"primary",h:"100%",children:[t&&(0,n.jsx)(o.Kq,{alignItems:"center",p:4,borderBottom:"2px solid",borderColor:"primary",children:(0,n.jsx)(t,{"aria-label":r})}),(0,n.jsx)(o.Kq,{p:4,borderBottom:"2px solid",borderColor:"primary",sx:{mt:"0 !important"},children:(0,n.jsx)(o.xu,{as:"h2",textStyle:"h2",children:i})}),(0,n.jsx)(o.Kq,{p:4,spacing:4,borderBottom:"2px solid",borderColor:"primary",sx:{mt:"0 !important"},h:"100%",children:s}),(0,n.jsx)(c.dv,{href:l,children:a})]})};var h=r(726);let m=e=>{let{children:t}=e;return(0,n.jsxs)(o.Kq,{border:"2px",borderColor:"primary",children:[(0,n.jsxs)(o.rj,{templateColumns:{base:"repeat(1, 1fr)",md:"repeat(2, 1fr)"},borderBottom:"2px",borderColor:"primary",children:[(0,n.jsxs)(o.P4,{order:{base:2,md:1},borderRight:{base:"none",md:"2px"},borderColor:"primary !important",children:[(0,n.jsx)(o.Kq,{p:4,borderBottom:"2px",borderColor:"primary",sx:{mt:"0 !important"},children:(0,n.jsx)(o.xu,{as:"h2",textStyle:"h2",children:"What is Ethereum?"})}),(0,n.jsx)(o.Kq,{p:4,sx:{mt:"0 !important"},children:t})]}),(0,n.jsx)(o.P4,{order:{base:1,md:2},children:(0,n.jsx)(o.Kq,{justifyContent:"center",alignItems:"center",p:4,borderBottom:{base:"2px",md:"none"},borderColor:"primary",h:"100%",children:(0,n.jsx)(h.Z,{})})})]}),(0,n.jsx)(c.dv,{href:s.zJ,children:"Learn more on Ethereum.org"})]})};var u=r(743);let p=e=>{let{children:t}=e;return(0,n.jsxs)(o.Kq,{border:"2px solid",borderColor:"primary",children:[(0,n.jsxs)(o.rj,{templateColumns:{base:"repeat(1, 1fr)",md:"repeat(2, 1fr)"},borderBottom:{base:"none",md:"2px"},borderColor:"primary !important",children:[(0,n.jsxs)(o.P4,{order:{base:1,md:2},children:[(0,n.jsx)(o.Kq,{p:4,borderBottom:"2px",borderColor:"primary",sx:{mt:"0 !important"},children:(0,n.jsx)(o.xu,{as:"h2",textStyle:"h2",children:"Why run a node?"})}),(0,n.jsx)(o.Kq,{p:4,borderBottom:{base:"2px",md:"none"},borderColor:"primary",sx:{mt:"0 !important"},children:t})]}),(0,n.jsx)(o.P4,{rowSpan:2,children:(0,n.jsx)(o.Kq,{justifyContent:"center",alignItems:"center",p:4,borderBottom:{base:"2px",md:"none"},borderRight:{base:"none",md:"2px"},borderColor:"primary !important",h:"100%",children:(0,n.jsx)(u.A,{})})})]}),(0,n.jsx)(c.dv,{href:s.J5,children:"Read more about running a node"})]})},b=()=>(0,n.jsxs)(o.Kq,{border:"2px solid",borderColor:"primary",children:[(0,n.jsx)(o.Kq,{p:4,borderBottom:"2px solid",borderColor:"primary",children:(0,n.jsx)(o.xu,{as:"h2",textStyle:"h2",children:"Quick Links"})}),(0,n.jsxs)(o.rj,{templateColumns:{base:"repeat(2, 1fr)",md:"1fr auto"},sx:{mt:"0 !important"},children:[(0,n.jsx)(o.P4,{borderRight:"2px solid",borderBottom:"2px solid",borderColor:"primary",children:(0,n.jsxs)(o.Kq,{p:4,h:"100%",children:[(0,n.jsx)(o.xv,{textStyle:"quick-link-text",mb:-1,children:"Don't know where to start?"}),(0,n.jsx)(o.xv,{textStyle:"quick-link-text",children:"We can help."})]})}),(0,n.jsx)(o.P4,{borderBottom:"2px solid",borderColor:"primary",children:(0,n.jsx)(l(),{href:"".concat(s.TM,"/getting-started"),passHref:!0,legacyBehavior:!0,children:(0,n.jsx)(o.rU,{_hover:{textDecoration:"none"},children:(0,n.jsx)(o.Kq,{"data-group":!0,bg:"button-bg",_hover:{textDecoration:"none",bg:"primary",color:"bg"},_focus:{textDecoration:"none",bg:"primary",color:"bg",boxShadow:"inset 0 0 0 3px #f0f2e2 !important"},_active:{textDecoration:"none",bg:"secondary",color:"bg"},justifyContent:"center",h:"100%",p:4,children:(0,n.jsx)(o.xv,{textStyle:"quick-link-label",children:"Get started"})})})})}),(0,n.jsx)(o.P4,{borderRight:"2px solid",borderBottom:"2px solid",borderColor:"primary",children:(0,n.jsxs)(o.Kq,{p:4,h:"100%",children:[(0,n.jsx)(o.xv,{textStyle:"quick-link-text",mb:-1,children:"Have doubts?"}),(0,n.jsx)(o.xv,{textStyle:"quick-link-text",children:"Check the FAQ section in the documentation."})]})}),(0,n.jsx)(o.P4,{borderBottom:"2px solid",borderColor:"primary",children:(0,n.jsx)(l(),{href:s._r,passHref:!0,legacyBehavior:!0,children:(0,n.jsx)(o.rU,{_hover:{textDecoration:"none"},children:(0,n.jsx)(o.Kq,{"data-group":!0,bg:"button-bg",_hover:{textDecoration:"none",bg:"primary",color:"bg"},_focus:{textDecoration:"none",bg:"primary",color:"bg",boxShadow:"inset 0 0 0 3px var(--chakra-colors-bg) !important"},_active:{textDecoration:"none",bg:"secondary",color:"bg"},justifyContent:"center",h:"100%",p:4,children:(0,n.jsx)(o.xv,{textStyle:"quick-link-label",children:"Go to the FAQ"})})})})}),(0,n.jsx)(o.P4,{borderRight:"2px solid",borderColor:"primary",children:(0,n.jsxs)(o.Kq,{p:4,h:"100%",children:[(0,n.jsx)(o.xv,{textStyle:"quick-link-text",mb:-1,children:"Want to know how to contribute?"}),(0,n.jsx)(o.xv,{textStyle:"quick-link-text",children:"Get more information in the documentation."})]})}),(0,n.jsx)(o.P4,{children:(0,n.jsx)(l(),{href:s.$o,passHref:!0,legacyBehavior:!0,children:(0,n.jsx)(o.rU,{_hover:{textDecoration:"none"},children:(0,n.jsx)(o.Kq,{"data-group":!0,bg:"button-bg",_hover:{textDecoration:"none",bg:"primary",color:"bg"},_focus:{textDecoration:"none",bg:"primary",color:"bg",boxShadow:"inset 0 0 0 3px var(--chakra-colors-bg) !important"},_active:{textDecoration:"none",bg:"secondary",color:"bg"},justifyContent:"center",h:"100%",p:4,children:(0,n.jsx)(o.xv,{textStyle:"quick-link-label",children:"How to contribute"})})})})})]})]});var j=r(6886),g=e=>{let{}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(c.d,{title:s.IS.HOME_TITLE,description:s.IS.HOME_DESCRIPTION}),(0,n.jsx)("main",{id:"main-content",children:(0,n.jsxs)(o.Kq,{spacing:{base:4,lg:8},children:[(0,n.jsx)(d,{}),(0,n.jsxs)(o.rj,{templateColumns:{base:"repeat(1, 1fr)",lg:"repeat(2, 1fr)"},gap:{base:4,lg:8},children:[(0,n.jsx)(o.P4,{rowSpan:2,children:(0,n.jsxs)(x,{sectionTitle:"What is Geth?",linkLabel:"Get started with Geth",buttonHref:"".concat(s.TM,"/getting-started"),Svg:j.eZ,ariaLabel:"Gopher greeting",children:[(0,n.jsxs)(o.xv,{textStyle:"quick-link-text",children:["Geth (go-ethereum) is a"," ",(0,n.jsx)(o.rU,{href:s.lW,isExternal:!0,variant:"light","aria-label":"Go lang",children:"Go"})," ","implementation of"," ",(0,n.jsx)(o.rU,{href:s.zJ,isExternal:!0,variant:"light",children:"Ethereum"})," ","- a gateway into the decentralized web."]}),(0,n.jsx)(o.xv,{textStyle:"quick-link-text",children:"Geth has been a core part of Ethereum since the very beginning. Geth was one of the original Ethereum implementations making it the most battle-hardened and tested client."}),(0,n.jsxs)(o.xv,{textStyle:"quick-link-text",children:["Geth is an Ethereum"," ",(0,n.jsx)(o.xv,{as:"span",fontStyle:"italic",children:"execution client"})," ","meaning it handles transactions, deployment and execution of smart contracts and contains an embedded computer known as the"," ",(0,n.jsx)(o.xv,{as:"span",fontStyle:"italic",children:"Ethereum Virtual Machine"}),"."]}),(0,n.jsx)(o.xv,{textStyle:"quick-link-text",children:"Running Geth alongside a consensus client turns a computer into an Ethereum node."})]})}),(0,n.jsx)(o.P4,{children:(0,n.jsx)(m,{children:(0,n.jsx)(o.xv,{textStyle:"quick-link-text",children:"Ethereum is a technology for building apps and organizations, holding assets, transacting and communicating without being controlled by a central authority. It is the base of a new, decentralized internet."})})}),(0,n.jsx)(o.P4,{children:(0,n.jsxs)(p,{children:[(0,n.jsx)(o.xv,{textStyle:"quick-link-text",children:"Running your own node enables you to use Ethereum in a truly private, self-sufficient and trustless manner. You don't need to trust information you receive because you can verify the data yourself using your Geth instance."}),(0,n.jsx)(o.xv,{textStyle:"quick-link-text",fontWeight:700,children:"“Don't trust, verify”"})]})})]}),(0,n.jsxs)(o.rj,{templateColumns:{base:"repeat(1, 1fr)",md:"repeat(2, 1fr)"},gap:{base:4,lg:8},children:[(0,n.jsx)(o.P4,{children:(0,n.jsx)(x,{sectionTitle:"Contribute to Geth",linkLabel:"Read our contribution guidelines",buttonHref:s.$o,children:(0,n.jsxs)(o.xv,{textStyle:"quick-link-text",children:["We welcome contributions from anyone on the internet, and are grateful for even the smallest of fixes! If you'd like to contribute to the Geth source code, please fork the"," ",(0,n.jsx)(o.rU,{href:s.L9,isExternal:!0,variant:"light",children:"GitHub repository"}),", fix, commit and send a pull request for the maintainers to review and merge into the main code base."]})})}),(0,n.jsx)(o.P4,{children:(0,n.jsx)(x,{sectionTitle:"About the Team",linkLabel:"Read more about the Ethereum Foundation",buttonHref:s.s5,children:(0,n.jsx)(o.xv,{textStyle:"quick-link-text",children:"The Geth team comprises 10 developers distributed across the world. The Geth team is funded exclusively by The Ethereum Foundation."})})})]}),(0,n.jsxs)(o.rj,{templateColumns:{base:"1fr",md:"300px 1fr"},gap:{base:4,lg:8},children:[(0,n.jsx)(o.P4,{w:"auto",children:(0,n.jsx)(o.xu,{h:"100%",children:(0,n.jsx)(o.Kq,{justifyContent:"center",alignItems:"center",p:4,border:"2px solid",borderColor:"primary",h:"100%",children:(0,n.jsx)(j.F3,{})})})}),(0,n.jsx)(o.P4,{children:(0,n.jsx)(b,{})})]})]})})]})}}},function(e){e.O(0,[886,888,774,179],function(){return e(e.s=8312)}),_N_E=e.O()}]); \ No newline at end of file