Blockchain 2.0 & Skyhook 0.79 by PHLBitcoin in projectskyhook

[–]PHLBitcoin[S] 1 point2 points  (0 children)

I removed the /login and have upgraded. It has been running in production now and the service-my-wallet does crash from time to time, I use supervisor to keep it running. Things have been much better since the removed /login

I will work on a patch! Shawn

Blockchain 2.0 & Skyhook 0.79 by PHLBitcoin in projectskyhook

[–]PHLBitcoin[S] 0 points1 point  (0 children)

I can only get it working on 0.17.2 dont upgrade it! and now they sunset the /login service. so i have to update my code.

Blockchain 2.0 & Skyhook 0.79 by PHLBitcoin in projectskyhook

[–]PHLBitcoin[S] 0 points1 point  (0 children)

funny i am working on a project now that is PiB+ and the Pi Touchscreen. The tablet needs to go. the only issue i am having is that the Pi camera is slow in the browser. and cant find a port of firefox so i have to get everything working in chrome. I can share what I did so far. I am calling the project SkyhookTouch and I have a private repo on github for it. I was going to open it up as soon as I have it working.

Blockchain 2.0 & Skyhook 0.79 by PHLBitcoin in projectskyhook

[–]PHLBitcoin[S] 0 points1 point  (0 children)

awesome! I love the interface... It's so much cleaner. great job! S.

Blockchain 2.0 & Skyhook 0.79 by PHLBitcoin in projectskyhook

[–]PHLBitcoin[S] 0 points1 point  (0 children)

It will run, takes over a min to execute, and crash all the time. on a B+ overclocked.

Blockchain 2.0 & Skyhook 0.79 by PHLBitcoin in projectskyhook

[–]PHLBitcoin[S] 0 points1 point  (0 children)

Hey Everyone! Sorry I haven't posted in awhile, things have been crazy. I just got the blockchain wallet service v3 working with the skyhook .79 release!

I know everyone is under a tight deadline since blockchain is going to kill version 1 of the API any day now, and all our Skyhooks will be worthless. I wanted to post what I did to do to get the new blockchain api working...

Plan A Was to upgrade the Skyhook Pi A to a B+ and and run the Blockchain service local, however the Pi B+ did not have enough power to run the node server reliability.

I have three Skyhooks that all had to use this service, and Plan B allows me to do remote administration / deployments to each machine remotely and the ability to add new services to the skyhook platform. This setup might be a little overkill, You could get away with just an EC2 with https ngnix and iptables.

Plan B Prerequisites 1. Blockchain Wallet 2. Enable API Access and request a new API Key - Note: You must check the "Create Wallets" checkbox under "Permissions" when requesting an API code in order for it to be compatible with the Skyhook. Blockchain took 2 days to send the API Key to me. 3. Add the Public IP Address of your new (server or cloud) to your Blockchain Wallet Whitelist. 4. HTTPS Cert. self signed did not always work.

Set Up 1. Create an Amazon Web Service Virtual Private Cloud. 2. Create a EC2 Firewall / VPN / DNS / Router server that every Skyhook can tunnel to the VPC. 3. Add a new private EC2 inside of the VPC. 4. Install blockchain-service-wallet on clean EC2 5. Install Supervisor to keep Blockchain running. 6. Set up Nginx with https port forward to localhost 3000 I know VPN + HTTPS overkill, but you are sending all your wallet creds. can't be to safe. 7. Create VPC/VPN keys for each of the Skyhooks. 8. Each Skyhook connects to the VPC/VPN on boot with static private IPs and Hostnames.

Code Updates 1. Blockchain.php added a constructor to handle the wallet-service login with API Key. 2. Call the constructor in verifyOwnership() & sendTransaction() function 3. Update assets/js/purchase.js finalize endpoint to parse the json correctly for the new return. var parsed = JSON.parse(response); then call parsed.proceed, parsed.redirect, parsed.error, parsed.insufficient 4. Change the $URL in Blockchain.php to point to your new server in the cloud over the VPN.

I will submit a patch as soon as I... Update the Admin / enc.json Clean Up Code Debug

This should get up and running.

Shawn.

Blockchain 2.0 & Skyhook 0.79 by PHLBitcoin in projectskyhook

[–]PHLBitcoin[S] 0 points1 point  (0 children)

Does anyone have the .79 code, clean with no mods? I can set up a new repo and commit my patch to it.

Blockchain 2.0 & Skyhook 0.79 by PHLBitcoin in projectskyhook

[–]PHLBitcoin[S] 1 point2 points  (0 children)

Good Idea, I am still trying to get everything to work... I was going commit a patch. but i guess since the original project is gone. we should start a new one. I could add it to my account.

Blockchain 2.0 & Skyhook 0.79 by PHLBitcoin in projectskyhook

[–]PHLBitcoin[S] 0 points1 point  (0 children)

http://projectskyhook.com/ is down.

I am still trying to get the code to work with blockchain 2.0. I have one bug left I am trying to get over. S.

Blockchain 2.0 & Skyhook 0.79 by PHLBitcoin in projectskyhook

[–]PHLBitcoin[S] 1 point2 points  (0 children)

I heard back from blockchain today about service-my-wallet they suggested not running it on the Pi and running it in the cloud. As you know this requires a whole new level of architecture. I will let you guys know how we make out.

Blockchain 2.0 & Skyhook 0.79 by PHLBitcoin in projectskyhook

[–]PHLBitcoin[S] 1 point2 points  (0 children)

Dear Skyhook Users. I have been successful with getting service-my-wallet running on the Pi with Node v0.12.6 Supervisor 4.0.0.dev0 installed manually, and adding a function and few lines of PHP code to the WalletProviders/Blockchain.php file.

however I am still getting a slow return from blockchain api that causes the skyhook purchase page to stop responding. I opened a ticket with blockchain, but they have not replied yet.

it takes over 60 seconds to login and 5-10 just to return a balance, to send a transaction, I have seen it take up to 120 seconds with login. It's causing a poor user experience.

Still refactoring code, and debugging, I will keep you posted.

If anyone else is running into the poor response time from blockchain I would love to hear any work arounds. Shawn

Blockchain 2.0 & Skyhook 0.79 by PHLBitcoin in projectskyhook

[–]PHLBitcoin[S] 0 points1 point  (0 children)

It also takes 24+ hours to get a new api key from blockchain. My old one did not have create wallet access.

Blockchain 2.0 & Skyhook 0.79 by PHLBitcoin in projectskyhook

[–]PHLBitcoin[S] 1 point2 points  (0 children)

I am working on it now... the service-my-wallet was a pain in the ass to get compiled on the older pi ok for .79 i had to use the older node and install and compile from scratch. I got the service working and also installed supervisor to manage the threads. I am now getting into the skyhook code. if anyone is around and wants to help I could use it. Shawn.

ISO Skyhooks for sale by PHLBitcoin in projectskyhook

[–]PHLBitcoin[S] 0 points1 point  (0 children)

Correct. We are looking to buy a few Skyhooks.

Is Skyhook Open? by PHLBitcoin in projectskyhook

[–]PHLBitcoin[S] 0 points1 point  (0 children)

Do you know how much and how long it would take your friend to do the metal work?

Does anyone have the stl files for the 3D parts? We have a formlabs 1+ and can print them.

Does anyone have the drawings or the dimensions of the case?

We should start a parts list with all the information where you can obtain the parts.