mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-09-03 02:35:11 +00:00
small quickstart changes
This commit is contained in:
parent
a010f32b8b
commit
55fa025059
2 changed files with 2 additions and 8 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
class DeveloperActions extends Actions
|
class DeveloperActions extends Actions
|
||||||
{
|
{
|
||||||
const DEVELOPER_REWARD = 100,
|
const DEVELOPER_REWARD = 40,
|
||||||
API_DOC_URL = 'https://lbryio.github.io/lbry/';
|
API_DOC_URL = 'https://lbryio.github.io/lbry/';
|
||||||
|
|
||||||
public static function executeQuickstart(string $step = null)
|
public static function executeQuickstart(string $step = null)
|
||||||
|
|
|
@ -1,15 +1,9 @@
|
||||||
<div class="notice notice-info">
|
|
||||||
<h4>Temporarily Disabled</h4>
|
|
||||||
<p>Automated credit dispensing has been disabled thanks to some lovely people from Thailand.</p>
|
|
||||||
<p>If you <a href="https://slack.lbry.io">join our chat</a>, we'll send you some manually.</p>
|
|
||||||
<div class="meta">No, the lovely people from Thailand did not automate away very many credits. We're both impressed and annoyed by their dedication to hard work for tens of dollars.</div>
|
|
||||||
</div>
|
|
||||||
<h3 id="credits">Credits</h3>
|
<h3 id="credits">Credits</h3>
|
||||||
<p>So far, everything we've done with LBRY has been free. However, some actions, such as reserving a name or purchasing paid content, require credits.</p>
|
<p>So far, everything we've done with LBRY has been free. However, some actions, such as reserving a name or purchasing paid content, require credits.</p>
|
||||||
<p>To receive credits, first generate a wallet address:</p>
|
<p>To receive credits, first generate a wallet address:</p>
|
||||||
<code class="code-bash"><span class="code-bash__prompt">$</span>curl 'http://localhost:5279/lbryapi' --data '{"method":"wallet_new_address"}'
|
<code class="code-bash"><span class="code-bash__prompt">$</span>curl 'http://localhost:5279/lbryapi' --data '{"method":"wallet_new_address"}'
|
||||||
<span class="code-bash__response">["bbFxRyWCFRkA9YcuuZD8nE7XTLUxYnddTs"]</span></code>
|
<span class="code-bash__response">["bbFxRyWCFRkA9YcuuZD8nE7XTLUxYnddTs"]</span></code>
|
||||||
<p>Enter this address in the form below and we'll send you 50 credits.</p>
|
<p>Enter this address in the form below and we'll send you <?php echo DeveloperActions::DEVELOPER_REWARD ?> credits.</p>
|
||||||
<div class="quickstart__claim-form content-light content" id="new-developer">
|
<div class="quickstart__claim-form content-light content" id="new-developer">
|
||||||
<?php echo View::render('developer/_formNewDeveloperReward', [
|
<?php echo View::render('developer/_formNewDeveloperReward', [
|
||||||
'returnUrl' => Request::getRelativeUri() . '#new-developer'
|
'returnUrl' => Request::getRelativeUri() . '#new-developer'
|
||||||
|
|
Loading…
Add table
Reference in a new issue