Install BitF Core Wallet on Raspberry Pi (Command Line ONLY)
bitf·@bitcoinparadise·
0.000 HBDInstall BitF Core Wallet on Raspberry Pi (Command Line ONLY)
 The Core wallet was compiled on the latest distribution release of **Raspbian OS(Stretch 2018-06-27)** # Requirements * Raspberry Pi 2B/3B(+) * SD Card(Minimum 16GB) with [Raspbian OS](https://www.raspberrypi.org/downloads/raspbian/) installed * Some Coffee and free time 😛 --- ### Increase Swapfile * Turn off swapfile. ` sudo dphys-swapfile swapoff ` * Edit the file “/etc/dphys-swapfile”. ` sudo nano /etc/dphys-swapfile ` We are going to change the default size of the swap file from `100` to `2048`. * Find the line: ``` CONF_SWAPSIZE=100 ``` * Change To: ``` CONF_SWAPSIZE=2048 ``` * Press `CTRL-X` and then `Y`, then `Enter` to save the file. * Run the commands below to initiate this new swap file. ` sudo dphys-swapfile setup && sudo dphys-swapfile swapon ` --- ### Tweak Swap Settings: OPTIONAL(For faster and better experience) * Type: ` sudo sysctl vm.swappiness=20 ` * Edit the file "/etc/sysctl.conf". ` sudo nano /etc/sysctl.conf ` * Add to end of configuration file. ` vm.swappiness=20 ` * Press `CTRL-X` and then `Y`, then `Enter` to save the file. --- ### Install the Core Dependencies and Uninstall libssl-dev * The reason we are uninstalling `libssl-dev` is that it requires an older version to compile the wallet on *Raspbian Stretch*. * Copy and paste the entire commands below. ``` sudo apt-get update && sudo apt-get install -y build-essential git autoconf libminiupnpc-dev openssl libevent-dev libtool libboost-all-dev qt4-dev-tools libprotobuf-dev libqrencode-dev autoconf libdb-dev protobuf-compiler libdb4.8++ libdb5.3++-dev && sudo apt-get remove -y libssl-dev ``` ### Edit Repo Sources Edit the file "/etc/apt/sources.list". ` sudo nano /etc/apt/sources.list ` * Find: ``` stretch main contrib non-free rpi ``` * Edit where it says `stretch` to `jessie` * Press `CTRL-X` and then `Y`, then `Enter` to save the file. #### Re-install `libssl-dev` ` sudo apt-get update && sudo apt-get install -y libssl-dev ` #### Revert edit on `sources.list` ` sudo nano /etc/apt/sources.list ` * Find: ``` jessie main contrib non-free rpi ``` * Edit where it says `jessie` back to `stretch` * Press`CTRL-X` and then `Y`, then `Enter` to save the file. --- ### Install Berkeley DB * Copy and paste the entire commands below. ``` mkdir ~/bin && cd ~/bin && wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz && tar -xzvf db-4.8.30.NC.tar.gz && cd db-4.8.30.NC/build_unix/ && ../dist/configure --enable-cxx && make && sudo make install && cd ~/bin ``` ### Install BitF Core * Copy and paste the entire commands below. ``` git clone https://github.com/BitFdev/BitF-source-code && cd BitF-source-code && sudo chown -R pi:pi ~/bin/BitF-source-code && ./autogen.sh && ./configure --disable-tests --enable-upnp-default --with-incompatible-bdb --without-gui --with-libressl && make && sudo make install && cd ~ ``` * **Note:** If you run into permission issues, type: ` ### Start BitF Daemon * Create BitF Directory. ` mkdir ~/.BitF ` * Create and edit "BitF.conf" file. ` sudo nano ~/.BitF/BitF.conf ` * Just copy and paste the entire settings below(additional seed nodes included). Change `yourmadeusername` and `yourmadepassword` to your own name and password. ``` rpcuser=yourmadeusername rpcpassword=yourmadepassword rpcallowip=127.0.0.1 port=7337 listen=0 server=1 daemon=1 logtimestamps=1 maxconnections=256 addnode=167.99.183.252 addnode=178.128.25.138 addnode=178.128.43.83 addnode=178.128.39.66 addnode=178.128.32.217 addnode=209.97.182.142 addnode=178.128.39.66 addnode=178.128.32.217 addnode=209.97.182.142 ``` * Press`CTRL-X` and then `Y`, then `Enter` to save the file. * Start the daemon and let it sync. `BitFd` * To view blockhain sync: `tail -f ~/.BitF/debug.log` * Press`CTRL-c` to exit ### Setup & Encrypt Wallet * This is very strongly recommended to keep your funds secure but not required. Change `YOUR_PASSWORD` to your own password. ` BitF-cli encryptwallet YOUR_PASSWORD ` #### To Unlock Wallet * `TIMEOUT_TIME` is the timeout period for how long the wallet will be unlocked. ` BitF-cli walletpassphrase YOUR_PASSWORD TIMEOUT_TIME ` ### Create New Address * Change `YOUR_WALLET_NAME` to your own wallet name. ` BitF-cli getnewaddress YOUR_WALLET_NAME ` ### Unlock Wallet for Staking Only * Change `YOUR_PASSWORD` to your own password, `99999999` is the timeout period for how long the wallet will be unlocked, but is enabled for staking only with `true`. ` BitF-cli walletpassphrase YOUR_PASSWORD 99999999 true ` * After unlocking the wallet for staking, wait sometime before checking Staking status. `BitF-cli getstakingstatus` * Results should look the same. ``` { "validtime": true, "haveconnections": true, "walletunlocked": true, "mintablecoins": true, "enoughcoins": true, "mnsync": true, "staking status": true } ``` --- # Backup Wallet!!! * Example: `BitF-cli backupwallet ~/Backup`. ` BitF-cli backupwallet ~/YOUR_DESTINATION_DIRECTORY ` * For more wallet commands: `BitF-cli help` # Where to get BitF tokens? <center> https://crex24.com/?refid=2v2uxfakq347onps8p36</center> Website: https://www.bitf.cc/ Twitter: https://twitter.com/BitFdev Telegram: https://t.me/BitFChat Github: https://github.com/BitFdev Block Explorer: http://blockexplorer.bitf.cc/ <center> # For the latest updates, follow @bitf and join their Discord. # https://discord.gg/EtnS3TA </center> --- <center> https://steemitimages.com/0x0/https://i.imgur.com/wCpvrbr.png https://discord.gg/MM5vHss </center> <div class="pull-right"> <a href="https://1fox.com/?t=tx"> <img src="https://cdn.steemitimages.com/DQmY12BxPya2eUMZcn5Zd6zUcvQJ2Ukf3T48WZ1Xo1u3s7q/image.png"/> <br> Trade Bitcoin/Bitcoin Cash with Bitcoin/Bitcoin Cash! </a> </div> <div class="pull-left"> <a href="https://1broker.com/?r=bk"><img src="https://1broker.com/img/banner2-234x60.png"/> <br> Trade Forex and other legacy markets with Bitcoins </a> </div> <br> <br> <center><a href="https://scorum.com/en-us/profile/@bitcoinparadise"><img src="https://cdn.steemitimages.com/DQmRneQoi8SSqwn2GFBFoaKxBycF7mD9futXy8C4TcF8rYi/image.png"/> </a></center>
