added content masternode

This commit is contained in:
VitaliyTr 2017-02-22 22:44:59 +07:00
parent 5c4acbfd4b
commit ffefbba5b0
4 changed files with 297 additions and 3 deletions

View file

@ -1,6 +1,61 @@
# For multiple paragraph content add two line breaks
pages:
masternodes:
title: Dash Official Website | Dash Crypto Currency
description: Dash is Digital Cash
hero-heading: Masternodes
hero-text: Masternodes are computers that run a dash wallet and make decisions, such as locking transactions with InstantSend, coordinate mixing of coins, and voting on budget funding.
what-btn: Buy with fiat currency
how-btn: Buy with cryptocurrency
network-btn: Full Exchanges Listing
p2p-btn:
marsternode-text: Masternodes are required to have 1000 Dash collateral, a dedicated IP address, and be able to run 24 hours a day without a more than a 1 hr connection loss. Masternodes get paid 45% of the block reward on every block, which is distributed to masternodes one at a time. Typically, around 2 dash is paid to each masternode every 7 days.
what-heading: WHAT IS MASTERNODE?
what-text: |
In Evolution, you will be able to connect directly with merchants to make purchases or even setup auto debits to pay for subscription services. Every merchant that integrates Dash will be searchable on the blockchain. Youll be able to rate purchases so the community can decide which vendors are providing quality products and services.”chain and you can rate purchases so the community can decide whos providing a good service or not.
Masternodes are also given voting rights on proposals. Each masternode has 1 vote and this vote can be used on budget proposals or important decisions that affect Dash. For a complete list of current proposals please click here.
earn-heading: EARN A MASTERNODE?
earn-text: |
Masternodes cost money and effort to host so they are paid a share of the block reward to incentivize them. With current masternode numbers and rewards masternodes earn approximately a 11% return on 1000 Dash for the year of 2016. This reward falls off in subsequent years but as the value of Dash is rising and the supply of Dash goes down, masternodes should still be sufficiently incentivized.
This projection also doesnt count the fees that masternodes earn whenever someone uses its services (InstantSend and PrivateSend).
what-hero-heading: What is MasterNode?
instantiend-text: InstantSend (instant transactions). In contrast, Bitcoin takes about 10 minutes to confirm a payment.
private-send-text: (anonymous transactions). In contrast, Bitcoin transactions are totally public and traceable. Only the identity of the addresses is anonymous.
governance-text: (masternodes govern, while the blockchain funds development). In contrast, Bitcoin is controlled by a few big miners and funded by 3rd party centralised institutions with self interests.
evolution-text: a decentralized payment processor (think a decentralized Paypal).
host-heading: HOST A MASTERNODE
host-text-right: |
1000 Dash: Arguably the hardest part. Dash can be obtained from exchanges such as Poloniex, Bittrex and Shapeshifts service is also an excellent way. For the full list of places to obtain Dash click here.
A server or a VPS installed with Linux: For the purposes of this guide we will be used Ubuntu 14.04 LTS. We recommend cheap VPSes such as from Vultr and DigitalOcean though any decent provider will do. Generally a low specced one will do. I use the 5 USD ones from Vultr and they work fine.
A dedicated IP address: These usually come with the VPS/server.
host-text-left: |
A little time: When I first got into masternodes, there were only a few guides around and did not cover all the scenarios. It took days for me to figure out the best ways to do everything. However, the process now takes a few minutes. Here are a few guides that I hope will make the process a lot easier.
If you cant be bothered with setting up and maintaining your own and dont mind paying a little extra, you can go with paid masternode hosters which will greatly simplify the process. A few good ones can be found here.
host-btn: Start Masternode
host-table-heading: MasterNodes Network
p2p-text: |
Text about peer2peer Thanks to incentivization, Dashs network has grown to 4,100 masternodes since launch in 2014, meaning Dashs peer-to-peer network is one of the largest in the world.
More nodes means more secure services, and more capacity for end-users to access Digital Cash from anywhere in the world, 24/7.
Text about peer2peer Thanks to incentivization, Dashs network has grown to 4,100 masternodes since launch in 2014, meaning Dashs peer-to-peer network is one of the largest in the world.
More nodes means more secure services, and more capacity for end-users to access Digital Cash from anywhere in the world, 24/7.
p2p-btn: Network Stats
buy:
title: Dash Official Website | Dash Crypto Currency
description: Dash is Digital Cash
@ -21,8 +76,6 @@ pages:
how-btc-text: The system would work as a decentralized voting mechanism setup ipay them directly after approval of the work in a decentralized fashion.
how-btc-btn: Show Video
budget:
title: Dash Official Website | Dash Crypto Currency
description: Dash is Digital Cash

