create account

Day Two Ecency to POB by leprechaun

View this thread on: hive.blogpeakd.comecency.com
· @leprechaun ·
$4.17
Day Two Ecency to POB
Ecency has a secret in its server that it uses with Hive Signer.   The Hive Signer usage happens behind the scenes (except for the part when the user actually logs in with Hive Signer).  


![imagen.png](https://images.hive.blog/DQmQoEeMht3TjH1bHXJWiqEWX6vjw4UTrAPU1tbuLH8W96u/imagen.png)

The configured parameters are as follows:
```
export default {
    usePrivate: process.env.USE_PRIVATE || "0",    // "1" | "0"
    privateApiAddr: process.env.PRIVATE_API_ADDR || "https://domain.com/api",
    privateApiAuth: process.env.PRIVATE_API_AUTH || "privateapiauth",
    hsClientSecret: process.env.HIVESIGNER_CLIENT_SECRET || "hivesignerclientsecret",
    searchApiAddr: process.env.SEARCH_API_ADDR || "https://api.search.com",
    searchApiToken: process.env.SEARCH_API_SECRET || "searchApiSecret",
};
```
I added one more.  The user that Hive Signer knows us as:
```
    hsClientId: process.env.HIVESIGNER_CLIENT_ID || "ecency.app",
```

Setting the environment variable ```HIVESIGNER_CLIENT_ID``` should set the app to what the variable is set to.  I decided to just set it in the configuration file to "steemfiles" but I'm not going to commit it.  I had to set ```HIVESIGNER_CLIENT_SECRET``` to a long string and store the same string over at the Hive Signer website as the ```APP_SECRET``` for @steemfiles.  

After setting hsClientId to "steemfiles", I am able to login with either keys or Hive Signer.  I need to replace the HIVE rewards and balances with POB.    I still have to figure out how I need to set these "constants."


```
  "imageServer": "https://images.ecency.com",
  "nwsServer": "wss://enotify.esteem.app",
```

These two are other servers that interact with Proof of Brain.



---

<center><sub>Posted via [proofofbrain.io](https://www.proofofbrain.io/@leprechaun/day-two-ecency-to-pob)</sub></center>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorleprechaun
permlinkday-two-ecency-to-pob
categoryhive-150329
json_metadata{"tags":["ecency","proofofbrain","pob","programming","ilovecoding"],"users":["steemfiles"],"image":["https://images.hive.blog/DQmQoEeMht3TjH1bHXJWiqEWX6vjw4UTrAPU1tbuLH8W96u/imagen.png"],"app":"proofofbrain/0.1","format":"markdown","canonical_url":"https://www.proofofbrain.io/@leprechaun/day-two-ecency-to-pob"}
created2021-05-08 23:09:42
last_update2021-05-08 23:09:42
depth0
children8
last_payout2021-05-15 23:09:42
cashout_time1969-12-31 23:59:59
total_payout_value2.090 HBD
curator_payout_value2.076 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,824
author_reputation36,778,764,966,701
root_title"Day Two Ecency to POB"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id103,581,362
net_rshares6,193,647,111,214
author_curate_reward""
vote details (45)
@allcapsonezero ·
wishing you luck on this, that is all I can do.



---

<center><sub>Posted via [proofofbrain.io](https://www.proofofbrain.io/@allcapsonezero/qsuxqp)</sub></center>
👍  
properties (23)
authorallcapsonezero
permlinkqsuxqp
categoryhive-150329
json_metadata{"tags":["proofofbrain"],"app":"proofofbrain/0.1","canonical_url":"https://www.proofofbrain.io/@allcapsonezero/qsuxqp"}
created2021-05-09 20:47:15
last_update2021-05-09 20:47:15
depth1
children0
last_payout2021-05-16 20:47:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length164
author_reputation21,396,448,885,581
root_title"Day Two Ecency to POB"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id103,598,576
net_rshares302,992,810
author_curate_reward""
vote details (1)
@battleaxe ·
Just read how much you are doing for the community and wanted to thank you, you rock!



---

<center><sub>Posted via [proofofbrain.io](https://www.proofofbrain.io/@battleaxe/qsuos3)</sub></center>
properties (22)
authorbattleaxe
permlinkqsuos3
categoryhive-150329
json_metadata{"tags":["proofofbrain"],"app":"proofofbrain/0.1","canonical_url":"https://www.proofofbrain.io/@battleaxe/qsuos3"}
created2021-05-09 17:33:39
last_update2021-05-09 17:33:39
depth1
children0
last_payout2021-05-16 17:33:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length197
author_reputation97,969,256,878,476
root_title"Day Two Ecency to POB"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id103,595,386
net_rshares0
@bitcoinflood ·
Won't lie there is so much I want to create but my dev abilities are semi small I'm mostly marketing now :(



---

<center><sub>Posted via [proofofbrain.io](https://www.proofofbrain.io/@bitcoinflood/qsviss)</sub></center>
properties (22)
authorbitcoinflood
permlinkqsviss
categoryhive-150329
json_metadata{"tags":["proofofbrain"],"app":"proofofbrain/0.1","canonical_url":"https://www.proofofbrain.io/@bitcoinflood/qsviss"}
created2021-05-10 04:21:09
last_update2021-05-10 04:21:09
depth1
children1
last_payout2021-05-17 04:21:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length222
author_reputation1,211,340,068,601,531
root_title"Day Two Ecency to POB"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id103,604,018
net_rshares0
@leprechaun ·
I've uploaded the changes to GitHub.  See my next Post.
properties (22)
authorleprechaun
permlinkre-bitcoinflood-2021510t112948317z
categoryhive-150329
json_metadata{"tags":["proofofbrain"],"app":"ecency/3.0.16-vision","format":"markdown+html"}
created2021-05-10 14:29:51
last_update2021-05-10 14:29:51
depth2
children0
last_payout2021-05-17 14:29:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length55
author_reputation36,778,764,966,701
root_title"Day Two Ecency to POB"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id103,613,426
net_rshares0
@corporateay ·
It's good to have Ecency on Pob, I have to get my a** on that.



---

<center><sub>Posted via [proofofbrain.io](https://www.proofofbrain.io/@corporateay/qswrvu)</sub></center>
properties (22)
authorcorporateay
permlinkqswrvu
categoryhive-150329
json_metadata{"tags":["proofofbrain"],"app":"proofofbrain/0.1","canonical_url":"https://www.proofofbrain.io/@corporateay/qswrvu"}
created2021-05-10 20:36:36
last_update2021-05-10 20:36:36
depth1
children0
last_payout2021-05-17 20:36:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length176
author_reputation9,065,930,549,366
root_title"Day Two Ecency to POB"
beneficiaries
0.
accounthiveonboard
weight100
1.
accountpeakd
weight300
2.
accounttipu
weight100
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id103,621,207
net_rshares0
@informationvault ·
I really wish I could contribute to this,but I am not good at coding,but I will try and make some research to be able to find a solution...



---

<center><sub>Posted via [proofofbrain.io](https://www.proofofbrain.io/@informationvault/qsttgc)</sub></center>
properties (22)
authorinformationvault
permlinkqsttgc
categoryhive-150329
json_metadata{"tags":["proofofbrain"],"app":"proofofbrain/0.1","canonical_url":"https://www.proofofbrain.io/@informationvault/qsttgc"}
created2021-05-09 06:17:00
last_update2021-05-09 06:17:00
depth1
children0
last_payout2021-05-16 06:17:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length258
author_reputation-186,109,952,514
root_title"Day Two Ecency to POB"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id103,586,053
net_rshares0
@racemlaadhar ·
I don't know much about coding but since ecency is an extent of nod in hive , which allows the creation of new blocks.
maybe you could do the same in pob.
i donno, not sure. u know it better



---

<center><sub>Posted via [proofofbrain.io](https://www.proofofbrain.io/@racemlaadhar/qsta87)</sub></center>
👍  
properties (23)
authorracemlaadhar
permlinkqsta87
categoryhive-150329
json_metadata{"tags":["proofofbrain"],"app":"proofofbrain/0.1","canonical_url":"https://www.proofofbrain.io/@racemlaadhar/qsta87"}
created2021-05-08 23:21:45
last_update2021-05-08 23:21:45
depth1
children0
last_payout2021-05-15 23:21:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length305
author_reputation1,713,746,315,182
root_title"Day Two Ecency to POB"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id103,581,511
net_rshares208,728,201
author_curate_reward""
vote details (1)
@romirspc ·
keep spirit sir, we're always supporting you to upgrading the POB platform and increase user experience on platform soon, you're so brilliant !



---

<center><sub>Posted via [proofofbrain.io](https://www.proofofbrain.io/@romirspc/qsvhmk)</sub></center>
properties (22)
authorromirspc
permlinkqsvhmk
categoryhive-150329
json_metadata{"tags":["proofofbrain"],"app":"proofofbrain/0.1","canonical_url":"https://www.proofofbrain.io/@romirspc/qsvhmk"}
created2021-05-10 03:54:21
last_update2021-05-10 03:54:21
depth1
children0
last_payout2021-05-17 03:54:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length254
author_reputation49,375,973,686,883
root_title"Day Two Ecency to POB"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id103,603,741
net_rshares0