New features for developer - Use HIVE Onboard for your dApp
hiveonboard·@hiveonboard·
0.000 HBDNew features for developer - Use HIVE Onboard for your dApp
While pretty much destructive stuff is going on in the crypto-world right now - I have been very productive in the last few days and it's time to push things forward on HIVE! In this episode, I wanna give you an update about new features which can be used right now for any dApp out there which wants to make use of the account creation service from @hiveonboard.  #### Rationale The amount of dApps available on HIVE is growing fast and in most cases developer have to make a decision on how to handle account creation for new user. This let me think, why should each dApp reinvent the wheel when it comes to on-boarding new user to HIVE, when @hiveonboard already can handle the job pretty well? If you ask me, developer should always focus on their use case first and care about what brings value for their user-base. Don't spend your time on stuff, that has already been solved! ---- #### 1. Redirecting to your dApp after account creation  If you don't wanna mess around with account creation yourself, feel free to send your new user to hiveonboard.com passing in your `redirect_url` as a query parameter. - **Sample URL straight to Account Creation** `https://hiveonboard.com/create-account?redirect_url=https://hive.io/eco` - **Sample URL with URI-Encoding to Landing Page** `https://hiveonboard.com/?redirect_url=https://hive.io/eco` When a user successfully created his HIVE account, he will immediately send back to your dApp. In this case step 3 *"Choose your dApp"* will be skipped entirely. For best user experience, try to redirect to your login page and make sure the user can get started at once. **Update:** @culgin brought up a scenario where a bad actor could use this feature to point user to a phishing website and do harm from there. In order to make user this cannot happen - I've just added a whitelist for authorized domains, which can make use of this feature. You can extent the URL with your path like `/login` or `/signin` as long as your URL starts with the value in the whitelist. ```` [ "https://hive.blog", "https://peakd.com", "https://3speak.online", "https://splinterlands.io", "https://esteem.app", "https://stem.openhive.network", "https://steempress.io", "https://actifit.io", "https://dlease.io", "https://dblog.org", "https://brosgn.net", "https://brosinopoker.com" ] ```` If you run a dApp which isn't included in the whitelist right now, please contact @roomservice or do a [pull request](https://github.com/christianfuerst/hiveonboard/blob/master/src/config/whitelist.json) on the whitelist in the repo. ---- #### 2. Use your own HIVE account to create user for your dApp  I've already covered how @hiveonboard solved the *lack of ressource credits problem* with help of a server-side software in this [post](https://peakd.com/hiveonboard/@hiveonboard/solving-the-scalability-issue-for-account-creation-no-more-hp-delegations-required) about a week ago. This time we take the idea even further. I was asked by a dApp developer if it would be possible to bypass the account ticket load-balancer and prioritize a specific creator-api instance when a user is going to create an account. *Sure - why not? So here we go!* In case you run a creator-api for your very own dApp account and at least one account creation ticket available, you could just add the `creator` query parameter. - **Sample URL straight to Account Creation** `https://hiveonboard.com/create-account?creator=my-dapp` - **Sample URL with URI-Encoding to Landing Page** `https://hiveonboard.com/?creator=my-dapp` If a user creates an account on hiveonboard.com now - the new account will be created by @my-dapp in this case and will act as the recovery account until changed by the user. In most cases it would make perfect sense to add `redirect_url` query parameter as well. As a friendly reminder - you can choose from two different repositories for the creator-api: [GitHub - original version with additional features by @fbslo](https://github.com/fbslo/creator) [GitHub - light-weight version with only api-support by @roomservice](https://github.com/christianfuerst/creator-api) If you want to make use of this feature for your dApp, please contact @roomservice. ---- #### 3. Bonus - Debug Mode for testing account creation flow If you want to take advantage of those features or just wanna see how @hiveonboard works, you can now add the `debug_mode` query parameter and see how it goes, without actually creating an account and skip phone verification. - **Sample URL straight to Account Creation** `https://hiveonboard.com/create-account?debug_mode=true` - **Sample URL with URI-Encoding to Landing Page** `https://hiveonboard.com/?debug_mode=true` ---- As always, I would love to hear your feedback and want to thank for your ongoing support! #### Account Creation reports moved to @hiveonboard-log If you are interested in those new accounts who joined the HIVE using @hiveonboard you can always look them up in the daily reports created. This reports moved to the blog of the account @hiveonboard-log because most of you don't wanna get spammed when following this account. ##### Quick Side-Note I'am currently running a proposal for a HIVE ad-campaign on BRAVE browser. If you like my work on @hiveonboard you may consider taking a look at my proposal and maybe vote for it: [https://peakd.com/me/proposals/99](https://peakd.com/me/proposals/99) Yours, @roomservice
👍 mynewlifeai, hiveonboard, roomservice, ronaldoavelino, agent14, fingersik, alexis555, morellys2004, ghasemkiani, susankianim, ariakianim, mshahabi, parsik, danai, superpromoter, fun2learn, happy-soul, kryptogames, bcm, nailyourhome, borislavzlatanov, hedge-x, digital.mine, simba, idiosyncratic1, canercanbolat, agathusia, oxoskva, holger80, dein-problem, fullnodeupdate, vidafitnessfeliz, bryan-imhoff, cardboard, tipu, mxzn, stefannikolov, mightypanda, mia-cc, leighscotford, bilpcoinbpc, teach-me, fego, heraklius, durbisrodriguez, zainnyferdhoy, adyorka, urdreamscometrue, marcus0alameda, bartheek, longer, niallon11, crookshanks, definethedollar, felix.herrmann, dkkarolien, steemik, ldsklee, jk6276, almi, reiseamateur, cryptocurator, dudeontheweb, micefy, acidyo, kevinwong, cheema1, mister-meeseeks, tombstone, mrwang, arconite, nurhayati, dhaneshpk, mes, giuatt07, bobskibob, darkflame, tobias-g, marki99, gregory-f, davidlionfish, tomhall, ttg, jasonbu, steemvpn, timhorton, tattytoque, shawkr13, gtrussi, softworld, chrisparis, abrockman, jerrybanfield, cryptictruth, jacobpeacock, jahedhossain, teenagecrypto, pessal, peacefulpatriot, shmoogleosukami, richardcrill, steemexperience, detlev, stellabelle, mahdiyari, hijosdelhombre, hivepeople, adventureevryday, nicolasdosse, superhardness, goumao, wf9877, grecki-bazar-ewy, pl-kuchnia, ezzy, kggymlife, dotwin1981, gamer0815, theycallmedan, rubenalexander, wil.metcalfe, alcik, badpupper, culgin, mrshev, vcdragon, steem.ens, netuoso, sgerhart, steem-oracle, gravitcaper, hellohive, likwid, fourfourfun, promobot, kgsupport, gmlrecordz, eliasseth, whatamidoing, alejandrolg, steemporras, alexsandr, btcvenom, ninja-whale, cryptoknight12, ssjsasha, achim86, marcocasario, kirbyjr1977, donald.porter, himalayannomad, duranzo89, akangsulim, lau85, cryptojiang, bashadow, mytechtrail, tamiil, zord189, sam.hsuu, nanastraybutt, wanaf, waqasrizvi, jesuscasalesson, notimetospace, duckmast3r, zakia, alexcrypto01, robmojo, yuriy4, newsnownorthwest, santigs, arynews195, varunpinto, mawit07, teamsteem, romiferns, jackandchill, jocieprosza, automaton, acdevan, rubencress, oaldamster, rpcaceres, jamesbattler, debitcoin, fw206, kargul09, ili0braz, nsuthar20, lemouth, lesmouths-travel, drsensor, leoplaw, funnyman, tobetada, yoogyart, cotarelo, ericahan, koyuh8, walhallo777, asgarth, riskdebonair, dec.entralized, denizcakmak, iktisat, fooblic, rollins, francescomai, afukichi, innahandmade, tokita, azis, patrickulrich, krbecrypto, twoshyguys, choppy, vimukthi, kotturinn, lunaticpandora, cryptosharon, evildeathcore, titusfrost, nathen007, andyjim, gulf41, d1sruptive, dewinsv, cesaramos, dmilliz, circa, masterthematrix, kaeserotor, bib15hash, jphamer1, mgzayyar, ura-soul, picciridda2, tribevibes, alchemage, burntmd, elamental, mckeever, dbroze, hopehuggs, yogacoach, ecotrain, photolander, careywedler, mountainjewel, ladysalsa, riverflows, metama, swisswitness, be-empowered, tribe1up, tribetopten, porters, kennysgaminglife, kennyskitchen, terrybrock, wearechange-co, antimedia, felander, krishool, borrowedearth, vibesforlife, steelborne, psycultureradio, abundance.tribe, eco-alex, nateonsteemit, geliquasjourney, naturowlmystic, merryslamb, mys, imperfect-one, whd, rafalski, beleg, julian2013, archisteem, tribesteemup, bryanj4, sterlinluxan, johnvibes, dungeonmaster93, catherinebleish, dannyshine, tftproject, freebornangel, makinstuff, activate.alpha, solarsupermama, revisesociology, libertyepodcast, earthmother, lishu, firststeps, sagescrub, moxieme, davinsh, hempress, nataboo, eugenekul, homestead-guru, steemsmarter, steemer-x, cambridgeport90, smarmy, nmcdougal94, fenngen, theithei, binkyprod, allyson19, antisocialists, nutritree, gertu, glstech, renataboreal, thoughts-in-time, movingman, build-it, trucklife-family, herneilryan, haileyscomet, sanderjansenart, badge-101010, cjsean, jkramer, taskmaster4450, indigoocean, dinglehopper, cabalen, eaglespirit, truthabides, bia.birch, vegan.niinja, belleamie, churdtzu, eftnow, thomaskatan, rappler, nomad-magus, kieranpearson, sovereignalien, krisstofer, brightstar, heart-to-heart, luppers, thegreens, senorcoconut, mhm-philippines, mannacurrency, colinhoward, canadianrenegade, celestialcow, inspirewithwords, cambalache, twinner, angel33, atanas007, atnep111, frankbacon, diamond-head, hugo1954, stayoutoftherz, southernwolf, spiritking, shogo, shaidon, coyotelation, alinequeiroz, coiotes, coiotes.curador, seikatsumkt, investingpennies, thelordsharvest, steemvault, steem4all, utube, sportscontest, fantasycrypto, photohunt, photohunter1, photohunter2, photohunter3, photohunter4, photohunter5, superlotto, cakemonster, steemstorage, fire451, starfighter, seekingalpha, tokensink, knightsunited, akbarbadsha, gavinatorial, jhonvic, quediceharry, titans, jeronimorubio, danyakotov007, grider123, nnaraoh, d-zero, minerthreat, fidget09, vallesleoruther, mjhomb, vikisecrets, mammasitta, jewel32, toothsome, joancaseres, jingdol, boholtamsi, ro-hit, lenmar, shubhamsingh11, rmach, maskuncoro, jaguar18, radiv, abh12345, philnewton, jayna, andre-verbrick, dahaz159, jasonshick, stimialiti, nulledgh0st, helcim, aliriera, djlethalskillz, scuzzy, irynochka, marymi, diebaasman, reavercois, reaverza, koosventerza, arsyadhaqqi, arabisouri, ahmedsy, mrsyria, andrewmusic, ffcrossculture, towilmasz, katrin-lux, daree23, angelbasultoo2, vika122, ltr83, duekie,