[{"data":1,"prerenderedAt":545},["Reactive",2],{"content-query-XxPzXM7PDU":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"body":10,"_type":540,"_id":541,"_source":542,"_file":543,"_extension":544},"/docs/mining/solo-mining-beam","mining",false,"","Solo Mining Beam","Mining Beam coins is the best way to support Beam! Miners strengthen the security of our network while earning Beam coins. In this guide, we will provide you all the information needed to start mining solo mining Beam!",{"type":11,"children":12,"toc":525},"root",[13,21,26,33,87,97,126,138,147,157,169,178,183,188,196,232,236,244,256,262,267,275,280,286,291,299,319,325,330,338,357,383,389,401,409,420,426,431,439,444,449,457,462,468,473,485,493,498,503,511,516],{"type":14,"tag":15,"props":16,"children":18},"element","h1",{"id":17},"solo-mining-beam",[19],{"type":20,"value":8},"text",{"type":14,"tag":22,"props":23,"children":24},"p",{},[25],{"type":20,"value":9},{"type":14,"tag":27,"props":28,"children":30},"h2",{"id":29},"things-youll-need",[31],{"type":20,"value":32},"Things you'll need",{"type":14,"tag":34,"props":35,"children":36},"ul",{},[37,43,48,64,69,82],{"type":14,"tag":38,"props":39,"children":40},"li",{},[41],{"type":20,"value":42},"Mining rig containing a minimum of one GPU with 3GB of RAM.",{"type":14,"tag":38,"props":44,"children":45},{},[46],{"type":20,"value":47},"Basic knowledge of command line (CMD terminal) functions.",{"type":14,"tag":38,"props":49,"children":50},{},[51,53,62],{"type":20,"value":52},"Text editor, e.g., ",{"type":14,"tag":54,"props":55,"children":59},"a",{"href":56,"rel":57},"https://code.visualstudio.com/",[58],"nofollow",[60],{"type":20,"value":61},"Visual Studio Code",{"type":20,"value":63},".",{"type":14,"tag":38,"props":65,"children":66},{},[67],{"type":20,"value":68},"High-speed internet connection.",{"type":14,"tag":38,"props":70,"children":71},{},[72,74,81],{"type":20,"value":73},"Mining software, e.g., ",{"type":14,"tag":54,"props":75,"children":78},{"href":76,"rel":77},"https://github.com/Lolliedieb/lolMiner-releases",[58],[79],{"type":20,"value":80},"lolMiner",{"type":20,"value":63},{"type":14,"tag":38,"props":83,"children":84},{},[85],{"type":20,"value":86},"An 'always-on PC' or a similar device to run your Beam Node.",{"type":14,"tag":27,"props":88,"children":90},{"id":89},"part-one-installation",[91],{"type":14,"tag":92,"props":93,"children":94},"strong",{},[95],{"type":20,"value":96},"Part one: installation",{"type":14,"tag":22,"props":98,"children":99},{},[100,102,109,111,117,119,125],{"type":20,"value":101},"Download ",{"type":14,"tag":103,"props":104,"children":106},"code",{"className":105},[],[107],{"type":20,"value":108},"Command Line Interface",{"type":20,"value":110}," and ",{"type":14,"tag":103,"props":112,"children":114},{"className":113},[],[115],{"type":20,"value":116},"Node",{"type":20,"value":118}," files directly from our main ",{"type":14,"tag":54,"props":120,"children":122},{"href":121},"/downloads",[123],{"type":20,"value":124},"website",{"type":20,"value":63},{"type":14,"tag":22,"props":127,"children":128},{},[129,131,137],{"type":20,"value":130},"‌Extract these files in a separate folder on your 'always-on PC' (or whichever device is running your Node) and label the folder as ",{"type":14,"tag":103,"props":132,"children":134},{"className":133},[],[135],{"type":20,"value":136},"beam-mining",{"type":20,"value":63},{"type":14,"tag":27,"props":139,"children":141},{"id":140},"part-two-setup",[142],{"type":14,"tag":92,"props":143,"children":144},{},[145],{"type":20,"value":146},"Part two: setup",{"type":14,"tag":148,"props":149,"children":151},"h3",{"id":150},"create-ssl-certificate-and-key",[152],{"type":14,"tag":92,"props":153,"children":154},{},[155],{"type":20,"value":156},"Create SSL Certificate and Key",{"type":14,"tag":22,"props":158,"children":159},{},[160,162,167],{"type":20,"value":161},"To create an SSL Certificate and Key within ",{"type":14,"tag":103,"props":163,"children":165},{"className":164},[],[166],{"type":20,"value":136},{"type":20,"value":168},", open a new CMD terminal window. Enter the following command:",{"type":14,"tag":170,"props":171,"children":173},"pre",{"code":172},"openssl req -x509 -newkey rsa:4096 -keyout beam-stratum-key.pem -out beam-stratum-crt.pem -days 3650 -nodes -subj /CN=localhost\n",[174],{"type":14,"tag":103,"props":175,"children":176},{"__ignoreMap":7},[177],{"type":20,"value":172},{"type":14,"tag":22,"props":179,"children":180},{},[181],{"type":20,"value":182},"Rename the SSL Certificate and Key files created by the output.",{"type":14,"tag":22,"props":184,"children":185},{},[186],{"type":20,"value":187},"The output should be similar to the following:",{"type":14,"tag":170,"props":189,"children":191},{"code":190},"mv beam-stratum-key.pem stratum.key\nmv beam-stratum-crt.pem stratum.crt\n",[192],{"type":14,"tag":103,"props":193,"children":194},{"__ignoreMap":7},[195],{"type":20,"value":190},{"type":14,"tag":22,"props":197,"children":198},{},[199,201,207,209,215,217,223,224,230],{"type":20,"value":200},"Open your ",{"type":14,"tag":103,"props":202,"children":204},{"className":203},[],[205],{"type":20,"value":206},"beam-wallet.cfg",{"type":20,"value":208}," file in a text editor. Remove the ",{"type":14,"tag":103,"props":210,"children":212},{"className":211},[],[213],{"type":20,"value":214},"#",{"type":20,"value":216}," before ",{"type":14,"tag":103,"props":218,"children":220},{"className":219},[],[221],{"type":20,"value":222},"pass=password",{"type":20,"value":110},{"type":14,"tag":103,"props":225,"children":227},{"className":226},[],[228],{"type":20,"value":229},"node_addr=",{"type":20,"value":231}," . Enter your password and node address.",{"type":14,"tag":22,"props":233,"children":234},{},[235],{"type":20,"value":187},{"type":14,"tag":170,"props":237,"children":239},{"code":238},"pass=yourpasswordhere\nnode_addr=127.0.0.1:10000\n",[240],{"type":14,"tag":103,"props":241,"children":242},{"__ignoreMap":7},[243],{"type":20,"value":238},{"type":14,"tag":22,"props":245,"children":246},{},[247,249,254],{"type":20,"value":248},"Save the changes made to your ",{"type":14,"tag":103,"props":250,"children":252},{"className":251},[],[253],{"type":20,"value":206},{"type":20,"value":255},"file.",{"type":14,"tag":148,"props":257,"children":259},{"id":258},"initialize-your-beam-wallet",[260],{"type":20,"value":261},"Initialize your Beam wallet",{"type":14,"tag":22,"props":263,"children":264},{},[265],{"type":20,"value":266},"To initialize your wallet and create a seed phrase, enter the following command:",{"type":14,"tag":170,"props":268,"children":270},{"code":269},"./beam-wallet init\n",[271],{"type":14,"tag":103,"props":272,"children":273},{"__ignoreMap":7},[274],{"type":20,"value":269},{"type":14,"tag":22,"props":276,"children":277},{},[278],{"type":20,"value":279},"Save your seed phrase (do not take a screenshot) and store it somewhere safe. Pen and paper is recommended. Do not store your seed phrase electronically or anywhere vulnerable to hackers.",{"type":14,"tag":148,"props":281,"children":283},{"id":282},"exporting-your-miner-key",[284],{"type":20,"value":285},"Exporting your miner key",{"type":14,"tag":22,"props":287,"children":288},{},[289],{"type":20,"value":290},"To export your miner key, enter the following command:",{"type":14,"tag":170,"props":292,"children":294},{"code":293},"./beam-wallet export_miner_key --subkey=1\n",[295],{"type":14,"tag":103,"props":296,"children":297},{"__ignoreMap":7},[298],{"type":20,"value":293},{"type":14,"tag":22,"props":300,"children":301},{},[302,304,310,312,318],{"type":20,"value":303},"Copy the key string output. Using your text editor, open ",{"type":14,"tag":103,"props":305,"children":307},{"className":306},[],[308],{"type":20,"value":309},"beam-node.cfg",{"type":20,"value":311}," and paste the key string output after ",{"type":14,"tag":103,"props":313,"children":315},{"className":314},[],[316],{"type":20,"value":317},"miner_key=",{"type":20,"value":63},{"type":14,"tag":148,"props":320,"children":322},{"id":321},"exporting-your-owner-key",[323],{"type":20,"value":324},"Exporting your owner key",{"type":14,"tag":22,"props":326,"children":327},{},[328],{"type":20,"value":329},"To export your owner key, enter the following command:",{"type":14,"tag":170,"props":331,"children":333},{"code":332},"./beam-wallet export_owner_key\n",[334],{"type":14,"tag":103,"props":335,"children":336},{"__ignoreMap":7},[337],{"type":20,"value":332},{"type":14,"tag":22,"props":339,"children":340},{},[341,343,348,350,356],{"type":20,"value":342},"Copy and paste the key string output in your ",{"type":14,"tag":103,"props":344,"children":346},{"className":345},[],[347],{"type":20,"value":309},{"type":20,"value":349}," file after ",{"type":14,"tag":103,"props":351,"children":353},{"className":352},[],[354],{"type":20,"value":355},"owner_key=",{"type":20,"value":63},{"type":14,"tag":22,"props":358,"children":359},{},[360,362,367,369,374,376,382],{"type":20,"value":361},"Copy your password from your ",{"type":14,"tag":103,"props":363,"children":365},{"className":364},[],[366],{"type":20,"value":206},{"type":20,"value":368}," file and then paste it into your ",{"type":14,"tag":103,"props":370,"children":372},{"className":371},[],[373],{"type":20,"value":309},{"type":20,"value":375}," after ",{"type":14,"tag":103,"props":377,"children":379},{"className":378},[],[380],{"type":20,"value":381},"pass=",{"type":20,"value":63},{"type":14,"tag":148,"props":384,"children":386},{"id":385},"enter-beam-node-parameters",[387],{"type":20,"value":388},"Enter Beam node parameters",{"type":14,"tag":22,"props":390,"children":391},{},[392,394,399],{"type":20,"value":393},"Add the following parameters (one per line) to your ",{"type":14,"tag":103,"props":395,"children":397},{"className":396},[],[398],{"type":20,"value":309},{"type":20,"value":400}," file:",{"type":14,"tag":170,"props":402,"children":404},{"code":403},"port=10000\nlog_level=verbose\nfile_log_level=verbose\npeer=eu-nodes.mainnet.beam.mw:8100,us-nodes.mainnet.beam.mw:8100\nstratum_port=3333\nstratum_secrets_path=.\n",[405],{"type":14,"tag":103,"props":406,"children":407},{"__ignoreMap":7},[408],{"type":20,"value":403},{"type":14,"tag":22,"props":410,"children":411},{},[412,413,418],{"type":20,"value":248},{"type":14,"tag":103,"props":414,"children":416},{"className":415},[],[417],{"type":20,"value":309},{"type":20,"value":419}," file.",{"type":14,"tag":148,"props":421,"children":423},{"id":422},"join-the-beam-network",[424],{"type":20,"value":425},"Join the Beam network",{"type":14,"tag":22,"props":427,"children":428},{},[429],{"type":20,"value":430},"To join the Beam network, open a new CMD terminal window. Enter the following command:",{"type":14,"tag":170,"props":432,"children":434},{"code":433},"./beam-node\n",[435],{"type":14,"tag":103,"props":436,"children":437},{"__ignoreMap":7},[438],{"type":20,"value":433},{"type":14,"tag":22,"props":440,"children":441},{},[442],{"type":20,"value":443},"Leave the CMD terminal window open to keep the node running as you wait for the node to sync with the Beam network (this may take a few hours).",{"type":14,"tag":22,"props":445,"children":446},{},[447],{"type":20,"value":448},"After your node syncs with the network, open a separate CMD terminal (do not close node CMD terminal window), and enter the following command:",{"type":14,"tag":170,"props":450,"children":452},{"code":451},"./beam-wallet listen\n",[453],{"type":14,"tag":103,"props":454,"children":455},{"__ignoreMap":7},[456],{"type":20,"value":451},{"type":14,"tag":22,"props":458,"children":459},{},[460],{"type":20,"value":461},"Leave this terminal open to keep the wallet listening to your node.",{"type":14,"tag":148,"props":463,"children":465},{"id":464},"launch-mining-software",[466],{"type":20,"value":467},"Launch mining software",{"type":14,"tag":22,"props":469,"children":470},{},[471],{"type":20,"value":472},"Your mining rig can use your node's IP address and stratum port to begin solo mining Beam!",{"type":14,"tag":22,"props":474,"children":475},{},[476,478,483],{"type":20,"value":477},"Using ",{"type":14,"tag":54,"props":479,"children":481},{"href":76,"rel":480},[58],[482],{"type":20,"value":80},{"type":20,"value":484}," as an example, the command output is similar to the following:",{"type":14,"tag":170,"props":486,"children":488},{"code":487},"./lolMiner --coin BEAM --pool 127.0.0.1:3333 --user your-SBBS-address\n",[489],{"type":14,"tag":103,"props":490,"children":491},{"__ignoreMap":7},[492],{"type":20,"value":487},{"type":14,"tag":22,"props":494,"children":495},{},[496],{"type":20,"value":497},"After you mine a block, your block rewards will show up in your wallet summary.",{"type":14,"tag":22,"props":499,"children":500},{},[501],{"type":20,"value":502},"To view your wallet summary, enter the following command:",{"type":14,"tag":170,"props":504,"children":506},{"code":505},"./beam-wallet info\n",[507],{"type":14,"tag":103,"props":508,"children":509},{"__ignoreMap":7},[510],{"type":20,"value":505},{"type":14,"tag":22,"props":512,"children":513},{},[514],{"type":20,"value":515},"The output is similar to the following:",{"type":14,"tag":22,"props":517,"children":518},{},[519],{"type":14,"tag":520,"props":521,"children":524},"img",{"alt":522,"src":523},"example wallet summary after solo mining Beams",".gitbook/assets/Screenshot%202021-07-06%20at%2012.44.19.png",[],{"title":7,"searchDepth":526,"depth":526,"links":527},2,[528,529,530],{"id":29,"depth":526,"text":32},{"id":89,"depth":526,"text":96},{"id":140,"depth":526,"text":146,"children":531},[532,534,535,536,537,538,539],{"id":150,"depth":533,"text":156},3,{"id":258,"depth":533,"text":261},{"id":282,"depth":533,"text":285},{"id":321,"depth":533,"text":324},{"id":385,"depth":533,"text":388},{"id":422,"depth":533,"text":425},{"id":464,"depth":533,"text":467},"markdown","docs:docs:mining:solo-mining-beam.md","docs","docs/mining/solo-mining-beam.md","md",1777630717396]