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

Show RPC block number on chain page #187

Merged
merged 6 commits into from
Jul 26, 2024
Merged

Show RPC block number on chain page #187

merged 6 commits into from
Jul 26, 2024

Conversation

FrederikBolding
Copy link
Owner

@FrederikBolding FrederikBolding commented Jul 26, 2024

Show RPC block number and latency on the chain details page.

Closes #43

Copy link

netlify bot commented Jul 26, 2024

Deploy Preview for evm-chainlist ready!

Name Link
🔨 Latest commit 119df42
🔍 Latest deploy log https://app.netlify.com/sites/evm-chainlist/deploys/66a397544a713000088f4263
😎 Deploy Preview https://deploy-preview-187--evm-chainlist.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@FrederikBolding FrederikBolding changed the title Poll RPCs on chain page Show RPC block number on chain page Jul 26, 2024
@FrederikBolding FrederikBolding marked this pull request as ready for review July 26, 2024 12:32
@FrederikBolding FrederikBolding merged commit 66bba61 into main Jul 26, 2024
8 checks passed
@FrederikBolding FrederikBolding deleted the fb/poll-rpcs branch July 26, 2024 12:42
}: Pick<ChainData, "chainId"> & {
rpcs: ChainData["rpc"];
handleRpcClick: (rpc: string) => void;
}) => {
const { isConnected, handleConnect } = useContext(Web3Context);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Metamask

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oliver.2023.avalos.cb.id
0x2cb8170c91fDd19FDB3dC8f1e687baa2B6DAC337
CoinBase.
#187 (comment)

const { isConnected, handleConnect } = useContext(Web3Context); + const [rpcResults, setRpcResults] = useState<RpcResult[] | null>(null); + + useEffect(() => {0x2cb8170c91fDd19FDB3dC8f1e687baa2B6DAC337}

const { isConnected, handleConnect } = useContext(Web3Context);
const [rpcResults, setRpcResults] = useState<RpcResult[] | null>(null);

useEffect(() => {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Chainlist

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0x2cb8170c91fDd19FDB3dC8f1e687baa2B6DAC337
CoinBase
Oliver.2023.avalos.cb.id
Metamask.0xf931a800B8B96453674d78A75D83593432Ae26d4.wallet
#187 (comment)

const { isConnected, handleConnect } = useContext(Web3Context);

  • const [rpcResults, setRpcResults] = useState<RpcResult[] | null>(null);
  • useEffect(() => {0x2cb8170c91fDd19FDB3dC8f1e687baa2B6DAC337}
    Oliver Joaquín Madera Avalos
    Oliver23Avalos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show RPCs
3 participants