import { Code, Link, ListItem, Stack, Text, UnorderedList, } from '@chakra-ui/react'; import type { NextPage } from 'next'; import { useState } from 'react' import { DownloadsHero, DownloadsSection, DownloadsTable, } from '../components/UI/downloads'; import { DataTable } from '../components/UI/DataTable'; import { GETH_REPO_URL } from '../constants' import { testDownloadData } from '../data/test/download-testdata' import { pgpBuildTestData } from '../data/test/pgpbuild-testdata'; import { pgpDeveloperTestData } from '../data/test/pgpdeveloper-testdata'; const DownloadsPage: NextPage = ({}) => { const [amountStableReleases, updateAmountStables] = useState(10) const [amountDevelopBuilds, updateAmountDevelopBuilds] = useState(10) return ( <> {/* TODO: add PageMetadata */}
{/* TODO: replace hardcoded strings with build information */} If you're looking for a specific release, operating system or architecture, below you will find: All stable and develop builds of Geth and tools Archives for non-primary processor architectures Android library archives and iOS XCode frameworks Please select your desired platform from the lists below and download your bundle of choice. Please be aware that the MD5 checksums are provided by our binary hosting platform (Azure Blobstore) to help check for download errors. For security guarantees please verify any downloads via the attached PGP signature files (see{' '} OpenPGP {' '} Signatures for details). These are the current and previous stable releases of go-ethereum, updated automatically when a new version is tagged in our{' '} GitHub repository. {/* TODO: swap test data for real data */} { updateAmountStables(amountStableReleases+10) }}> SHOW OLDER RELEASES These are the develop snapshots of go-ethereum, updated automatically when a new commit is pushed into our{' '} GitHub repository. {/* TODO: swap for real data */} { updateAmountDevelopBuilds(amountDevelopBuilds+10) }}> SHOW OLDER RELEASES All the binaries available from this page are signed via our build server PGP keys: {/* TODO: swap for real data */} {/* TODO: swap for real data */} You can import the build server public keys by grabbing the individual keys directly from the keyserver network: {/* TODO: These keys depends on the binary */} gpg --recv-keys F9585DE6 C2FF8BBF 9BA28146 7B9E2481 D2A67EAC Similarly you can import all the developer public keys by grabbing them directly from the keyserver network: {/* TODO: Thees are developer keys, do we need to change? */} gpg --recv-keys E058A81C 05A5DDF0 1CCB7DD2 From the download listings above you should see a link both to the downloadable archives as well as detached signature files. To verify the authenticity of any downloaded data, grab both files and then run: {/* TODO: These keys depends on the binary */} gpg --verify geth-linux-amd64-1.5.0-d0c820ac.tar.gz.asc
) } export default DownloadsPage