View file

@ -0,0 +1,26 @@
<div class="hero" id="hero">
<div class="hero__background">
{% srcset hero/community.jpg ppi:1,2 class="hero__background-image" %}
{% srcset_source width:1920 %}
{% srcset_source width:960 %}
{% endsrcset %}
</div>
<!-- Navigation -->
{% include nav-desktop.html %}
<!-- Hero content -->
<div class="hero__content">
<h1 class="hero__title">{% t pages.buy.hero-heading %}</h1>
<p class="hero__lead">{% t pages.buy.hero-text %}</p>
<div class="hero__buttons">
<a href="#" class="btn-white-solid">{% t pages.buy.buy-fiat-btn %}</a>
<a href="#" class="btn-white-solid">{% t pages.buy.buy-crypto-btn %}</a>
<a href="#" class="btn-white-solid">{% t pages.buy.full-list %}</a>
</div>
</div>
<!-- Hero stripe -->
<div class="hero__stripe"></div>
</div>

View file

@ -18,7 +18,7 @@ description: pages.budget.description
<div class="section__content">
<div class="section__lead">{% tmd pages.budget.description-text-hero %}</div>
<br>
<p>{% tmd pages.budget.description %}</p>
<p>{% t pages.budget.description %}</p>
</div>
</section>

215
masternodes/index.html Normal file
View file

