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.
Enter this address in the form below and we'll send you 50 credits.
Next, confirm you've received your credits by calling wallet_balance:
$curl 'http://localhost:5279/lbryapi' --data '{"method":"wallet_balance"}'
-[50.00000000]
+
[50.00000000]
Publishing
Publishing to LBRY is just as easy as everything else! If you publish something, we'll send you an additional 200 LBC for further use.
Not sure what to publish? We recommend your favorite picture or home video. Or just grab something from here.
@@ -21,7 +21,7 @@
"bid": 1,
"metadata": {"what goes here": "who knows if you do not work for LBRY, certainly you will not be able to figure it out from response messages or API docs"
}}'
-[whatever this response looks like]
+
[whatever this response looks like]
Request::getRelativeUri() . '#new-developer'
diff --git a/view/template/page/quickstart_old.php b/view/template/page/quickstart_old.php
deleted file mode 100644
index efb4fa1c..00000000
--- a/view/template/page/quickstart_old.php
+++ /dev/null
@@ -1,63 +0,0 @@
-
-
-
- false, 'isAbsolute' => false]) ?>
-
-
-
-
Set Up
-
This step-by-step guide will have you running LBRY and interacting with the API in just a few minutes.
-
This guide is for programmers and other technical users. For consumer usage of LBRY, please go here.
-
What's Covered
-
- - Installation
- - Running LBRY
- - The API
- - Credits
- - Community & Issues
-
-
- 1. Installation
- The easiest way to install LBRY is to use a pre-packaged binary. We provide binaries for Windows, macOS, and Debian-based Linux.
-
-
-
- macOS |
- Linux |
- Windows |
-
-
-
-
- Download DMG |
- Download DEB |
- Download MSI |
-
-
-
-
- If you prefer to compile from source or are not on one of the above operating systems, follow
- this guide.
-
-
-
- 2. Running LBRY
-
- Launch the deamon to run as a background process:
-
-
- $lbrynet-daemon
-
- The first time you run the daemon, it must catch-up with most recent blockheaders. This can take several minutes.
- macOS and Windows do not currently bundle the daemon separately. Just launch the full app and the API will still be available. This will be resolved in v0.9.
-
-
-
-
-
-
diff --git a/view/template/page/what.php b/view/template/page/what.php
index 9c9831cd..724ade3c 100644
--- a/view/template/page/what.php
+++ b/view/template/page/what.php
@@ -97,16 +97,16 @@
Here is a sample key-value entry in the LBRY blockchain. Here, wonderfullife is the key, and the rest of the description is the value.
$lbrynet-cli resolve_name name=wonderfullife
-wonderfullife : {
- title: "It’s a Wonderful Life",
- description: "An angel helps a compassionate but despairingly frustrated businessman by showing what life would have been like if he never existed.",
- thumbnail: "http://i.imgur.com/MW45x88.jpg",
- license: "public domain",
- price: 0,
- publisher: "A Fan Of George Bailey",
- sources: {
- lbry_hash : <unique id>,
- url : <url>
+wonderfullife : {
+ title: "It’s a Wonderful Life",
+ description: "An angel helps a compassionate but despairingly frustrated businessman by showing what life would have been like if he never existed.",
+ thumbnail: "http://i.imgur.com/MW45x88.jpg",
+ license: "public domain",
+ price: 0,
+ publisher: "A Fan Of George Bailey",
+ sources: {
+ lbry_hash : <unique id>,
+ url : <url>
}
}
A slightly simplified sample entry of metadata in the LBRY blockchain. Whichever party or parties bid the most in an ongoing auction control what a name returns.
@@ -245,16 +245,16 @@
Here is a sample key-value entry in the LBRY blockchain. Here, wonderfullife is the key, and the rest of the description is the value.
- wonderfullife : {
- title: "It’s a Wonderful Life",
- description: "An angel helps a compassionate but despairingly frustrated businessman by showing what life would have been like if he never existed.",
- thumbnail: "http://i.imgur.com/MW45x88.jpg",
- license: "public domain",
- price: 0,
- publisher: "A Fan Of George Bailey",
- sources: {
- lbry_hash : <unique id>,
- url : <url>
+ wonderfullife : {
+ title: "It’s a Wonderful Life",
+ description: "An angel helps a compassionate but despairingly frustrated businessman by showing what life would have been like if he never existed.",
+ thumbnail: "http://i.imgur.com/MW45x88.jpg",
+ license: "public domain",
+ price: 0,
+ publisher: "A Fan Of George Bailey",
+ sources: {
+ lbry_hash : <unique id>,
+ url : <url>
}
}
diff --git a/web/scss/_code.scss b/web/scss/_code.scss
index 980c1cd3..1d825263 100644
--- a/web/scss/_code.scss
+++ b/web/scss/_code.scss
@@ -34,7 +34,6 @@ pre
user-select: text;
margin-bottom: $spacing-vertical;
- border-left: .3rem solid $color-primary;
padding: $spacing-vertical / 2 $spacing-vertical;
unicode-bidi: embed;
overflow-x: auto;
@@ -42,10 +41,22 @@ pre
display: block;
word-wrap: break-word;
+ background: #222;
+ color: #fff;
+
font-size: 0.75em;
}
-.code-bash__kw1 {color: #c20cb9; font-weight: bold;}
-.code-bash__kw2 {color: #7a0874; font-weight: bold; }
+.code-bash__response {
+ color: #ccc;
+}
+
+.code-bash__kw {color: #c20cb9; font-weight: bold;}
.code-bash__comment { color: #888; }
-.code-bash__prompt { font-weight: bold; margin-right: 5px; }
\ No newline at end of file
+.code-bash__prompt
+{
+ font-weight: bold;
+ margin-right: 5px;
+ color: lighten($color-primary, 20%);
+ @include user-select(none);
+}
\ No newline at end of file
diff --git a/web/scss/_global.scss b/web/scss/_global.scss
index 7b7a9d00..d3959b3c 100644
--- a/web/scss/_global.scss
+++ b/web/scss/_global.scss
@@ -169,6 +169,13 @@ $info_text: #3a87ad;
}
+@mixin user-select ($value) {
+ -webkit-user-select: $value;
+ -moz-user-select: $value;
+ -ms-user-select: $value;
+ user-select: $value;
+}
+
@mixin transition($transition-property, $transition-time, $method) {
-webkit-transition: $transition-property $transition-time $method;
-moz-transition: $transition-property $transition-time $method;