Codebase Update and Security Audits
As a result of the recent exploits we are undertaking a major overhaul and update to the Haven codebase. Once complete we will be contracting multiple experts in crypto security and Monero to carry out thorough auditing of all aspects of the offshore (conversion) code. This will include additional validation written by the Haven developers to prevent any future attempts at manipulating the asset conversion process. An overhaul of RingCT Proofs adds a 2nd layer to the conversion validations that blocks any attempt at manipulation of the fees or mint & burn data.
Further details can be read in our blog with more information to follow as we progress: https://havenprotocol.org/2021/08/18/status-update-18th-aug-2021/
You can read the Technical Analysis from Cypher Stack here: https://github.com/haven-protocol-org/security-audits/blob/master/Cypher%20Stack%20-%20Haven%20Technical%20Note.pdf
STATUS: A technical analysis has been carried out and final security audit is ongoing before setting Haven 2.0 fork date.
xAsset Conversion Functionality
One of the major steps to restoring full network functionality will be to reinstate xAsset conversions in the vault. This will be carried out following extensive codebase updates, reviews and 3rd party audits.
STATUS: Waiting on codebase updates and security audit. To be re-instated at launch of Haven 2.0.
Implement Bug Bounty Program
With the adoption and growth phase ongoing it has become more important to get as many eyes on the project as possible. Arguably the most important aspect of this are the external code reviews to ensure the recent exploits cannot be repeated. As well as the formal audits, and due to the fact that the codebase development is continuous, it is essential that we have an ongoing testing, monitoring and auditing process, and a part of this is our new Bug Bounty Program.
The program will give the project a defined process by which anyone can report bugs, the team/devs can process and action the necessary steps to fix them and importantly a flexible structure by which people can be rewarded for their valuable input into the project. The process will be refined over time to suit the project’s needs as it grows and moves to a more decentralised structure.
STATUS: Published and live. Details can be found here https://havenprotocol.org/bug-bounty/
We are currently setting up a robust unit testing process to automate core features. This will be used during development to ensure that new features do not break old code. We intend to expand our library of unit tests significantly.
STATUS: This is an ongoing process that will take significant resources so if anyone in the community would like to support the project with this testing please reach out to us directly.
Launch Haven Improvement Program (beta)
In conjunction with the community we plan to set-up a framework to formalise community input on governance, bug bounties, assets and products, integrations etc.
STATUS: A crowdsourcing section for the website is being worked on before going live. This will initially be in beta as we develop additional features from community input/feedback.
This integration will provide many benefits to Haven and ThorChain. It will improve liquidity for XHV and xUSD through the creation of liquidity pools as well as providing xUSD holders a yield in exchange for providing the liquidity. It also allows direct access to other cryptocurrencies supported by ThorChain without the need for using a centralised exchange. Further to this it provides ThorChain users access to a range of private assets via the Haven network.
STATUS: Test environments for mocknet and pre-launch testing have been put in place but testing is currently paused to focus dev resources on codebase updates/reviews. It is expected to go live after the hard fork (to re-instate full network functionality) and once all testing has been completed successfully.
Update to Fee structure and launch of Haven v1.4.1
Following on from the launch of the 2nd phase of xAssets to mainnet and after several weeks of network monitoring we have made the decision to update the fee structure for xUSD <> xAsset conversions.
The revised fee structure will be as follows:
- 48hr (1440 block) unlock time on xAssets
- 0.5% fee split as follows:
- 80% (0.4%) gets burnt to reduce inflationary impact
- 0.05% goes to miners
- 0.05% goes to governance wallet for project costs
STATUS: Implemented in version 1.4.1 and will go live on mainnet at time of 2nd fork.
We will be commencing integration of the FIO protocol into the Haven Vaults. This will greatly increase usability and improve UX/UI. It will allow the use of a simplified address naming system for example: instead of the usual 98 character address you could use something like dweab@haven making it easier for e-commerce, payments and transfers. It also reduces the likelihood of man-in-the-middle attacks.
STATUS: On hold. This will be added to the upcoming crowdsourcing initiative for completion.
Integration of Haven as a payment method on Travala is ongoing and is targeted for completion in Q4. It will allow anyone to use XHV to pay for flights, hotels and more with one of the leading crypto friendly travel companies. We will be looking to integrate xUSD in the future.
STATUS: Currently waiting on integration slot for Travala dev work to be carried out.
Haven Debit Card
Registrations are underway and we expect the card to launch in the USA this quarter. For further details see: https://havencard.io/
STATUS: Awaiting final compliance checks.
Following on from the launch of the first phase of xAssets being launched to mainnet we have now launched the next phase to mainnet. You can now store and transact in xGBP, xJPY, xCHF, xAUD and xBTC (Bitcoin). The full list of assets can be found here: https://havenprotocol.org/knowledge/xassets-a-guide/
The Haven Protocol Foundation has now been officially incorporated in The Cayman Islands. We are moving forward with seeking interested parties to come onboard and help steer the project, carrying out the wishes of the rapidly growing Haven community. This is an ongoing process where everyone is welcome to get involved and put forward ideas to benefit and grow the project.
STATUS: Ongoing discussions with a range of parties to ensure regulatory and legal compliance as well as infrastructure planning.
Embassy Node launch
We have been working alongside Start9 Labs to assist with integration on a standalone device for running a Haven node. This is ongoing and is currently with them to upgrade their device to include an SSD before adding a Haven app to the Start9 App Store. The aim is to help get as many people running Haven nodes 24/7 to work towards decentralising and securing the network.
STATUS: Awaiting support for SSD device before adding Haven app to Start9 app store.
Edge Wallet Integration
We have a new developer onboard to help push forward with an Edge Wallet integration for Haven. This is an important step in helping with easier access and being able to offer multiple storage options to XHV and xAsset holders/users. Further details to follow once the integration is confirmed.
STATUS: A large part of the integration is now complete but is paused due to prioritising THOR integration.
Enhanced landing pages will be added to the website, to educate new users and provide simple getting started guides for vaults, exchanges and the protocol.
STATUS: This is complete with new deep dives, knowledge base content and a THORChain knowledge Hub being added. Further content will be added over time.
Coding work is ongoing for this important part of the project. Once the testnet is completed we will be conducting a fork to launch the first phase of xAssets including Gold, Silver, Euro and Chinese Yuan. These were chosen as the most well known and traded commodities as well as two of the most widely used fiat currencies outside of the US Dollar. This will assist with expanding the network and providing greater utility to users.
Once these are live on mainnet we will then be able to look at further xAssets and will consult with the wider community on this. Because of the coloured coin implementation, we will be able to add virtually any asset to the network as long as the protocol can pull a secure, reliable and decentralised price feed then it could be included. Stocks, commodities and a range of indices could be added as well as the potential for user customisable portfolios.
Polarity Exchange Integration
Integration work is ongoing for adding an XHV/USDT trading pair to the Polarity Exchange. This is expected to be completed in Jan 2021 and we will keep everyone updated on progress. It will provide many benefits to users including:
- No KYC
- Your keys:Your coins
- Low Fees of $0.01 per trade
- Liquidity mechanisms to ensure fast trade execution
Hardware wallets are viewed as the most secure interface to interact with cryptocurrencies. In light of this, the integration of XHV and xUSD into hardware wallets is a top priority for Haven’s development. The first platform used will be Ledger, if it enables all functionalities needed for Haven sufficiently. As this is an ongoing development no deadline has been set for completion.
Upgrade codebase to Monero v0.16 ‘Nitrogen Nebula’
As part of our ongoing codebase improvements we will be upgrading to Monero v.016. This makes several improvements to the protocol with full details here:
Rebasing to v0.16 also allows us to re-release the web vault with xUSD functionality.
Web Vault with xUSD functionality
Once the rebase to v0.16 is complete it will enable us to re-release the Web Vault with xUSD functionality. This is another important step forward for the project as it allows a simple to use interface to be used on any device including mobile, tablets and computer without the need for lengthy sync times or in-depth technical knowledge.
Haven Knowledge Base
We are in the process of building a brand new resource allowing everyone access to regularly updated project information all in one place. Once complete it will be accessible on the Haven website and will include a wide range of information including:
- Desktop, Web and CLI Vault guides
- Comprehensive FAQs
- Glossary of common terms used in the Haven project
- RPC guide
- THORChain knowledge Hub
This resource will be an ongoing development and we encourage all community members to contribute with suggestions for content.
Release of new Desktop Vaults
After being refined since beginning of the year, the new Desktop Vaults are released for the public to use on XHV mainnet. All functions to transfer, exchange, and mine assets, are implemented in a superior user friendly package for use on all major platforms.
Launch of xUSD on Mainnet
The world’s first private stablecoin xUSD goes live on Haven at block 640640 on July 20th 2020. The future of financial privacy has begun.
Release of Network Analysis Tool for the Haven Ecosystem
To monitor the health of the Haven ecosystem and to see real-time updates regarding supply of both XHV and xUSD, a network analysis tool is being developed. This should enable everybody to learn about the state of the ecosystem regardless of technical background.
“Cracking the xUSD Code”
After extensive analysis the overall security and performance of the solution was deemed unsatisfactory and a major overhaul and redesign of the code is carried out by the development team. To ensure long term success, a proof-of-value mechanism is researched, developed, and implemented. Testing the new solution is being carried out on stagenet.
xUSD Source Code Release
After one year of development the xUSD code intended for use on the Haven network is released as open source to the public for review.
Public Release of the xUSD Stagenet
Utilizing a newly designed Desktop Vault to interface with Haven stagenet, the exchange functions between XHV and xUSD are made available to public testing and review. The ongoing use and edge case testing provide valuable insights for refining both the Desktop Vault and the Haven Daemon.
Finishing the new Haven Daemon
A new version of the Haven Daemon backend is released to accommodate the visibility of variable coin supply and prepare for further additions of xAssets. Learnings from xUSD stagenet are integrated and will lead to further refinements in development.
Integration of the Chainlink Oracle
While initially planned as a future network upgrade, Chainlink’s services are now used for the mainnet launch of Haven’s first private stablecoin, xUSD. This integration is an important step towards the goal of decentralization and censorship resistance and reinforces Haven’s commitment to private decentralized finance.