Skip to content

Commit

Permalink
Merge pull request #141 from lazavikmaria/fix/documentation-static-ma…
Browse files Browse the repository at this point in the history
…innet-endpoint

fix mainnet endpoint, remove spacenet endpoint
  • Loading branch information
dumikau committed Oct 2, 2023
2 parents cd6adac + 4602aef commit 8df1b9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 45 deletions.
38 changes: 1 addition & 37 deletions components/Documentation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ export default function Documentation() {
<th>Endpoint</th>
<th>Mainnet</th>
<th>Calibnet</th>
<th>Spacenet</th>
</tr>
<tr>
<th colSpan={4}>1. HTTPS Endpoints</th>
Expand All @@ -97,11 +96,6 @@ export default function Documentation() {
https://api.calibration.node.glif.io/
</ButtonV2>
</td>
<td>
<ButtonV2 onClick={copyToClipboard}>
https://api.spacenet.node.glif.io/
</ButtonV2>
</td>
</tr>
<tr>
<td>HTTPS RPC v0 (stable)</td>
Expand All @@ -115,29 +109,19 @@ export default function Documentation() {
https://api.calibration.node.glif.io/rpc/v0
</ButtonV2>
</td>
<td>
<ButtonV2 onClick={copyToClipboard}>
https://api.spacenet.node.glif.io/rpc/v0
</ButtonV2>
</td>
</tr>
<tr>
<td>HTTPS RPC v1 (unstable)</td>
<td>
<ButtonV2 onClick={copyToClipboard}>
https://api.calibration.node.glif.io/rpc/v1
https://api.node.glif.io/rpc/v1
</ButtonV2>
</td>
<td>
<ButtonV2 onClick={copyToClipboard}>
https://api.calibration.node.glif.io/rpc/v1
</ButtonV2>
</td>
<td>
<ButtonV2 onClick={copyToClipboard}>
https://api.spacenet.node.glif.io/rpc/v1
</ButtonV2>
</td>
</tr>
<tr>
<th colSpan={4}>2. WSS Endpoints</th>
Expand All @@ -154,11 +138,6 @@ export default function Documentation() {
wss://wss.calibration.node.glif.io/apigw/lotus
</ButtonV2>
</td>
<td>
<ButtonV2 onClick={copyToClipboard}>
wss://wss.spacenet.node.glif.io/apigw/lotus
</ButtonV2>
</td>
</tr>
<tr>
<td>WSS RPC v0 (stable)</td>
Expand All @@ -172,11 +151,6 @@ export default function Documentation() {
wss://wss.calibration.node.glif.io/apigw/lotus/rpc/v0
</ButtonV2>
</td>
<td>
<ButtonV2 onClick={copyToClipboard}>
wss://wss.spacenet.node.glif.io/apigw/lotus/rpc/v0
</ButtonV2>
</td>
</tr>
<tr>
<td>WSS RPC v1 (unstable)</td>
Expand All @@ -190,11 +164,6 @@ export default function Documentation() {
wss://wss.calibration.node.glif.io/apigw/lotus/rpc/v1
</ButtonV2>
</td>
<td>
<ButtonV2 onClick={copyToClipboard}>
wss://wss.spacenet.node.glif.io/apigw/lotus/rpc/v1
</ButtonV2>
</td>
</tr>
<tr>
<th colSpan={4}>3. Miscellaneous Endpoints</th>
Expand All @@ -211,11 +180,6 @@ export default function Documentation() {
Calibnet Playground
</ButtonV2Link>
</td>
<td>
<ButtonV2Link href='https://playground.open-rpc.org/?url=https://api.spacenet.node.glif.io'>
Spacenet Playground
</ButtonV2Link>
</td>
</tr>
<tr>
<td>CID Checker</td>
Expand Down
9 changes: 1 addition & 8 deletions components/Landing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ import {
LandingPageColumns,
LandingPageContent,
SmartLink,
Badge,
ButtonV2Link
} from '@glif/react-components'

import NodePage from './NodePage'
import Documentation from './Documentation'
import { ButtonBadgeWrapper, ButtonsHiddenOnMobile } from './Helpers'
import { ButtonsHiddenOnMobile } from './Helpers'
import Link from 'next/link'

export function Landing() {
Expand Down Expand Up @@ -65,12 +64,6 @@ export function Landing() {
</ButtonV2>
</ButtonsHiddenOnMobile>
<FullWidthButtons>
<ButtonBadgeWrapper>
<Badge
color='purple'
text='Spacenet is now available! You are welcome to try it right here, right now!'
/>
</ButtonBadgeWrapper>
<ButtonV2Link large href='/eth-rpc'>
Ethereum JSON RPC Support
</ButtonV2Link>
Expand Down

0 comments on commit 8df1b9b

Please sign in to comment.