@arcblock/abtnode-docs
Version:
ABT Node Documentation, a help documentation for quickly get started with ABT Node.
1 lines • 6.76 kB
JSON
{"componentChunkName":"component---node-modules-arcblock-gatsby-theme-docs-src-templates-documentation-js","path":"/en/developer/configuration","result":{"data":{"file":{"changeTime":"5 minutes ago","childMarkdownRemark":{"frontmatter":{"author":"wangshijun","category":"","date":null,"description":"Node Configuration","draft":null,"keywords":"abtnode, blocklet","language":"en","layout":"documentation","path":"/en/developer/configuration","tags":["abtnode"],"title":"Node Configuration"},"htmlAst":{"type":"root","children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Then create a configuration at "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"~/.abtnode.yml"}]},{"type":"text","value":" with following content:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"pre","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["language-yaml"],"Node":"","config":""},"children":[{"type":"text","value":"# Node config\nnode:\n # Meta\n name: 'ABT Node'\n description: 'Container of official ArcBlock blocklets'\n\n # Node wallet\n sk: '0x39231d873687551460595848ee9fe32292f9ea44213a995fa5e5e15329e81e0748c6ee9a36c0db6dabd29f64e4e916b030c7060f937008eed0793f2e20845238'\n pk: '0x48c6ee9a36c0db6dabd29f64e4e916b030c7060f937008eed0793f2e20845238'\n did: 'zNKqM4yhZg39gd5KUuVNiDzq6HrwPSK6YFeA'\n\n # Where to store ABT Node data: change this to your home folder, on mac usually: /Users/YOUR_NAME/.abtnode\n dataDir: /home/work/.abtnode\n\n # Node dashboard\n domain: 192.168.1.2\n port: 8089 # this port is where ABT Node Dashboard runs on\n https: false\n\n # Node dashboard session secret\n secret: 'weilru4j2oi34u*(#U$IORQWRjk'\n\n # Owner info\n owner:\n pk: ''\n did: ''\n\nblocklet:\n # On which port should blocklet process listen on, multiple blocklets will use different ports incremented from this config\n port: 8090\n\n # Where to fetch available blocklets\n registry: https://blocklet.arcblockio.cn\n\n # Attached blocklet owner, can set when Node is up and running\n owner:\n pk: ''\n did: ''\n"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"For the node secret key and did part, if you are just testing, use the value form above configuration should be fine, if you want to define your own, you can generate as following:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"pre","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["language-shell"],"install":"","-g":"","@arcblock/forge-cli":""},"children":[{"type":"text","value":"npm install -g @arcblock/forge-cli\nforge wallet:create\n# Then choose `ROLE_APPLICATION`, `SHA3`, `ED25519`\n# Then copy the `sk`, `pk`, `address` to the config\n"}]}]}],"data":{"quirksMode":false}}}}},"pageContext":{"site":{"title":"ABT Node","description":"ABT Node Documentation","siteUrl":"https://docs.arcblock.io","logoUrl":"/abtnode/","sidebarWidth":360,"disableI18n":false,"showGetStarted":true,"defaultBanner":"/abtnode/og-banner.png"},"id":"6d3a83a9-fee2-5cef-b7bd-8f41ee199e98","language":"en","locale":"en","languages":[{"value":"en","text":"English"},{"value":"zh","text":"简体中文"}],"headings":[],"navItems":[{"group":"/home/runner/work/abtnode-docs/abtnode-docs/src","title":"ABT Node","priority":999,"link":"/"}],"version":"v0.2.20","official":true,"originalPath":"/en/developer/configuration","sidebarContent":[{"url":null,"title":null,"pages":[{"title":"ABT Node Docs","path":"/en/"}]},{"url":"/en/introduction","title":"Introduction","pages":[{"title":"ABT Node Overview","path":"/en/introduction/abtnode-overview"},{"title":"ABT Node Setup","path":"/en/introduction/abtnode-setup"},{"title":"ABT Node Access","path":"/en/introduction/abtnode-access"}]},{"url":"/en/marketplace","title":"Marketplace","pages":[{"title":"Find and Install Blocklets","path":"/en/marketplace/find-and-install"},{"title":"Upgrade/downgrade blocklet","path":"/en/marketplace/upgrade-downgrade"}]},{"url":"/en/blocklet","title":"Blocklets","pages":[{"title":"Basic Operations","path":"/en/blocklet/basic-operations"},{"title":"Blocklet Environments","path":"/en/blocklet/environments"},{"title":"Core Blocklets","path":"/en/blocklet/core-blocklets"}]},{"url":"/en/router","title":"Service Gateway","pages":[{"title":"What is Service Gateway?","path":"/en/router/what-is-router"},{"title":"Service Gateway Usage","path":"/en/router/basic-usage"},{"title":"Binding domain names to sites and enabling SSL","path":"/en/router/bind-domain-and-ssl"},{"title":"Certificates for localhost","path":"/en/router/certificates-for-localhost"}]},{"url":"/en/deployment","title":"Deployment","pages":[{"title":"Production Best Practice","path":"/en/deployment/best-practice"},{"title":"Deploy ABT Node Using AWS AMI","path":"/en/deployment/from-aws-ami"},{"title":"Bind domain with reverse proxy server","path":"/en/deployment/behind-reverse-proxy"},{"title":"Run In Docker","path":"/en/deployment/run-in-docker"}]},{"url":"/en/misc","title":"Misc","pages":[{"title":"Node Settings","path":"/en/misc/node-settings"},{"title":"Member Management","path":"/en/misc/member-management"},{"title":"GraphQL Console","path":"/en/misc/graphql-console"}]},{"url":"/en/developer","title":"Developer Guide","pages":[{"title":"Configuring the development environment","path":"/en/developer/config-dev-env"},{"title":"ABT Node CLI","path":"/en/developer/abtnode-cli"},{"title":"Node Configuration","path":"/en/developer/configuration"},{"title":"Storage Structure","path":"/en/developer/storage-structure"},{"title":"Blocklet Specification","path":"/en/developer/blocklet-spec"},{"title":"Create Static Blocklets","path":"/en/developer/static-blocklets"},{"title":"Create DApp Blocklets","path":"/en/developer/dapp-blocklets"},{"title":"Blocklet Hooks","path":"/en/developer/blocklet-hooks"},{"title":"Bundle Blocklets","path":"/en/developer/bundle-blocklets"},{"title":"Publish Blocklets","path":"/en/developer/publish-blocklets"},{"title":"Blocklet Registry","path":"/en/developer/blocklet-registry"},{"title":"Developing Blocklets with Codespaces","path":"/en/developer/blocklet-codespaces"},{"title":"Configure Auth Service for Blocklet","path":"/en/developer/auth-service"},{"title":"Composable blocklet","path":"/en/developer/composable-blocklet"},{"title":"Docker Registry List","path":"/en/developer/docker-registry"}]}],"communityPath":"https://community.arcblockio.cn","githubUrl":"https://github.com/ArcBlock/abtnode-docs/tree/master/src/developer/configuration/index.md"}},"staticQueryHashes":["1358860651","1619896071","1812186216","2194038815"]}