In this next update, I need to configure a domain for use with my PayID server. But to do that, I needed to do some more setup! I had to install several dependencies to be able to setup and configure my GitHub to make this work. I ran into some trouble with cloning the repository. Yup, I’m a newb. I warned you I wasn’t a programmer!
Here’s what installing that looked like.
I had to create and then add a ssh key to my Github before cloning the repository worked.
I had purchased a few domains from Unstoppable Domains prior and even got one free that you can read about here that I’ll likely flesh out next personally, but for the purpose of this blog post I thought it would be best to cover a method anyone with a GitHub account can use to host the server. I followed
https://dev.to/hammertoe/hosting-a-payid-on-github-pages-5fp0
where Matt Hamilton performs a walk-through demonstration of configuring just that. Once the repository is successfully cloned, you must navigate into the dir and spin up docker.
Now, it’s necessary to create a file named “pay” and I used vim to create that at the root of ~/payid with the following text
{
"addresses": [
{
"paymentNetwork": "XRPL",
"environment": "MAINNET",
"addressDetailsType": "CryptoAddressDetails",
"addressDetails": {
"address": "rNJo4ozALHi2sE2cJGY5ksrCagzp9B2UdG"
}
}
{
"paymentNetwork": "BTC",
"environment": "MAINNET",
"addressDetailsType": "CryptoAddressDetails",
"addressDetails": {
"address": "1KLyMAckScSyZL2aDbjycQ9BCZiw7eE6Hb"
}
}
],
"payId": "pay$klymacks.github.io"
}
Make sure that if you use this example that you edit out the PayID and your receiving addresses with your own. Any of the supported currencies should theoretically work!
Then, we push those changes.
Notice the during the push I was prompted for my GitHub creds. Afterwards, I ran a curl command to confirm that my PayID returns as intended. And it does!
I’ll likely post a follow-up with test and final configurations and takeaways. Although I’m not a developer, I could definitely get used to this; I’m having a great time! If this helped you, please consider donating by sending crypto fuel to my PayID development fund- by now you should now the best way to send me funds. 🙂 Thanks for stopping by!
pay$klymacks.github.io
–klymacks
About the Author:
I’m an early cryptocurrency advocate. I discovered Bitcoin in 2013 when it was trading for around $200 and have been completely hooked since. A developer buddy and I looked into trading in the summer of 2017 and I’ve been dabbling with that since. Soon after that, I started mining Ethereum and other currencies with GPU miners so the business of keeping all that organized quickly escalated to being a full time job alongside my normal 9-5. I thought I’d start writing some of my experiences down to keep them straight and to reference if I ever needed or wanted to so I started writing in Steem, and I enjoyed blogging about my mining chronicles for awhile. But, I lost interest in mining as the profits dwindled with increasing overhead so I eventually stepped back and setup a few gaming rigs for my son and I so that we could play some of these games I had been missing on Vega graphics together and liquidated most of my equipment. I still mine a little Ether and Zilliqa today on ezil. I spend my free time exploring and contributing feedback to various blockchain projects today, you can probably find me in the Telegram or Discord for the latest blockchain technology learning about it and asking questions. I’m writing on Publish0x lately about stuff I like and sharing these posts on Twitter at @klymacks for now. Will probably expand to Blurt when that releases, the newest fork of Steem under the same name.