Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] - Fix mainnet endpoint, remove spacenet endpoint #141

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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