PageSourceSearch

https://open-campus-docs.vercel.app/assets/js/5d723ed2.fd79c76a.js

js open-campus-docs.vercel.app collected 2026-10-03 07:26:53 UTC 3,796 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[683],{4261:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>a,contentTitle:()=>o,default:()=>u,frontMatter:()=>d,metadata:()=>i,toc:()=>t});var l=s(5893),r=s(1151);const d={},o="Goldsky",i={id:"services/indexers/goldsky",title:"Goldsky",description:"Install + log in",source:"@site/docs/services/indexers/goldsky.md",sourceDirName:"services/indexers",slug:"/services/indexers/goldsky",permalink:"/services/indexers/goldsky",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/services/indexers/goldsky.md",tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Indexers",permalink:"/services/indexers/"},next:{title:"Oracles",permalink:"/services/oracles/"}},a={},t=[{value:"Install + log in",id:"install--log-in",level:2},{value:"Build and deploy",id:"build-and-deploy",level:2},{value:"Build and deploy from source",id:"build-and-deploy-from-source",level:3},{value:"Build &amp; Deploy from ABI and address",id:"build--deploy-from-abi-and-address",level:2},{value:"Query Endpoint",id:"query-endpoint",level:2}];function c(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",ol:"ol",p:"p",pre:"pre",...(0,r.a)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.h1,{id:"goldsky",children:"Goldsky"}),"\n",(0,l.jsx)(n.h2,{id:"install--log-in",children:"Install + log in"}),"\n",(0,l.jsxs)(n.ol,{children:["\n",(0,l.jsxs)(n.li,{children:["Create an account at ",(0,l.jsx)(n.a,{href:"https://app.goldsky.com",children:"app.goldsky.com"}),"."]}),"\n",(0,l.jsx)(n.li,{children:"Create an API key on the Settings page."}),"\n",(0,l.jsxs)(n.li,{children:["Install the Goldsky CLI:","\n",(0,l.jsx)(n.pre,{children:(0,l.jsx)(n.code,{className:"language-sh",children:"curl https://goldsky.com | sh\n"})}),"\n"]}),"\n",(0,l.jsxs)(n.li,{children:["Log in with the API key created earlier:","\n",(0,l.jsx)(n.pre,{children:(0,l.jsx)(n.code,{className:"language-sh",children:"goldsky login\n"})}),"\n"]}),"\n"]}),"\n",(0,l.jsx)(n.h2,{id:"build-and-deploy",children:"Build and deploy"}),"\n",(0,l.jsx)(n.p,{children:"Deploy your subgraph in one of four ways:"}),"\n",(0,l.jsx)(n.h3,{id:"build-and-deploy-from-source",children:"Build and deploy from source"}),"\n",(0,l.jsx)(n.pre,{children:(0,l.jsx)(n.code,{className:"language-sh",children:"cd <your-subgraph-directory>\ngraph build # Build your subgraph as normal.\ngoldsky subgraph deploy my-subgraph/1.0.0\n"})}),"\n",(0,l.jsx)(n.h2,{id:"build--deploy-from-abi-and-address",children:"Build & Deploy from ABI and address"}),"\n",(0,l.jsx)(n.pre,{children:(0,l.jsx)(n.code,{className:"language-sh",children:"goldsky subgraph deploy your-subgraph-name/your-version --from-abi <path-to-config-file>\n"})}),"\n",(0,l.jsx)(n.h2,{id:"query-endpoint",children:"Query Endpoint"}),"\n",(0,l.jsx)(n.p,{children:"Access data by querying the endpoints. Use the following command to list all your subgraphs, and open the \u201cGraphQL API\u201d links that get printed in your browser to query your data in the GraphQL playground."}),"\n",(0,l.jsx)(n.pre,{children:(0,l.jsx)(n.code,{className:"language-sh",children:"goldsky subgraph list\n"})})]})}function u(e={}){const{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,l.jsx)(n,{...e,children:(0,l.jsx)(c,{...e})}):c(e)}},1151:(e,n,s)=>{s.d(n,{Z:()=>i,a:()=>o});var l=s(7294);const r={},d=l.createContext(r);function o(e){const n=l.useContext(d);return l.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),l.createElement(d.Provider,{value:n},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.