👍 dynamicrypto, wave.beads, bitcoinparadise, smartmediagroup, sureshotfund, kph, geadriana, headcorner, macrame, ynet, haran, cashmachine, mirita, imili, omenos, angelica7, wog, wic, tov, lsa, siq, woq, rochdi94, khaledf13, cgp, steemtubes, swagger, zapper, block-buster, primetimesports, fivestargroup, smartmedia-group, jamesallen, iamnotageek, otmane.riad, steemprentice, dcasia, cgbartow, cmp2020, cub1, hr1, vibelita, remlaps1, lisa.palmer, heaterville, christheglove, badkarma619, harborcollective, karencarrens, maggy7419, mrviquez, scene, dademurphy, opall, highfive, stun, weeds, rgeddes, itchy, clarence, minecraftfan, cowboycurtis, shapeshifter, sixoneninetimes, eubanksito, churchboybeats, krusty, fentan99, hansolo, jebus, jag, statsbot, newsbot, chair, caz, shape, azz, kickass, contentjunkie, curei, popcornmachine, austinpowers, philipjfry, bitrx, steemet, reaction, annul, aries, currie, elviss, conky, sideshowbob, qantheman, icet, mchammer, scratchy, crashoverride, peeweeherman, bluetrade, cartman, quimby, movietrailers, drnick, jambii, katt, ladder, cifer, towelie, suntzu, badgamer, trendz, wiggum, guerilla, vanilla, mrssteve, charity, cancer, oreo, houseandcanvas, dickbutt, wilburtsmythe, icecube, nedd, kitt, fulldisclosure, chart, view, coolcat, ketchup, mrhanky, swamprain, fortunex, gunina, bobinson, ghasemkiani, u25b2x, cmtzco, cryptohustlin, eileenbeach, sammyb, andrecarothers, superpromoter, voter000, wowmiko, aicurator, witnessupdate, bridgetbunchy, cryptomancer, steembusiness, indiavenom, wirednkod, arcanebinder, allinbox, realseb, bofadeez, alexpmorris, michellectv, nate-atkins, thevark, drmake, unholyleaf, harmonicliving, danile666, thedrayness, baldos, shellyduncan, schulbz, blockchaindaily, drguy, zip512, papertradez, minnowpond1, desmonid, ering, shamrock017, thewindowflower, therising, rngdz, minnowpond, drdeepdick, dylanhobalart, badassbarbie, jacob-miller, drkcyd, coinnog, ghostwriter, williambanks, merej99, experiment, ibringawareness, ancientofdays, roswellrockman, buildawhale, isteemd, promobot, rocky1, max-steem-room, gnoori, agr8buzz, stonechaisson, mezmerizer9, showtime, amanda46536, brains1ck, frankydoodle, arunavabiswas, zaiyn, steemcollator, hausbau, hafizalam5556, jasonmiller2134, mikegun, abso, mb786, tastytrade, proctologic, beckenbauer, ryanarcher, ch00fy, sahertanveer, dorthmaen, anjkara, spurious-claims, jiujitsu, s10, crypt0boy, stephanieangel, grey580, dashdipak, vizualsamuri, ganandoenbtc, eddy4king, osere, abdulrehman, co-op.blogs, transhuman, onza, abenike, hottopic, derkon, olgavdovskikh, mmagreat, mustafa4101996, finesse203, hodgees, gasbagphenol, buttersailboat, zulbahri, nicholasjohn, sebebim, desirednumberles, buyerbury, shawnfishbit, ocxie, brislingtone, churchx, langworthyx, kenhudoy, lalesu, nearwhimsical, ronnybat, masallar, venfordef, centroidmango, wishmaiden, tarretef, lamtrs, delightedcrude, boxmining, elgeko, chyandourere, alkaliscancer, ethanoatestress, mustafeez, houxtyer, frapnitrate, nova-nazirah, chamoisbind, doughycommittee, motorboatperegri, andysmancave, mariano35, quaintshingles, zuhrareza, nejdat, emraleg, hillstech, suzannn, videogeek, ensignpancakes, hurdlecranky, embomb701, washforde, crystallineslove, brunoaco91, pilesr, ahmad.rezk, konyali, stonegaterr, pickaxesgorbelli, forever-gala, sebastiangrant91, kofibeatz, lateenburger, tunalink, bjjworldtraveler, chloe.burton, barbones, titteringgorilla, fernwehninja, goldmirerr, happyclappy, susuzyaz, hetherg, travelingdiva, ohadiyorum, steingal, hammondo, risedaleo, helmirenggrik, snarlinghawking, nakedtrader, sohbet, simay, treebuilder, blackhazelse, upvoted, fueprojacan1988, denise.moreno, ridleesy, belgarath, pllo3llo, mehmetellibes, royalstrict, remorsefulart, voltsrage, scandinaviaguide, ashtray34, querulousfeedbag, dufferpastebin, mamata, steemdrivingman, savickg, fiveheade, quartilevariscan, btcbaby, cryptotash101, eleanorastro, pulworthye, sharepheasant, futuredigicoin, tomtom87, buttera, wanservices, placespotters, saini11, hoaryheap, untimelyweenie, wickedexponent, ragnartheking, valenesiana, jeffrhodes2000, eggthorny, thelifestyler, lifernesec1973, phuresh, doryaeriell, bensucani, genya.kharitonov, scalyfunds, merosalah, harshhijack, paganlumber, tonimarco, yazarimsi, skirdene, kubi, newsbitcoin, aungmyinthu, andy.aldwell, g-dubs, borrowe, slugarse, drakmin, kerimkan, lawyerup, hindwellag, elbrusgases, icedrum, bitcoinfast, stennackeg, erringag, maxbullion, senor, memobi, heachamo, maglina, rikip94, kyawsantun, everdayfood, eyesi, transitabscisic, ravenrillay, discontentbimbo, kerimcaglar, sabarniati.aceh, whickhopez, physicianisraeli, hellmerlin, osmanboz, hindwelleg, enkel, tekinomer, pilleri, arklee, joulia, hazinson, elleres, bowg, nicnicy, serfis, beneklikopek, dittony, robibm, ozywashere, mickeyvera, yewdaleu, stadiumadorable, powerlessurinal, sqube, art-is, ecocoin, onedio, funfacts, amicomber, jimjam1210, marthagomez, barneysi, maochitse, mrswhale, cardinhamo, broncohorseshoes, omrii, vannfrik, backk, balaseer, vietnameselength, madcool, christopheres77, suggestflowery, mahfuzur773, milldc, weightscrucible, bakhtiarzehri, hospitablegorill, arithmatic, jubileerr, meecese, gellany, muddypops, fiveboringgames, kaplan513, davidpleasing, toesoverripe, graytor, lydelandet, billinghame, ursaprune, jgr33nwood, curiositybot, naturecenter, bearleya, popcorntrumpet, framelalife, paulaharvey, eaposztrof, bahcesaray, blackwaterses90, opinizeunltd, cryptoocurrency, itchykitten, eolandananni, sezercik, teddieelga, historyfromworld, byronberry85, spacersmoussier, animapaddy, cottonshope, bottomses, hoveramphora, gyzimo, ophiuchusd, jonasthomas, tamer5461, skeltone, mlgcrypto, nazann, agoric.systems, agnessejanot, flaghamas, mrslauren, zkan, seatong, valueboo, seyico2011, birkiner, funnytime, reisronddewereld, sleightholmes, montecarlo35, merleeyq, ketikasharma, odl, greasbyas, mitchiesfoodrace, amkol, kishan, stonethwaitet, politedeleted, geggi632, cheepingteammate, amlehtnewo, colnet, firsthandtokens, cryptojake, postsspeaking, outerground, ozgurinsan, sacvar, newlyn, jjjjosue, ladyrednails, sonuncukus, somuncubaba, forestsuranus, failshub, artworld, chippingkernel, livinggraves, qxl, treasuregnome, bilgi, muddilakes, halleyovenbird, ceyksparrow, harleyses90, stressfootprints, frontrunner, busrae, yuzuklerim, trevillety, nuad01, mrright, luptoneg, follye, oakumdumplings, aek081969, oregonpop, kanmaz, humberg, handshakecheese, skyhooks, pickled, agathaa, powas, langdens, evesick, steve123, bottomse1, abbeye, crudepaltry, realcodysimon, respirationgrist, elladinenolana, battlemountain2k, beverleyer, interestinginfo, cryptoclick, pinsleye, natra, scotchells, cowfoldu, saucesparliament, taisa.gallery, philip.willemse, ilginc, badseyse, wildfowlpampers, aylan, liberta, artledr, kingstone, officebastard, benjy87, livertonses, scandaled, businesswri, osmanli, cakir994, pridefulquantum, youngfuego, spikykevin, franchescasacco, beldondf, wheeldaleas, eosint, sethlinson, traveled, lamornas, biggestitalic, jim-borasso-band, freemon, budajored, marskef, lillyet, mirabdullah, carrockr, earbye, scopeg, iliketoast, chucknasty, valleyes, peaseyo, tugofwarambivale, silasdavid, snowflakebew, jatinarora, yeomanross, capitalistcities, vlasmp, fizzytrophic, emas-jiujitsu, temizyurek, gazelleplug, jfkenndy, booleansport, mitralancestor, juninalethia, fantomcee, oughtershawuas5, todde, eloniy, biglipsmama, leylakk, avone, plaguefacts, zentat, epikcoin, pedlarbaked, permitborrowing, growconstruction, satfit, ianfreeman, artdirector, musakul, kaanyilmaz, nauman944, da-primate, womse, trentr, crippsu, mightywarrior, kralizec, mahmutah, sonbaharr, reticuluminspire, tim-rumford, marcosespes1, orhun, healthylifes, salihbag, vivianka, benniebanana, boklassen, easingtoneg, tupleapplied, scorpionking, corganmusic, coledaletu, baileyy, kingsesra, jovial-grace, mariginal, cheatones, mulleredclash, freecreative, crypto2day, wisex, shockingmushroom, covenflick, sabri99, wellhamsr, wycollerk, foodstall, blackbridgeas, bowlingvitamin, deex.exchange, bursa, keasdenx, dawnasheelagh, handee, uswayet, wellowe2, carwinleys, hoaroaks, spongestriped, cabotmurder, racdaolato1976, roeyue, egfordr, kaanight, sleightholmer, eksisozluk, dowlessr, sahinmahmut, bedburnk, umborneo, hollocombes, gairt, festivalsymbolic, cynonw, pentagonyummy, chiefurag, vezo, agromeror, appreciator, postpromoter, booster, us1, smartsteem, dekmat, kit9, msooi, upme, btcsynn, saghir, hotlist, dianacortez, fantasyman, leoshiroe, rudrarajuravi, aritmethos, josephlee12, lovethlouis, je-ve, timemotion, jashimuddin, asiafandub, mr-jon, travelwithethan, luiarra, bitcoinmastered, genblockchain, hacon, saribhai, laboremus, bernieisboss, resteemfun, laimarkan, ahmad.kamil, sammu, yetanotherperson, pradeepdee6, minnowhelpr, anupyadav, sbetul, whathefok, arasd, superup, phot-tech, ekobudiyanto, joyceuniqueness, billy118, tosingbele, shamzieyblitz, blasphemer, awaisnisar, jhonpetters, numan-butt, tordenskrald, yovanek, sonofgod, enliventattoos, jodsalz, anjumzaki, abax, sanoo, san007, monirul22, knygarium, adit9, stirpe, mithunsarker, public.library, yoo19000, a-bible-lover, salman554480, nantoriousb, sabrinakamal, samiya67, takhmaspa, mehran.khabaz, eleiber, hayatii, missioncontrol, helal120, simonhamelin, nasmusic, aisyahputroe, kmelvin256, abdullah2034, sidneybrown, asif10, pollinbay, fikriaiman, econor, teungku, bobskibob, ianpenaranda, itasteem, teetee, jssdigital, jeongpd, sajmontino, electroluis, smartypants, rosecat, bobbinj, nailuisacardenas, reinaandrea, girlwithnomoney, corneljulian, dogeonsteemit, mobeenahmed, steemapia, cliffhanger, saluton, dailycharity, exposureshuvo, ssia, bottrain, aqilah93, tetrahedron96, ayat, gatpis, bereznikudarn, johnwhite, alukma786, joord, odysseusa, christinelakra, curtis3388, willvote, hardian88, toptrendingnews, ellyn-suraya, lovestory0, herymen, islamic-point, italianguy, rienairyani, duchess1, sarahlagmay, cryptoinfinite, chineyes, voloshyn, darkreunion, precfila, masumalucky, shofi, andresbernal2402, ag031296, dnaingkhan, ombukuro, philantrop, bradleyanderson, anaq79, alomgirkhan, ppkmontes, pratapa, chazzy, mridul786, faglerabbi, munadi17, sofia-legacy, allypi, netbook, cakciebo, bitcoin.india, cadogana, stipor, abrioan, lostforever, puppie, ralphus, abankdedi, arashik, jskvishal, jaitj7, jfmrt15, denizkorkmaz, minimalis, freesoulpk, steemvegas, oyinlomoa, pubgking, castiel20, vidson7k, chasemcguire, oswaldouslar, peterlewis, alan66, avirush2018, thedarkvoice, sersharevalo, happy33, dimon14, vicsticks, hatice, totan86826, rifat61, thobo, suitablybored, mdashik1411, geoffrey, rajaalem7, anasboss, primersion, momimalhi, gloxypearl, online87700, creami, muzee1, zulkaif, womanpower, plumplum, gandalfthewhite, andreasgrubhofer, pachu, byresteem, promotedpost, mohd96, mustafa9876, forvert, indianteam, jeff-kubitz, itchyfeetdonica, javiermurillo, samarsharma, ekku, jungleonion, ldelpozoa, hoperimmel, sam1393, funtown, ccworld, morphewq, hakansahin, majidse, keremkoz, colinmac99ca, quiti, asaha, thelindvall, cryptocurator, nashilda17, ayemmanuel, ssghsti, anto2318, five19, conormingregor, andesilesteem, interesting-info, watercannon, tahirsahi, yuslindwi, mrjaroslaw, peer2peer, gerrardihno, funnyknock, whatsup, faithinhim, lonik-olsawn, pierlave, evo-x-gsr, killertech, ibneadam, ali14, battleaxe, zephyraijunzo, kgood, jmaxlee, bottransakcyjny, aleck78, markoakinaga, munawardi, gayanwithanage, rajkumark, guachoman,