BitShares Forum

Main => General Discussion => Topic started by: bytemaster on February 03, 2016, 03:21:09 pm

Title: API Servers for Wallet
Post by: bytemaster on February 03, 2016, 03:21:09 pm
We are looking for more redundancy in the API servers that can be integrated into the default wallet.  Currently we have bitshares.openledger.info and bitshares.dacplay.org.  To prevent/minimize downtime in the event of a server failure we would like to see additional API servers available.

Also we would like to see additional faucets set up and running.  The faucets have control over the referral program.   We will integrate the faucet / API servers into the default light wallet client.  This way the user can quickly and easily switch.

All that is required is a domain name and vetting by this community. 
Title: Re: API Servers for Wallet
Post by: noisy on February 03, 2016, 03:36:53 pm
what are the requirements of the server (CPU, RAM, cores, etc)?

Will you provide a necessary support (if needed) to setup everything or willing people will have to setup everything that alone?
Title: Re: API Servers for Wallet
Post by: xeroc on February 03, 2016, 03:39:01 pm
On it ... goona see one on bitshares.eu soonish .. need to set my dns and machines first ..
I would like to also setup a 'gdnsd' for localized dns lookup of api servers near you .. but that might take some more time (and money)

Everyone wanting to setup a facuet can read this here:
http://docs.bitshares.eu/testnet/7-faucet.html
Title: Re: API Servers for Wallet
Post by: betax on February 03, 2016, 04:10:14 pm
I can setup one on bitshares.world, any special requirements?
Title: Re: API Servers for Wallet
Post by: abit on February 03, 2016, 06:02:49 pm
We are looking for more redundancy in the API servers that can be integrated into the default wallet.  Currently we have bitshares.openledger.info and bitshares.dacplay.org.  To prevent/minimize downtime in the event of a server failure we would like to see additional API servers available.

Also we would like to see additional faucets set up and running.  The faucets have control over the referral program.   We will integrate the faucet / API servers into the default light wallet client.  This way the user can quickly and easily switch.

All that is required is a domain name and vetting by this community.
In addition: need a SSL/TLS certificate so it can serve secure connections:
need to use wss://youdomain.com/ws but not ws://youdomain.com/ws.

We've ever had 3 more API servers, but all of them don't support secure connections, so at the end we can't use them.
Title: Re: API Servers for Wallet
Post by: karnal on February 03, 2016, 08:20:25 pm
BM,

I'd like to get a few running myself, however see https://github.com/cryptonomex/graphene/issues/522

The network is probably 100% Linux right now, some diversity might be helpful.

p.s: No point in even trying with boost <= 1.6 right? (open and freebsd have <1.6 right now)
Title: Re: API Servers for Wallet
Post by: puppies on February 03, 2016, 08:33:13 pm
I'm working on setting up a faucet but am running into an issue
https://bitsharestalk.org/index.php/topic,21311.0.html
Seems to be the same problem from
https://github.com/cryptonomex/faucet/issues/1

Any help on what I am doing wrong would be appreciated
Title: Re: API Servers for Wallet
Post by: merivercap on February 03, 2016, 08:47:58 pm
We are looking for more redundancy in the API servers that can be integrated into the default wallet.  Currently we have bitshares.openledger.info and bitshares.dacplay.org.  To prevent/minimize downtime in the event of a server failure we would like to see additional API servers available.

Also we would like to see additional faucets set up and running.  The faucets have control over the referral program.   We will integrate the faucet / API servers into the default light wallet client.  This way the user can quickly and easily switch.

All that is required is a domain name and vetting by this community.
In addition: need a SSL/TLS certificate so it can serve secure connections:
need to use wss://youdomain.com/ws but not ws://youdomain.com/ws.

We've ever had 3 more API servers, but all of them don't support secure connections, so at the end we can't use them.

BTW what do you guys think of Let's Encrypt for SSL?: https://letsencrypt.org/

