import React, { useEffect, useRef } from "react"; import { getLayout } from "../src/layouts/AppLayout"; import { Heading, Text, Stack, Fade, chakra, Accordion, AccordionItem, AccordionButton, AccordionPanel, AccordionIcon, Link, } from "@chakra-ui/react"; import Scrollable from "../src/components/Scrollable"; import RouterLink from "next/link"; const Welcome = () => { useEffect(() => { if (typeof window !== "undefined") { document.title = `Welcome to moonstream.to!`; } }, []); const scrollRef = useRef(); return ( {/* */} {true && ( Greetings traveler! We are very excited welcome you on board! Moonstream is a product which helps anyone participate in decentralized finance. Moonstream is meant to give you critical insights you’ll need to succeed in your crypto quest!

How does Moonstream work?

We run nodes {" "} - Get precise and accurate data by querying our database. You’re getting the same data miners have access to and you don’t have to maintain your own node. We crawl data {" "} - We analyze millions of transactions, data, and smart contract code to link them together. We provide data - You can fetch data through our front end or through API. We analyze data - We find the most interesting information and highlight it

How do I build my smart contract dashboard?

1. Subscribe {" "} - First step is to tell us what addresses you want moonstream to track activity at. You can do this at{" "} subscriptions page {" "} or simply by just clicking + on navigation bar of this page. 2. Provide ABI to subscription {" "} - In order for us to know what data to track, you need to provide an ABI to subscription. You can upload one at{" "} subscriptions page . If you are not sure what is abi ABI or which is correct for you - ask us on{" "} Discord {" "} .
N.B: Right now we have automatic dashboards only availible. This means that dashboard will contain analytics for ALL interfaces listed in ABI that was provided. I you need only fraction of it - leave these interfaces of interest in ABI when uploading and remove rest.
3. Create your dashboard {" "} - Press {`"New dashboard"`} on sidebar, or from + on navbar menu. Fill in name, select subscriptons you like to track to and checkbox what are you interested in. If there is no ABI - tracking contract specific elements {`won't`} be availible. 4. Get some coffee - {" "} Your dashboard will appear on sidebar right away after succesfull creation. However, populating initially with data will take some time. Crawlers usually run in 5 minutes cycle, they will start from newest block and will move down till genesis block. While you can make your favorite drink of choice and get back to see the dashboard!
)} {/* */}
); }; Welcome.getLayout = getLayout; export default Welcome;