The Corrupt HyperLedger BlockChain is an independent, stand-alone HyperLedger for gaming needs. The RSPS Edition is centered and focused around RSPS servers. This BlockChain is in development, and will use this specific edition to help grow to production in other severs, and eventually stand-alone in multiple servers, not just RSPS. To feature its functions and help progress its production, I have de-compiled and rebuilding a 718/900+ to the blockchain, to demonstrate the compatibility even with the more advanced servers.
**This will take some time to build into full production. The server will be open for testing and playing after initial functions are put into place**
Features of HyperLedger BlockChain :
Full BlockChain Immersion : Replaces standard GP with a Cryptographic Digital Token
Contract Creation : Create multiple tokens to replace points, coins and everything in-between
Future Transactions : Completable Futures for advanced transactions like Duel Arena, Quests, and others
Custom Transaction Creation : Using the abstract Transaction class, it is easy to create custom transactions and initiate complex functions
Custom Wallet Creation : Create custom built wallets for multiple instances, like Shops, Player wallets, and specialized contracted wallets
Transaction Chains : Implement chains of transactions that go in order of importance for higher, complex functions that require multiple transactions
More Features To Come : The feature list will grow as the blockchain grows with development
Benefits of HyperLedger BlockChain for RSPS:
No More Billion Bags : Replace the need for Billion Bags or the likes of such, which usually end with tons of dupes and ruined economy. With tokens, the limit is decimal places, 1gp could equal 0.00001, and with a 6,000,000,000,000 starter, there is no need for any of these annoying problems. 1,000,000 GP = 1.000000 token. 2.5B GP = 2500.000000 tokens.
Prevent Item Duping : Items are now constructed with hashing, signatures, and are placed in the ledger and are checked at every interval. A duped item would include the same hash or signature, forcing the chain to delete the item. Prevent dupes before they can crash an economy.
Keep Track Of Everything : With the way blockchains are made, you can see each and every transaction of your game, without need for endless logging.
Previews Of The Chain In Action
Spoiler for PREVIEWS:
Spoiler for Chain On Load:
This is a basic load of the chain as it starts, properties of the chain addresses are kept in a hashmap for easy access to contracts within the chain, in which you can see all the contracts being loaded and their address. contracts are marked 6xf and wallets are 0xf. After contracts, it loads the blocks in order and their transactions, after which the chain is ready to accept.
Spoiler for transactions:
This is an example of how transactions are made and sent in. This includes two transactions, one is a Burn which burns items out of the chain, and the other is a transfer. This example is alching, in which it will burn the item you alch, and than send in the amount to your wallet. Multiple transactions can be chained using TransactionChains, in which verify each transaction is finished before conducting the next.
Spoiler for Transaction Core:
The transactions hold some important information, without the right keys though you can't really tell too much. But all this information is checked constantly through the chain for verification. And with the right keys, you can produce all the information you need to, which shall be in a block explorer show-off inside the server soon.
Updates : Parallel Update - After some rigorous testing, it has been decided to pull the blockchain off the game itself, and create it as a parallel service. After about 2200 transactions p/s, it seems to occupy too much RAM to process through. To avoid the disruption of service to the server, the blockchain shall now run parallel to the servers, with special implications. The chain shall hold all blocks, transactions and wallets in separate service, and uses a special messaging service between server/chain, and will have an library that is used in server to process transactions. With a 1/3 ram for chain, and 2/3 - 10% for the server, it will provide up to about 3,000 transactions per second without affecting game servers on a 16gb system.
Not only is this server built on a hyperledger, this is a full branched custom server that is in a league of its own. This was a server i started to build about a year and half ago, but left the community due to other offers. I decided to revive it and use it as a launching pad of the blockchain. Theres a lot still to do on the server, besides the blockchain itself.
Features
Spoiler for Features:
718 running 900+ data
Custom Teleports - unlock teleport animations through a reduxed teleport system
Full Animation/Cosmetic - Hundreds of unlocks from cosmetics, walks, rests, teleports, skilling animations, and more
Custom Raids - Get lost inside customized raids that put your skills to the test
Boss Stash - Avoid running out of space inside of instances and boss battles with Boss Stashes
Custom Donation System - Weekly/Monthly Packages, Custom Donation Store, Improved Donation Base
Custom Events - Holiday, Weekly, Monthly
Custom Game Modes - Ultimate Ironman, Adventurer, Skilling Redux
Build A Kingdom - Miscellania Redux
Show-Offs
Spoiler for ShowOffs:
Spoiler for Block Explorer:
The first Block Explorer interface, which will illustrate all the blocks and basic information of the chain. This is still not finished but is working.
Spoiler for Future Explorer:
This is the future explorer, its smaller as its directed for the players future. As of right now, there are no futures in play for my player, so it comes off as blank, but will display all futures, their information and the transactions attached to the future
Spoiler for Contract Explorer:
This is the contract explorer. As more transactions are in place, you will see the transactions and circulation go up. there are 16 contracts as of now.
Spoiler for Custom Raid - Dragon Fire:
This is the first custom raid currently being built. It is classified as the first Extreme Raid, which will need multiple players in a party to win.
UPDATES
Updates start on 10/04 as I lost the update file for the original server.
Spoiler for Updates:
10/03 --
Added Blockchain
Created Wallet, Blocks, Contracts
Blockchain Running And Tested
10/04 --
Added PlayerVariables, started moving variables to file
Added PlayerSecurity, all security features are going there
Added TeleportManager, all teleports shall be going through here
Started Player file cleaning (5%)
Created GameMode Class (Needs to be installed with new tutorial)
Cleaned up Core classes
10/05 --
Cleaned and reformatted Alex files
Transformed Item file in preparation for implementing into hyperledger
Teleports have been changed from magic to teleporthandler
10/06 --
Items have been morphed more to add anti-duping
Added PurchaseTransaction for purchasing items from stores and other players
Transformed transaction class for accepting items
Transformed Shop Class to initiate with the blockchain
Added spawn transaction and morphed starter class.
Added all shops to ShopWallet classes
Added Utilities CreateShop and CreateCustomShop for shop changes
10/07 --
New shops have been added in and loaded
Started new tutorial and integrated it (still needs work)
Upgraded wallets for change on transactions
Changed To Blockchain : CrystalChest, MotherlodeMaw, RaptorChest
10/08 --
Created TransactionFutures and added them to MasterChain and PlayerWallets
Added ItemDupeChecker inside Player file (not initiated yet)
Changed To Blockchain : DuelArena, Pest Control
10/09 --
Fixed contract wallets to place contracts properly
changed soul wars and added zeal
10/11 --
New logging system that will help pinpoint errors
10/13 --
Upgraded client to Java 17.
Added BlockExplorer, Futures Explorer and Contract Explorer (Not 100% finished yet)
Total Changes : CrystalChest, MotherlodeMaw, RaptorChest, DuelArena, Pest Control, Shops, Soul Wars, Alching, Agility Penguin
This server requires a lot of work and testing. I am looking for initial Alpha testers, who can test out transactions and verify it working properly. I also am looking for a dedicated team to help pursue this server to greatness.
Discord link : DISCORD
Last edited by Corrupt; 10-18-2022 at 10:13 PM.
Reason: remove discord link
How the hell does the bank work if every single item has unique identifiers associated with them? How can you have stacks of items and how can that be memory efficient to store stacks of items if you can have 100k lobsters in the bank and each one has to have a hash associated with it?
The best open-source pre-eoc remake project that isn't in its early stages for once Darkan Client (727 Client Refactor) Darkan World Server
“It would not be impossible to prove with sufficient repetition and a psychological understanding of the people concerned that a square is in fact a circle. They are mere words, and words can be molded until they clothe ideas and disguise.”
How the hell does the bank work if every single item has unique identifiers associated with them? How can you have stacks of items and how can that be memory efficient to store stacks of items if you can have 100k lobsters in the bank and each one has to have a hash associated with it?
Well, thats a lot simplier than you think. It just comes down to how its coded in the functions. In this example for the bank and stacking items, when an item amount is incremented, so is its merkleroot, which in turns creates a new hash based on the amount. So when you deposit the items, after it goes through the blockchain on checks, it will add the amount to that item, triggering its merkleroot to rehash based on the amount, with the original hash, create a consistent system that can verify hashes based on the amount given by only changing the nonce in the item.
I'm a sucker for this kind of stuff. The tech seems really cool. Love it.
But why, won't this add a ton of unnecessary computation? Blockchain is not known for it's efficiency.
I'd like to see more than just currency on the blockchain too. Would be cool to see items as tokens themselves as well, similar to how you are handling points. This way all drops, items earned, trades would be blockchain and traceable events
I'm a sucker for this kind of stuff. The tech seems really cool. Love it.
But why, won't this add a ton of unnecessary computation? Blockchain is not known for it's efficiency.
I'd like to see more than just currency on the blockchain too. Would be cool to see items as tokens themselves as well, similar to how you are handling points. This way all drops, items earned, trades would be blockchain and traceable events
that is exactly what is being done. items are in turn hashed and done through the chain, items are given on a completed transaction, and will stay in coherent to the chain. If the item signature isn't running through the chain, its considered invalid. The goal is to have all currency, items, even things like quests, are ran through the ledger and verified. As for computational power, the most computation it takes is actually hashing. the verification of blocks are done with a degree of 1 difficulty, which runs very little computational power to process blocks. When a transaction is created, it inputs all the data, and than hashes that transaction signature, and that is ran through the block. It requires very little power to actually run this, and I've been studying through a lot of encryption and cryptologist functions to minimize computational power.
that is exactly what is being done. items are in turn hashed and done through the chain, items are given on a completed transaction, and will stay in coherent to the chain. If the item signature isn't running through the chain, its considered invalid. The goal is to have all currency, items, even things like quests, are ran through the ledger and verified. As for computational power, the most computation it takes is actually hashing. the verification of blocks are done with a degree of 1 difficulty, which runs very little computational power to process blocks. When a transaction is created, it inputs all the data, and than hashes that transaction signature, and that is ran through the block. It requires very little power to actually run this, and I've been studying through a lot of encryption and cryptologist functions to minimize computational power.
Awesome man, you seem to be well versed in the topic.
I wish you the best of luck, the project seems really cool.