We should have a faucet available to use soon.. we currently have the Graphene wallet running until we get our wallet ready.
Title: Re: API Servers for Wallet
Post by: betax on February 04, 2016, 04:25:49 am
Could this be done as a deployment package in Azure? Both Faucet an API. (Thinking of killing 2 birds).
Title: Re: API Servers for Wallet
Post by: xeroc on February 04, 2016, 07:34:38 am
Could this be done as a deployment package in Azure? Both Faucet an API. (Thinking of killing 2 birds).
Never worked with Azure, but this can certainly be done with docker ..
Title: Re: API Servers for Wallet
Post by: Xypher on February 04, 2016, 07:37:24 am
We had offered an i7, 32gb ram , 10 tb bandwidth, 100 mbps server to a project at the nxt community for approx 450 USD (1/3rd of retail rate) - but they didn't need it.
If needed, am open to offering it for this. We can also have more servers deployed from our infrastructure at a highly subsidized rate.

Regards
Title: Re: API Servers for Wallet
Post by: xeroc on February 04, 2016, 07:57:45 am
that machine is a little overkill .. it could house 5 witness nodes :)
Title: Re: API Servers for Wallet
Post by: betax on February 04, 2016, 07:58:15 am
Could this be done as a deployment package in Azure? Both Faucet an API. (Thinking of killing 2 birds).
Never worked with Azure, but this can certainly be done with docker ..

We were talking about demonstrating something to Azure as a chain which can hosted there, obviously they also support docker.

This is the Ethereum Blockapps Strato raw template https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/blockapps-strato/azuredeploy.json
here is the main deployment  https://azure.microsoft.com/en-us/documentation/templates/blockapps-strato/
where is published https://azure.microsoft.com/en-us/documentation/templates/
and the contact https://azure.microsoft.com/en-gb/blog/ethereum-blockchain-as-a-service-now-on-azure/

:)
Title: Re: API Servers for Wallet
Post by: betax on February 04, 2016, 08:02:13 am
i think it will be as simple as to pass the different params for docker.
Title: Re: API Servers for Wallet
Post by: Xypher on February 04, 2016, 08:08:42 am
that machine is a little overkill .. it could house 5 witness nodes :)

That's a fraction of a fraction of our infrastructure :)
Is there a financial incentive for hosting the nodes?
Documentation ?
Title: Re: API Servers for Wallet
Post by: xeroc on February 04, 2016, 08:30:16 am
that machine is a little overkill .. it could house 5 witness nodes :)

That's a fraction of a fraction of our infrastructure :)
Is there a financial incentive for hosting the nodes?
Documentation ?
No financial benefits.
http://docs.bitshares.eu/bitshares/tutorials/full-node-usage.html

I have not yet read into hosting a SSL secured node but that might come eventually ..
Title: Re: API Servers for Wallet
Post by: puppies on February 09, 2016, 02:33:46 am
I have set up a wallet/faucet server with ssl.  it is at dele-puppy.com  It is currently usable.  Please feel free to test.

I will still need to set up automatic renewal of my ssl certificates, and change the account the wallet is pulling from, but it can be used now. 

I set this wallet/faucet up more as a learning experience than anything else, but if there is a need for it, I can keep it up and updated. 

Please let me know if anything is not working as intended.  It is running todays wallet upgrade.
Title: Re: API Servers for Wallet
Post by: puppies on February 09, 2016, 04:34:25 am
that machine is a little overkill .. it could house 5 witness nodes :)

That's a fraction of a fraction of our infrastructure :)
Is there a financial incentive for hosting the nodes?
Documentation ?
No financial benefits.
http://docs.bitshares.eu/bitshares/tutorials/full-node-usage.html

I have not yet read into hosting a SSL secured node but that might come eventually ..
https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-14-04 free and easy
Adding ssl was super easy.  I used
Title: Re: API Servers for Wallet
Post by: abit on February 09, 2016, 08:56:16 am
I have set up a wallet/faucet server with ssl. it is at dele-puppy.com  It is currently usable.  Please feel free to test.

I will still need to set up automatic renewal of my ssl certificates, and change the account the wallet is pulling from, but it can be used now. 

I set this wallet/faucet up more as a learning experience than anything else, but if there is a need for it, I can keep it up and updated. 

Please let me know if anything is not working as intended.  It is running todays wallet upgrade.
Thanks for the contribution.
So full URL is wss://dele-puppy.com/ws ?

//Update: it works for me.

//Update 2: pull request submitted https://github.com/cryptonomex/graphene-ui/pull/729