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).
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.
Leave Day Two Ecency to POB to:
Read more #ecency posts
Best Posts From Leprechaun
We have not curated any of leprechaun's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From Leprechaun
- The false Morality of Regulation
- Self Port Scanning Tool Available
- When a prospective employee asks for your public key
- Japanese Bombed Pearl Harbor Four Score and four years ago
- Once A Novel Way to Sweeten Things, now Documented Mental Decline
- Hive-Engine Remove The Limit
- Secure Ten Year Old Smart Phone
- Share Your Cryptocurrency Node for $23
- Bitcoincash Supporting Wallets
- Celebrating Fathers day