{"id":534,"date":"2022-12-18T14:56:20","date_gmt":"2022-12-18T04:56:20","guid":{"rendered":"https:\/\/test.secrypt.tech\/?page_id=534"},"modified":"2023-01-05T17:44:21","modified_gmt":"2023-01-05T07:44:21","slug":"technical-requirements","status":"publish","type":"page","link":"https:\/\/test.secrypt.tech\/index.php\/technical-requirements\/","title":{"rendered":"Technical Requirements"},"content":{"rendered":"<style>\/*! elementor - v3.9.2 - 21-12-2022 *\/\n.elementor-widget-image{text-align:center}.elementor-widget-image a{display:inline-block}.elementor-widget-image a img[src$=\".svg\"]{width:48px}.elementor-widget-image img{vertical-align:middle;display:inline-block}<\/style>\n<p>\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/test.secrypt.tech\/\"><br \/>\n\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/test.secrypt.tech\/wp-content\/uploads\/elementor\/thumbs\/image-removebg-preview-pusb43b4fkgjv12hawycptkh3fmhfjngdaesxsjilk.png\" title=\"image-removebg-preview\" alt=\"image-removebg-preview\" \/>\t\t\t\t\t\t\t\t<\/a><\/p>\n<style>\/*! elementor - v3.9.2 - 21-12-2022 *\/\n.elementor-column .elementor-spacer-inner{height:var(--spacer-size)}.e-con{--container-widget-width:100%}.e-con-inner>.elementor-widget-spacer,.e-con>.elementor-widget-spacer{width:var(--container-widget-width,var(--spacer-size));--align-self:var(--container-widget-align-self,initial);--flex-shrink:0}.e-con-inner>.elementor-widget-spacer>.elementor-widget-container,.e-con-inner>.elementor-widget-spacer>.elementor-widget-container>.elementor-spacer,.e-con>.elementor-widget-spacer>.elementor-widget-container,.e-con>.elementor-widget-spacer>.elementor-widget-container>.elementor-spacer{height:100%}.e-con-inner>.elementor-widget-spacer>.elementor-widget-container>.elementor-spacer>.elementor-spacer-inner,.e-con>.elementor-widget-spacer>.elementor-widget-container>.elementor-spacer>.elementor-spacer-inner{height:var(--container-widget-height,var(--spacer-size))}<\/style>\n<style>\/*! elementor - v3.9.2 - 21-12-2022 *\/\n.elementor-heading-title{padding:0;margin:0;line-height:1}.elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a{color:inherit;font-size:inherit;line-height:inherit}.elementor-widget-heading .elementor-heading-title.elementor-size-small{font-size:15px}.elementor-widget-heading .elementor-heading-title.elementor-size-medium{font-size:19px}.elementor-widget-heading .elementor-heading-title.elementor-size-large{font-size:29px}.elementor-widget-heading .elementor-heading-title.elementor-size-xl{font-size:39px}.elementor-widget-heading .elementor-heading-title.elementor-size-xxl{font-size:59px}<\/style>\n<h2>Technical Requirements<\/h2>\n<h4><strong>TIP<\/strong><\/h4>\n<p>Here are some links that might be useful for new Web3 developers and anyone who is interested in the blockchain ecosystem.<\/p>\n<h4><strong>Minimum Hardware Configuration<\/strong><strong><u>\u200b<\/u><\/strong><\/h4>\n<p>This is the minimum hardware configuration required to setup a full node:<\/p>\n<ul>\n<li>RAM: 16-32 GB<\/li>\n<li>CPU: 4-8 core CPU (For AWS:\u00a0t3.2xlarge)<\/li>\n<li>Storage: 250GB to 1TB SSD (make sure it is extendable)<\/li>\n<\/ul>\n<h4><strong>TIP<\/strong><\/h4>\n<p>The minimum storage requirements will change over time as the network grows. It is recommended to use more than the minimum requirements to run a robust full node.<\/p>\n<h4><strong>Setting up Validator on SECRYPT Testnet<\/strong><strong><u>\u200b<\/u><\/strong><\/h4>\n<p>Ensure you have access to the remote machine or VM on which the full node is being set up.<\/p>\n<p><strong># How to setup a Validator on SECRYPT Testnet<\/strong><\/p>\n<p><strong>## Part 1<\/strong> &#8211; Build from Source (Ubuntu 20.04)<\/p>\n<p>Follow [this guide](https:\/\/github.com\/SECRYPT-2022\/SECRYPT\/blob\/main\/README.md#build-from-source-ubuntu-2004) to download and compile the binaries.<\/p>\n<p><strong>## Part 2<\/strong> &#8211; Generate Validator Keys<\/p>\n<p>Create a directory to store your keys and testnet blockchain data<\/p>\n<p style=\"text-align: center;\">mkdir ~\/.testsxc<\/p>\n<p style=\"text-align: center;\">cd ~\/SECRYPT<\/p>\n<p>Run this to generate your keys<\/p>\n<p style=\"text-align: center;\">.\/secrypt secrets init\u00a0 &#8211;data-dir ~\/.testsxc<\/p>\n<p>You should see something like this:<\/p>\n<p style=\"text-align: center;\">[SECRETS INIT]<\/p>\n<p style=\"text-align: center;\">Public key (address) = 0xXXXXXXXXXX&#8230;<\/p>\n<p style=\"text-align: center;\">BLS Public key\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 = 0xXXXXXXXXXX&#8230;<\/p>\n<p style=\"text-align: center;\">Node ID\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 = 16UXXXXXXXXX&#8230;<\/p>\n<p>Save that somewhere and continue to the next step.<\/p>\n<p><strong>## Part 3<\/strong> &#8211; Stake Your Coins<\/p>\n<p>### Setup staking contracts<\/p>\n<p>Download staking contracts:<\/p>\n<p style=\"text-align: center;\">git clone https:\/\/github.com\/SECRYPT-2022\/staking-contracts.git<\/p>\n<p style=\"text-align: center;\">cd staking-contracts<\/p>\n<p style=\"text-align: center;\">npm i<\/p>\n<p style=\"text-align: center;\">cp .env.example .env<\/p>\n<p>Now open up the .env file and fill out the missing parts. Fill out the variables like so:<\/p>\n<p style=\"text-align: center;\">JSONRPC_URL=http:\/\/ttv-wkqbnkghpr.dynamic-m.com:8544<\/p>\n<p style=\"text-align: center;\">PRIVATE_KEYS=YOUR_VALIDATOR_PRIVATE_KEY_HERE<\/p>\n<p style=\"text-align: center;\">STAKING_CONTRACT_ADDRESS=0x0000000000000000000000000000000000001001<\/p>\n<p>The `YOUR_VALIDATOR_PRIVATE_KEY_HERE` variable can be found in this file:<\/p>\n<p style=\"text-align: center;\">The `YOUR_VALIDATOR_PRIVATE_KEY_HERE` variable can be found in this file:<\/p>\n<p>Save the `.env` file and continue on<\/p>\n<p>### Fund your wallet<\/p>\n<p>Send at least 8.1 SXC to the wallet address that you generated in Part 2:<\/p>\n<p style=\"text-align: center;\">Public key (address) = 0xXXXXX&#8230;<\/p>\n<p>### Stake to become a validator<\/p>\n<p>Once you have completed the steps above, run the following:<\/p>\n<p style=\"text-align: center;\">npm run stake<\/p>\n<p>It run run a few seconds until the transaction confirms. Once the script is done running, you can run this script to confirm that your validator was added as well as the total staked amount and list of validators.<\/p>\n<p style=\"text-align: center;\">npm run info<\/p>\n<p>When you are done staking and want to un-stake, run this command:<\/p>\n<p style=\"text-align: center;\">npm run info<\/p>\n<p>## Part 4 &#8211; Start Your Validator<\/p>\n<p style=\"text-align: center;\">.\/secrypt server &#8211;data-dir ~\/.testsxc &#8211;chain testnet-genesis.json &#8211;seal &#8211;max-slots 40960 &#8211;grpc 0.0.0.0:9632 &#8211;libp2p 0.0.0.0:1478 &#8211;jsonrpc 0.0.0.0:8545 &#8211;max-inbound-peers 128 &#8211;max-outbound-peers 16<\/p>\n<p>Once you run that, your validator will start syncing with the testnet blockchain and begin validating.<\/p>\n<p>You have successfully set up a full node with Ansible.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Technical Requirements TIP Here are some links that might be useful for new Web3 developers and anyone who is interested in the blockchain ecosystem. Minimum Hardware Configuration\u200b This is the minimum hardware configuration required to setup a full node: RAM: 16-32 GB CPU: 4-8 core CPU (For AWS:\u00a0t3.2xlarge) Storage: 250GB to 1TB SSD (make sure [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-534","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/test.secrypt.tech\/index.php\/wp-json\/wp\/v2\/pages\/534","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.secrypt.tech\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/test.secrypt.tech\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/test.secrypt.tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/test.secrypt.tech\/index.php\/wp-json\/wp\/v2\/comments?post=534"}],"version-history":[{"count":22,"href":"https:\/\/test.secrypt.tech\/index.php\/wp-json\/wp\/v2\/pages\/534\/revisions"}],"predecessor-version":[{"id":1351,"href":"https:\/\/test.secrypt.tech\/index.php\/wp-json\/wp\/v2\/pages\/534\/revisions\/1351"}],"wp:attachment":[{"href":"https:\/\/test.secrypt.tech\/index.php\/wp-json\/wp\/v2\/media?parent=534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}