@ -0,0 +1,215 @@
---
layout: default
title: pages.budget.title
description: pages.budget.description
---
{% include hero/budget.html %}
{% include base.html %}
<div class="page page--home">
<section class="section">
<div class="section__content">
<div class="section__lead">{% tmd pages.marsternode.marsternode-text %}</div>
</div>
</section>
<section class="section">
<div class="section__content">
<div class="row">
<div class="col-sm-6">
<h2>{% t pages.marsternode.what-heading %}</h2>
<p>{% t pages.marsternode.what-text %}</p>
</div>
<div class="col-sm-6">
<h2>{% t pages.marsternode.earn-heading %}</h2>
<p>{% t pages.marsternode.earn-text %}</p>
<table id="exchanges">
<thead>
<tr>
<th>Exchange</th>
<th>Volume (24h)</th>
<th>Price</th>
<th>Volume (%)</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
</section>
<section class="section">
<div class="section__content">
<div class="row">
<div class="col-sm-3">
<img src="" alt="">
<h2>InstantSend</h2>
<p>{% t pages.marsternode.instantiend-text %}</p>
</div>
<div class="col-sm-3">
<img src="" alt="">
<h2>PrivateSend</h2>
<p>{% t pages.marsternode.private-send-text %}</p>
</div>
<div class="col-sm-3">
<img src="" alt="">
<h2>Decentralised <br>Governance</h2>
<p>{% t pages.marsternode.governance-text %}</p>
</div>
<div class="col-sm-3">
<img src="" alt="">
<h2>Dash Evolution</h2>
<p>{% t pages.marsternode.evolution-text %}</p>
</div>
</div>
</div>
</section>
<section class="section">
<div class="section__content">
<div class="section__lead">{% tmd pages.marsternode.host-heading %}</div>
<div class="row">
<div class="col-sm-6">
{% tmd pages.marsternode.host-text-right %}
</div>
<div class="col-sm-6">
{% tmd pages.marsternode.host-text-left %}
<a href="#" class="btn-blue">{% t pages.marsternode.host-btn %}</a>
</div>
</div>
</div>
</section>
<section class="section">
<div class="section__content">
<div class="section__lead">
{% t pages.marsternode.host-table-heading %}
<table id="blocks">
<thead>
<tr>
<th>Height</th>
<th>Block Time</th>
<th>Transactions</th>
<th>Value Out</th>
<th>Difficulty</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</section>
<section class="section">
<div class="section__content">
<div class="section__lead">P2P</div>
<div class="row">
<div class="col-sm-6">
{% tmd pages.marsternode.p2p-text %}
<a href="#" class="btn-blue">{% t pages.marsternode.p2p-btn %}</a>
</div>
<div class="col-sm-6">
<img src="" alt="">
</div>
</div>
</div>
</section>
</div>
<script type="text/javascript">
window.onload = function () {
$( document ).ready(function(){
// Get the exchange data
$.ajax({
url: "{{ site.api }}/exchange/",
error: function(jqXHR, textStatus, errorThrown) {
console.log(jqXHR);
console.log(textStatus);
console.log('errorThrown:');
}
})
.done(function(response){
var exchanges = response;
exchanges.map(function(exchange){
if(exchange){
console.log('exchange',exchange);
var name = exchange.exchange,
url = exchange.url
volume = "$" + formatCurrency(exchange.volume,0),
price = "$" + formatCurrency(exchange.price),
change = formatNumber(exchange.percent_change);
$("#exchanges>tbody").append('<tr><td data-header="Exchange"><a target="_blank" href="' + url + '">' + name + '</a></td><td data-header="Volume (24h)">' + volume + '</td><td data-header="Price">' + price + '</td><td data-header="Volume (%)">' + change + '%</td></tr>');
}
});
});
// Get the current number of masternodes.
$.ajax({
url: "{{ site.api }}/masternodes/stats/"
})
.done(function(response){
console.log('masternode stats', response.stats);
var masternodes_count = formatNumber(response.stats['count']),
masternodes_max = formatNumber(response.stats['max']);
$("#masternodes_count").text(masternodes_count);
$("#masternodes_max").text(masternodes_max);
});
// Get the budget proposals
$.ajax({
url: "{{ site.api }}/budgets/"
})
.done(function(response){
var proposals = response.proposals;
proposals.map(function(proposal){
var title = proposal.title ? proposal.title : proposal.name,
url = proposal.dw_url,
owner = proposal.owner_username,
votes_yes = proposal.yes,
votes_no = proposal.no,
required_votes = proposal.remaining_yes_votes_until_funding,
amount_monthly = formatCurrency(proposal.monthly_amount)
will_be_funded = proposal.will_be_funded ? "yes" : "no";
$("#budgets>tbody").append('<tr><td data-header="Title"><a href="' + url + '" target="_blank">' + title + '</a></td><td data-header="Owner">' + owner + '</td><td data-header="Votes (yes/no)">' + votes_yes + '/' + votes_no + '</td><td data-header="Votes Required">' + required_votes + '</td><td data-header="Monthly Amount">' + amount_monthly + '</td><td data-header="Will be Funded">' + will_be_funded + '</td></tr>');
});
});
// Get the blockchain info
$.ajax({
url: "{{ site.api }}/chain/latestBlocks/"
})
.done(function(response){
var blocks = response.blocks;
blocks.map(function(block){
var height = block.height,
age = moment.unix(block.time).format("LLL"),
txs = block.txlength,
out = block.cbvalue,
difficulty = block.difficulty;
$("#blocks>tbody").append('<tr><td data-header="Height">' + height + '</td><td data-header="Block Time">' + age + '</td><td data-header="Transactions">' + txs + '</td><td data-header="Value Out">' + out + '</td><td data-header="Difficulty">' + difficulty + '</td></tr>');
});
});
});
}
</script>