Posts

Deep Dive Into Dlux.

avatar of @a1-shroom-spores
25
@a1-shroom-spores
·
0 views
·
6 min read

Today we are going to do a deep dive into #dlux tokens.

#dlux tokens are a Hive based token on a Hive side chain created by @markegiles and @disregardfiat. #dlux tokens aren't on Hive-engine. They have their own side chain and dex. In order to understand the project: Purchasing #dlux tokens is actually a great place to start.

There are currently 3 ways to purchase #dlux.

Method #1: Send Hive to @robotolux. 1 Hive = 1 Dlux. {ICO round 0}

Method #2: Delegate HP to @dlux-io. There is an active delegation reward pool.

Method #3: Buy tokens in the dex - - > https://www.dlux.io/dex/

If you click the above link: You will be on the #dlux website at the Dex. The yellow rectangle shows the current #dlux price {0.4 Hive currently}.

If you scroll down further; you will see the open orders. The orders expire in 5 days ... which is pretty quickly. There also isn't a lot of users yet. It's like a brand new Hive-engine {side chain}. Also there is only one token on the Dex. So it's a bit niche right now. There's only a few sell orders and no buy orders {above}.

There are a few constraints to the Dex. For example you can't list too far above or below the current #dlux price.

The ICO is set at 1 Hive: Therefore the price on the Dex will most likely not go over 1 Hive.

Before we go any further: Let's go ahead and login {to Dlux.io}.

Click "login" on the top right corner of the page and then use the Hive Keychain to login just like you do on peakd.

Now go ahead and click "Profile" from the drop down menu {where you logged in}.

Now you can see all your previous Hive blogs just like Peakd. Amazing huh! Dlux actually offers weighted voting {POS} but it doesn't show up on the front end yet. So you can stake Dlux and vote with them: It just doesn't show up yet.

Next, let's click on the plus [+] symbol next to where we logged in.

At this point; I should explain the theme of the #dlux is VR/3D/AR. Think of it like a virtual based tribe; but there is only the one tribe on the front end. Sort of like if #hive-engine only hosted Leo, but it's more decentralized.
After you click on the plus sign [+] you will be brought to a menu with different presets/publishers. The first "#dlux app" you can create is is 360 gallery. This dapp has a difficulty of "Easy". It's a very basic drag and drop/publisher. How cool is it that people can now upload 360 pictures to the Hive blockchain! What a great use case!

The next row of presets/publishers is the virtual reality section. The Supercraft you need a VR headset for; so we aren't going to cover that. However, its very simple. You basically just click and drag: There is also a 2D publishing form attached.
We should go over the VR builder in a bit more details because it's an important use case. This is how you build 3D assets, nav mesh them and then publish the nav meshed models onto the Hive blockchain. Here are some of the things you could build:

3D games.

3D Art Galleries.

Digital Real estate.

3D ICO/Dex.

3D Hive front ends.

Go ahead and click "Get started" on the Vr builder {or follow this link https://dlux-vr.glitch.me/build.html } Now you should be at the page [above] that says "DLUX starter pack."

In order to explain the VR builder/Dlux starter pack: I am going to create a 3D model. You can use any program that exports as Gltf: Or even just save an obj file and converting it online {check out blackthread}.

I created a very simple hand drawn 3D text that says "Hello World" and then saved it as a Gltf file.

At this point: We will log into https://glitch.com/ {Or sign up}

Now let's head back to https://dlux-vr.glitch.me/build.html. You should be logged in [top right corner of the left half of the page by the 2 fish icons]. Now we are going to click the "Remix to edit" button [in the blue rectangle under sign in].

The top left text that said "Dlux-VR" should now have a different, random name. The blue rectange that said "remix to edit" now should say "you can now edit this project here".

Now head back to https://glitch.com/ Click on the most recent project, which you just created.

If you have never forked code before, congrats! You just did!

Now it's time to set a password. This way some random person can't come by and add to your code {or delete it all}. Simply click .env in the left corner of the screen.

Now click plaintext [next to the eye icon].

Now set a password under "pass". Make sure to put quotes around the password. My password example is "mellowyellow".

Now we will click on "show" by the sunglasses icon. Then click "In new window" in the drop down menu.

Now you should see a new page with the name of your project in the url and a desert scene with pyramids. This is a "3D preset". Now click the url and add "build.html" to the end of the url.

You are now in the 3D builder!

Go ahead and click on "password" in the top left dropdown menu. Then enter the password you set earlier [example I used was mellowyellow].

Now click "add 3D models".

You will be lead to a version of the builder with a drag and drop for gltf [and glb] files. Drop your 3D file into the area with red arrows [if you are following along and made a 3D file].

Now go back to the URL and REMOVE the "build.html".

You should now be able to see the object in the 3D builder! If you CANNOT see the object: It's probably there ... it's just too small or big to see. We can fix that easily.

Click anywhere on the scene and then click and hold "ctrl + alt + i".

You will then enter the inspector!

Click on the "key" icon and enter your password from earlier.

This page seems complex, but it's not.

If you drag and dropped the 3D file successfully, you should see on the left side of the page "a-entity ag[number]. Click on it.

IF YOU CANT SEE THE OBJECT IN THE SCENE, BUT IT'S ON THE LEFT SIDE TEXT: PLAY AROUND WITH THE SCALE [RED CIRCLE].

If you click on the object: Handles will pop up. You can use the handles to easily move the object around the scene. You can see that my "Hello world" text is half under the map.

Let's fix that.

Once you have your object where you want it [and the correct size] you can click on the "floppy disc" icon and save your scene.

Now refresh the page.

We are very close to publishing! Add build.html to the end of url one more time.

Click "Description". YOU MUST SET "USERNAME" AS YOUR HIVE USERNAME. Fill out the rest of the posting form.

Now click PUBLISH.

If you followed this "guide" correctly: You will see your post if you click "Profile" on the dropdown menu in the top right corner!

At this point: let's head over to the #dlux discord! [https://discord.gg/bMeGKfQ ]. This is the central hub to running a #dlux node. Remember, #dlux is a decentralized side chain: Which means unlike #hive-engine where @aggroed runs closed source code and private nodes: Dlux have public nodes and open source code.

When you join the #dlux discord server ... You can ask @disregardfiat for help in running and node: As well as getting updates when to pull code. You can also use @disregard 's bot @robotolux to check "nodes in consensus" and other information.

Last but not least: I am going to show how to "push" a peakd post onto the Dlux front end. [This way you can get Dlux token votes from a Peakd post]. All you have to do is click "advanced".

Now click "ADD BENEFICIARIES".

Add @dlux-io as the Beneficiaries and the reward at 10%.

Now your Peakd post can earn #dlux votes!

I hope this post was enlightening to anyone interested in posting 3D assets to the hive-blockchain or exploring a decentralized #hive side chain. I left out a few major dlux use cases like nav-meshing. There was a lot of information to unpack and I didn't want to confuse anyone.

If you do have any further questions please leave a comment. Also check out the Dlux discord [https://discord.gg/bMeGKfQ ] and ask @disregardfiat or @markegiles for help.