Updates on the Generalized DLUX Open Token

in LeoFinance4 years ago (edited)

Well... It's been a week since I petitioned for Hive DAO funds. Of which the threshold to achieve funding has increased by half as many HP as has voted for me. But it's not all bad; 4 of the top 20 witnesses have voted for me and several other accounts that have been community cheerleaders for as long or longer than I've been around: @therealwolf @acidyo @penguinpablo @taskmaster4450 @arcange @ausbitbank @fw206 @marki99 @inertia @ats-david @saboin @crimsonclad @bryan-imhoff @foxon @actifit and many more dolphins and minnows.

hyper.jpeg

But I've got great news!

You can branch this Repo set a few config variables, and start running your own community token! Of course this needs to be tested, poked, and prodded by developers and users alike... but this is my submission for 0.9.0a. Meaning I intend to add no further features unless token security demands it. As stated in my DAO proposal the swap protocol is the meat of my roadmap until February. There is still testing and debugging of this software, and building the front-end scripts to help websites interact with it.

After which work will begin to incorporate DAO controlled multi-sig into this protocol. Taking the base protocol to 1.0.0 hopefully by April. Enabling among other things, partial order fills, and a non-custodial ICO.


Now why should you vote for this proposal? What kind of things will this enable on Hive?

  • Running these tokens are their own exchanges. No need to worry about where to list tokens or pay fees to gatekeepers. Anybody with a Hive account can directly and immediately engage. Even XRP can't stay listed on exchanges.

  • This isn't Ethereum or any other blockchain that charges fees. Node operators for your token will have fixed server cost and it's users may be able to interact with their RCs alone.(Exchange Fees are customizable and not determined directly by network saturation)

  • This provides a much needed HP/RC sink to help quell the capital flight to exchanges.

  • The DAO that runs the Token has near instant restarts and replays. All transaction types happen faster than waiting for a bitcoin block or confirmation of ETH blocks.

  • You can bring your own code to enable any business logic

  • Having multiple nodes in a DAO makes petitioning API or building oracle services a breeze.

  • These nodes can even run other blockstreams at the same time and build ETH/Other Bridges directly on HIVE

  • Controlling Escrow Transactions can enable NFT auctions. Even physical auctions can happen: Make Art, Register it as an NFT, have your logic enable the NFT to be registered by the winner, send the art and a QR code, the winner scans the QR code and signs it on the chain releasing funds to to artist. Maybe in the future Fed-Ex will sign intermediary custody as well

  • Run a group of ride sharing or handyman services, auction your free time and not have to worry about Uber being blacklisted by your government. You are the owner.

  • The possibilities are endless, and the web of trust that Hive enables will make everything it touches easier.

  • DLUX Tokens themselves(running the dlux.io platform) will be capable of being burned for content placement/advertising. Powered up to vote on content. Used to pay for micro-services like hosting, TURN, and WebRTC Relays. Fees to run contracts and Oracle services. And all Open Tokens can be used to provide liquidity to exchange and earn yield with exchange fees.


Bounty and PenTest

If you're tech savvy help us test this.
There are currently roughly 12M Tokens in DLUX
Any major breach will be rolled back and/or corrected with the breacher earning a maximum of 5,000 DLUX.
Gains that can be made less than 5000 DLUX can be kept.
Any users accounts are guaranteed.
All tokens distributed from this bounty will be from already minted tokens.
Any critical(balance altering) pull requests will earn 2500 DLUX.
Any non-critical(halting - other) pull requests accepted by the deadline can earn upto 1000 DLUX.
1 bounty per bug (please fix all instances of found bug)
Bounty ends on Feb 15th or the first 3 day period with no critical errors found.
There are up to 750,000 DLUX up for bounties. (currently located in rc and rm, your pull request can alter these) in the following fashion:

var cleanState = data[1]
cleanState.balances.rc = cleanState.balances.rc - 2500000 //add this line
cleanState.balances.yourhiveaccount = cleanState.balances.yourhiveaccount + 2500000 //add this line
store.put([], cleanState, function(err) {

After merge and 10 minutes the above lines will be removed, but your name will remain in the code forever.

Some Previous posts that should help you get oriented:
State and DEX
DEX Gametheory


If you want to help support us, don't do it for free: Send HIVE to @robotolux and claim your DLUX tokens at 1 for 1 with HIVE. @robotolux doesn't take HBD. Make sure you've voted for DAO proposal


README

Location

dlux_open_token

This is a Decentralized Autonomous Organization built on the HIVE ecosystem.

THIS BUILD IS PASSING BUT SEVERAL FEATURES ARE UNTESTED. DO NOT RECOMMEND USING ON ACCOUNT WITH HIGH BALANCES

This software builds a network of peers that use HIVE to post and interpret transactions. This allows these peers to come to a consensus and elect peers to run tasks. Distributing computing in this way allows a vast amount of potential applications, DeFi, and oracle services. By distributing authority to perform transactions we can have a frictionless(no intermediate tokens, no central authority, no intrinsic fees) way to cross asset boundaries(HIVE/OPEN_TOKEN) with no information asymmetries, ie Finance without securities by definition... just free speech: As no party is required to perfom any function, or prevented from performing any function, no promises are made by peers. Network Incentives (OPEN-TOKEN) alone are enough to maintain trust.

These features are currently working and being tested for 0.9.0a:

  • Send: Use custom_json with active permission, "ACJ" to send OPEN_TOEK tokens
  • Illiquid voting state. Power up and down OPEN_TOKEN for voting and delegation with ACJ
  • Chron to execute virtual operations: expire trades, powerdown stake, enforce penalties.
  • Hive posts that benefit the configured account at > the configured % are:
    • entered into a voting eligible content pool
    • optionally have their IPFS content pinned with rtrades(3rd party service)
    • can be programmed for any other function
  • Users can vote on content with weight, using custom json with posting permissions.
  • Have a daily pool of 10 full votes, and 1 in 10000 fine control of voting stake.
  • State is saved to IPFS every 5 minutes for fast automatic starts and restarts, also used to determine consensus
  • LevelDB with custom transactional handlers for transactional writes
  • JSON express server API
  • Token sales from the configured account with HIVE transfers
  • Token sales set with pricing feedback.
  • 2/3rds consensus algorithm
  • automatic messaging to join network ad-hoc
  • ability to delete node from list(turn off escrow queue)
  • report consensus
  • distribute OPEN_TOKENS to configured account delegators and keep running total
    • Used for auto voting on content with delegation
  • pay nodes for processing trusted state, facilitating an escrow/dex transaction or running a smart contract.
    • Effectively mining OPEN_TOKENS with Hive Resource Credits
  • establishes a 5%(configurable) inflation rate and distributes rewards to run the network
  • Automated accounting post from configured account or mirrors
  • Track interactions on a rolling feed via block_num and TXID.
  • Automates IPFS pinning for OPEN_TOKEN votable content from configured account or mirrors
  • 2 way DEX
    • HIVE:OPEN_TOKEN & HBD:OPEN_TOKEN pairs
    • On state trade history with daily reductions to high/low/volume
    • Price/collateral controls from Volume Weighted Moving Average
    • Enforcement of collateral

These features are works in progress:

  • Partial fills of DEX orders 1.0.0
  • Multi-signature deterministic control of community capital 1.0.0
  • Ban nodes to discourage bad action 1.0.0
  • Smart contracts to build IPFS market 1.1
  • Smart contract to build account creation token market 1.1
  • NFT/smart contract system with fetch and consensus ie. distributed computer 1.1

This software is meant to be run as a public API for decentralized token data.

While it runs it verifies other nodes are operating correctly and confirms this by posting a customJson transaction to Hive. 288(configurable) messages will be required per day per node operator. More Resource Credits will be required to handle escrow transactions and transfers.

Deploy from heroku or similar and set ENV variables with a hive name and active key. Deploy from home computer for maximum account security.

  • account - dlux-io
  • active - active posting key (will run escrow transactions for rewards) !! caution while in testing !!
  • domain - https://<token-api>.<a-domain>.com or http://<static-ip>:<port>

To Build Your Own Token

Branch this and find this part of config.js

TOKEN CONFIGS -- ALL COMMUNITY RUNNERS NEED THESE SAME VALUES

const starting_block = 49988008; //from what block does your token start

const prefix = 'dlux_' //Community token name for Custom Json IDs

const TOKEN = 'DLUX' //Token name

const tag = 'dlux' //https://the-front-end.com/tag/@leader/permlink

const jsonTokenName = 'dlux' //what customJSON in Escrows and sends is looking for

const leader = 'dlux-io' //Default account to pull state from, will post daily

const ben = 'dlux-io' //Account where comment benifits trigger token action

const delegation = 'dlux-io' //account people can delegate to for rewards

const msaccount = 'dac.escrow' //account controlled by community leaders

const mainAPI = 'token.dlux.io' //leaders API probably

const mainFE = 'dlux.io' //frontend for content

const mainIPFS = 'a.ipfs.dlux.io' //IPFS service

const mainICO = 'robotolux' //Account collecting ICO HIVE

Then alter the state.js with balances and other starting information

Sort:  

This is one of the greatest projects on HIVE that is aiming to elevate us into a much higher status. HIVE has the potential to get into Top 50 crypto easily. What we need is more projects like this. We should seriously try to leverage out zero fee transactions before Ethereum gets their scalability in order.

I reblogged the post and I did vote on DHF earlier. More stakeholders should be paying attention to this.

Posted Using LeoFinance Beta

These stuff gives me better hope for future of Hive. I've voted for your proposal + witness. Good luck! You need to receive more support from the community. These stuff can be a game changer!

Posted Using LeoFinance Beta

This is a project that meets some of the requirements that @theycallmedan talks about.

It is an inexpensive way to set up tokens by communities. It is also a decentralized system.

Is this basically Uniswap without the fees? Or is it actually the ability for each project to set up their own Uniswap like app?

Posted Using LeoFinance Beta

ERC-20 tokens are tokens built on ETH... They are usually simple ledgers and are effectively isolated from ETH in nearly the same way Bitcoin is. You can send and receive tokens to other accounts. Uniswap allows people to put their tokens into their protocol to provide liquidity for a DEX. Uniswap 1.0 Allowed exchanging ERC-20 for UNISWAP and provided the price interface on a DEX instead of a CEX.

Tokens built with this "DLUX" protocol take advantage of HIVE, and replace the EVM with Nodes that develop consensus. There are limitations to this approach talked about in the game theory video, but an AMM would make it all but invisible to end users. Those node operators provide their own liquidity to run and secure the DEX with out an intermediary token.

Uniswap is an amazing protocol for talking to ledgers, "DLUX" is an amazing protocol for building ledgers with out needing any additional interfacing.

This is a very similiar approach to what we are using to build out our version of NFT's.

I will spin up a node and start testing.

You guys need to cooperate))

I am always open to working with people.
When I reach out.
I always get sure and then get ghosted.

The issue with the game devs/companies on the chain is they will not share code or work together to solve anything.

All the projects I see use the basically the same code and each team wastes time re-writing it.

and some wastes the DAO funds))

How's the NFT project BTW?

Uniswap without the fees should be the exact thing Hive devs should be goign after. It's a real goldmine. DeFi kind of saved the whole crypto market for a while. There's ton of people (me included) who stayed away from Uniswap because of fees. No fees + 3 second Tx should be an easy sell and real use case.

Posted Using LeoFinance Beta

Is the dlux token available now to be biught in HE or LeoDEX?

It's listed in neither place. The biggest difference between this token and other types of tokens is it provides its own DEX interface to HIVE. There are no intermediary tokens like Hive-Pegged on HIVE Engine. Tokens are currently being issued 1 to 1 with Hive if you send Hive to @robotolux. After 898282.978 more DLUX are sold the pool of available tokens drops and price adjusts daily with demand over roughly 3 years to insure distribution is as wide as possible.

1% of distribution is for delegators. To which account delegation should be sent?

Delegate to @dlux-io, It's true that 1% inflation(out of 5%) is going here. There is an automated voting mechanism so voters of dlux content get hive as well as dlux. (So make dlux content and earn dlux as well.)

Muy instructivo lo que has publicado, me agrado, gracias por compartir.

De nada. Si tú puedes traducir cosas o prueba mis escriviendos español, cuentame. :)

Voted for your proposal from a @cryptobrewmaster proxy.
goodluck with the development!

Very interesting. A lot of this stuff is honestly over my head, but it is still very exciting. I look forward to how this moves forward. Good luck to you on getting the necessary votes!

Posted Using LeoFinance Beta

Can't say I understand mutch but people are excited about this so yeeey. Also I voted for your proposal. Happy New Year !

If you get the necessary funds, how long would it take to complete the sidechain ready to run smart contracts and create tokens?

It sure would be nice to be able to focus all my attention here, but as is this will get done just because it'll give maximum control to people/communities/organizations. I think April with or without funding, I'll just spend less time per day rattling my cup :)

Congratulations @disregardfiat! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :

You received more than 3250 upvotes. Your next target is to reach 3500 upvotes.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Do not miss the last post from @hivebuzz:

Happy New Year - Project Activity Update
First Hive Power Up Day of 2021 - Get a Hive Power delegation