Skip to main content

13 posts tagged with "amm"

View All Tags

· 6 min read
J.

banner-blog.jpg

HashgreenSwap v1.0 is now live on Mainnet!

Come and join us to celebrate our Mainnet launch with the Mission Green Walker: Testnet Airdrop Claim event and easily add liquidity or create liquidity pools for your favorite tokens on HashgreenSwap!

Click here to explore HashgreenSwap and give it a try!

HashgreenSwap v1.0 Release

We are thrilled to announce the long-anticipated release of HashgreenSwap v1.0. This release brings a significant wave of improvements, reinforcing our commitment to providing a more stable and user-friendly decentralized trading experience.

Mission Green Walker: Claim Your Rewards for Our Testnet Airdrop!

blog-image-testnet-airdrop.jpg

Dear green walkers,

In celebration of the HashgreenSwap Mainnet launch and as a token of our gratitude for your incredible support during the Mission Green Walker testing program on Testnet, we are thrilled to announce an airdrop with a total reward of 1 million HG tokens!

Join the queue and claim your rewards HERE!

Eligible participants are those who actively engaged in our Mission Green Walker testing campaign between April 27th and August 31st. Claiming your rewards is simple; Please visit the campaign page here and follow the instructions below.

  • Step 1: Connect your Hoogii Wallet (make sure you are using the latest version) and share this exciting news on X (remember to set your account public).
  • Step 2: Paste the link of your tweet back on the campaign page.

These Mission Green Walker events are our heartfelt expression of gratitude for your unwavering support as we advance and innovate within the Chia ecosystem. The claim process will be open for one week, running from Nov 6, 2023 to Nov 12, 2023, as indicated in our recent Tweet. Stay tuned for more updates on our Twitter and Discord.

Technical Update—The Cycle of Building, Deploying, and Refining

Software development involves an iterative cycle of building, deploying, and refining. Drawing upon the valuable feedback we gathered during Testnet, we were able to review what we had built and therefore set enhancing trading stability as our primary objective in order to deliver an optimized and secure experience.

Trading Stability Enhancement and UI/UX Update

Refinements in the smart contract and the offer aggregator took place during this stage, so were those improvements in the user interface and the user experience design. You may not be aware of these changes in the first place, but they are the paved cornerstones that hugely contribute to the trading stability of HashgreenSwap.

info

Drop us a message to our Twitter or Discord and let us know how’s your experience using HashgreenSwap. And if you are interested in the technical insights of HashgreenSwap, drop a message too! We may take this chance and shed some light on the topics of the smart contract or the offer aggregator.

Liquidity Pools Now Open!

Post_Liquidity Pool Creators Wanted.png

We're thrilled to present you a chance to easily add liquidity or create a liquidity pool for your favorite CAT paired with XCH on HashgreenSwap! Don't miss out on this exciting opportunity!

Providing initial liquidity requires you to abide by the following rules:

  • HashgreenSwap only supports XCH-CAT pairs now.
  • You must contribute an equal value of both tokens in the pair.
  • The ratio of tokens you add will set the price of this pair.

Be the trailblazer and give it a try here!

Open-Sourcing—HashgreenSwap Smart Contracts

The HashgreenSwap smart contracts are the implementation of HashgreenSwap, an automated market maker (AMM) in chialisp language on the Chia blockchain. If you would like to verify the smart contract, please visit the GitHub repository here.

HashgreenSwap API Service

If you are a more advanced user or developer interested in interacting with HashgreenSwap through an API, we recommend reading this documentation for the HashgreenSwap API Service, which can be found here.

Connect Wallet—Hoogii, Goby, and More to Come!

blog_image_connect_wallet.png

In this release, HashgreenSwap offers a wider selection of wallet choices for your convenience! During Testnet, we successfully integrated Hoogii Wallet as the initial connection for HashgreenSwap users. Now, we're thrilled to introduce even more wallets, providing you greater flexibility in managing assets on the Chia blockchain.

  • Hoogii is a fully open-source crypto wallet extension built on the Chia blockchain, available for download in Google Chrome Web Store.
  • Goby is an open-source browser plugin wallet for Chia Network. Goby currently supports Google Chrome and Brave Browser.

Select the wallet that suits your preferences and embark on your journey with HashgreenSwap! More to come…

Information Update

The Landing Page and the Main Page

Together with the Mainnet launch of HashgreenSwap v1.0, we’ve introduced several updates to both the landing page and the main page, providing the community with the most up-to-date information. Can you spot the differences? 😏

White Paper Update

white-paper-update.jpg

In this release, we’ve also had updates in the HashgreenSwap white paper. We‘ve adjusted the trading fee on HashgreenSwap to 0.9% (0.3% will go to the liquidity providers as rewards and 0.6% will go to HG token holders), a change that aligns with our ongoing efforts to provide competitive and user-friendly services to the community.

Furthermore, our roadmap has been refined, ensuring the development remains on course. Our journey may have evolved slightly, but the overall vision and commitment to excellence remain steadfast. Visit the docs and check out the updates here!

Get Started with HashgreenSwap

—Check out the complete user guide for HashgreenSwap.

Untitled

We are delighted to introduce a series of instructional pages, designed to be your ultimate guide for using HashgreenSwap. These clear and straightforward instructions have been carefully prepared for you to follow. Take a look at how to get started with HashgreenSwap here!

  • Get Started offers a step-by-step instruction to help you onboard, guiding you through the process of creating a wallet, acquiring XCH or CATS tokens, and connecting your wallet.
  • On the How to Trade on HashgreenSwap page, we provide detailed instructions of interface operations for each core function, including token swaps, zap, adding liquidity, and removing liquidity.

Our Message

It's been a significant journey of development leading up to the release of HashgreenSwap v1.0. It’s incredible to reflect on the extensive work that has gone into optimizing and renovating only to give you a seamless experience.

We are excited to extend our invitation for you to explore HashgreenSwap, give it a try, and share your thoughts with us. We deeply appreciate your invaluable support as we continue our mission to deliver the finest experience on the Chia blockchain. Your continued support fuels our journey, and we can't wait to share more with you.

HashgreenSwap: https://hash.green/
Follow us on X: https://x.com/HashgreenLabs
Join our Discord: https://t.co/XycsnpDJbS
Follow us on LinkedIn: https://www.linkedin.com/company/hashgreen-labs

· 4 min read
J.

Banner-testnet-blog_04.jpg

HashgreenSwap v0.3 Release

Version 0.3 of HashgreenSwap is now live on Testnet! This release brings significant enhancements to the user experience via singleton aggregation optimization and introduces exciting new features like price slippage and token selection. These improvements are aimed at preparing for the upcoming launch on Mainnet. Join us on Testnet to explore the latest updates and help us refine HashgreenSwap for a seamless experience on Mainnet!

Click here to visit our page and start testing!

Singleton Aggregation Optimization: Enhancing Trading Stability for a Seamless Experience

Trading stability is of paramount importance to provide a smooth and reliable platform, and HashgreenSwap continuously strives to build a better trading environment for all green walkers within the Chia ecosystem. With this in mind, we are excited to introduce the implementation and optimization of Singleton Aggregation, a significant enhancement designed to further enhance trading stability.

Through meticulous fine-tuning and eliminating potential bottlenecks or inefficiencies, we have significantly improved the overall performance and reliability of HashgreenSwap. This optimization ensures a seamless trading experience, enabling you to trade with confidence. We remain dedicated to our mission of providing the best possible platform, and trading stability remains at the forefront of our ongoing development efforts.

info

If you would like to know more about native singleton aggregation, feel free to check out this doc or join our Twitter and Discord to discuss with us!

Introducing Price Slippage

In this release, you now have more control over your transactions, ensuring successful execution even in volatile market conditions with the presence of Price Slippage options.

price_slippage.png

When using HashgreenSwap, you can now select a slippage tolerance that aligns with your preferences, ranging from 0.1% to 5%. This feature empowers you to define the acceptable price difference between the time of your transaction initiation and its actual execution. By choosing an appropriate slippage tolerance, you can minimize the risk of unexpected price changes impacting your trade outcomes.

What’s Slippage Tolerance?

Slippage tolerance refers to the maximum percentage price difference that you are willing to tolerate before your order stops filling or gets canceled. You can also learn more about slippage via this article written by Adam Hayes from Investopedia.com.

minimum_received.png

Please choose a slippage tolerance by clicking the setting button at the upper right corner of both the Swap and Liquidity pages. Once you have entered the desired amount you would like to trade, HashgreenSwap will display and confirm that the minimum (amount) received is guaranteed when you submit your transaction.

Select Token

With this update, navigating and trading in HashgreenSwap has never been easier. The Select Token feature allows you to effortlessly choose and search for the specific token you want to trade by simply typing its name or asset ID in the search bar. Finding your desired token is now just a few keystrokes away.

select_token.gif

How do I search and where can I select the token?

  • Navigate to the transaction page (either Swap or Liquidity) in HashgreenSwap.
  • Hover the mouse over and click the token card (each has an arrow pointing downward).
  • A modal with a search bar will pop up with a list of tokens displayed right below.
  • Type the name or asset ID in the search bar. Once you find the token, click it to proceed!
  • If it shows “No results found”, please check your spelling and try again.

Our Message

We are pleased to have you join us for another update from HashgreenSwap. We would like to invite you again to participate in testing HashgreenSwap on Testnet! Your feedback and support are invaluable to us as we strive to provide the smoothest experience on the Chia blockchain.

info

Would you like further assistance with an error message or troubleshooting? Visit our troubleshooting channel for a quick check. If the problem still persists, please contact us and provide additional details through the #support-tickets channel in Discord.

HashgreenSwap: https://hash.green/
Follow us on Twitter: https://twitter.com/HashgreenLabs
Join our Discord: https://t.co/XycsnpDJbS
Follow us on LinkedIn: https://www.linkedin.com/company/hashgreen-labs

· 5 min read
J.

Banner-testnet-blog_03.jpg

Welcome back to another update from HashgreenSwap. In today’s blog, we will introduce the latest release of HashgreenSwap v0.2 on Testnet. We warmly invite you to join us and participate in testing the newly implemented features in HashgreenSwap v0.2. Without further ado, let’s jump right in.

Click here to visit our page and start testing!

HashgreenSwap v0.2 Release

This update introduces two significant features: Overview and Dynamic Fee. We are excited to bring these additions to HashgreenSwap, alongside various smaller updates and bug fixes that have been implemented based on your invaluable feedback.

Introducing the Analytics Page—Overview

overview.png

Overview is a brand new segment in HashgreenSwap v0.2 designed to provide a comprehensive overview of trading information and transaction records. With this addition, you can easily access the general trading information in HashgreenSwap, as well as delve into the details of transactions sorted by tokens and pools. Additionally, you can apply filters to explore transactions based on the type of operations performed within the AMM.

Overview

overview_cards_v0.2.png

Did you know...

The total transactions conducted in HashgreenSwap on Testnet have recently exceeded 10,000!

At the top section within the Overview page, you can find the trading analytics, displaying HashgreenSwap's TVL (total value locked), total trading volume, and the overall number of transactions. As you scroll down, you can explore information regarding tokens, pools, and transactions. Alternatively, you can click on the “Pools” or “Tokens” tab to access a separate page dedicated to pools or tokens, respectively.

transactions.png

Within Overview, you will have access to a display of transaction records. You will be able to check each transaction’s transaction type, total value (XCH), token amount, transaction address, and the timestamp. You can also utilize the filter options to selectively display all, swap, add, or remove transactions.

Each transaction will have a transaction address. By hovering over the address, you can click on it to access additional information through Spacescan.io.

Tokens

tokens.png

The Tokens chart presents fundamental information about each token. By hovering over a specific token and clicking on it, you will be redirected to a separate page for extra information.

tokens_txch.png

Take TXCH as an example. Once you are redirected, you will be presented with information about the token, including its TVL, total trading volume, total transactions, pool information, and all the relevant transaction records. You can, conveniently, click Add Liquidity or Trade to be redirected to the respective pages.

Pools

pools.png

Pools will show you the current pools available in HashgreenSwap, including pertinent details such as total volume, TVL, and APY (annual percentage yield) of each pair. By hovering over and clicking on a specific pool, it will redirect you to a separate page with further information related to the pool.

token_pair.png

Each pool will have its own overview page where details are presented as shown in the image.

Updates on Fee

Dynamic Fee

In order to prevent transactions from failing to go through due to insufficient fees, we developed Dynamic Fee to calculate the minimum required fee for your transaction, allowing you to choose enough fee to complete your transaction. Whenever you are swapping, adding liquidity, or removing liquidity, you can choose between different amounts of network fees that are calculated and the approximated speed will be shown beneath each fee option to give you a better understanding.

You can now directly choose the network fee in HashgreenSwap. Powered by dynamic fee aggregation, the system will estimate and recommend up to three fee options with different amounts and speeds.

tip

The aggregation process calculates the minimum required fee and provides up to three network fee options. By default, the slow option on Testnet is set to 0.005 TXCH to ensure successful transaction completion (However, the default network fee on Mainnet will be 0 XCH). For the other two options, if the calculations have minimal or negligible differences, the system will display a total of two network fee options, including the slow one.

Bug Fixes and Minor Adjustments

Based on your valuable feedback, we have made several minor adjustments in response to issues identified in the previous release. Some of the fixes implemented based on your feedback include, but are not limited to:

  • Strengthening and optimizing the user interface.
  • Ensuring that the wallet remains connected even when the page is refreshed.
  • Resolving the issue of continuous pop-up windows appearing.
  • Adding buttons to conveniently copy IDs for LP tokens in HashgreenSwap.

Our Message

We are pleased to have you join us for another update from HashgreenSwap. We would like to invite you again to participate in testing HashgreenSwap on Testnet! Your feedback and support are invaluable to us as we strive to provide the smoothest experience on the Chia blockchain.

info

Would you like further assistance with an error message or troubleshooting? Visit our troubleshooting channel for a quick check. If the problem still persists, please contact us and provide additional details through the #support-tickets channel in Discord.

HashgreenSwap: https://hash.green/
Follow us on Twitter: https://twitter.com/HashgreenLabs
Join our Discord: https://t.co/XycsnpDJbS
Follow us on LinkedIn: https://www.linkedin.com/company/hashgreen-labs

· 4 min read
J.

banner-blog.jpg

HashgreenSwap v0.1 is now live on Testnet! This latest version focuses on introducing key features, debuting the main page, and providing numerous testnet events for you to participate in. Come and test HashgreenSwap v0.1 with us and give us your feedback! Let's get started together with HashgreenSwap v0.1 on Testnet!

Visit our page and start testing!

Introducing HashgreenSwap v0.1 (Testnet)

Why HashgreenSwap? Don’t Trust, Verify.

HashgreenSwap is built around offers, with additional features such as zap, market aggregation, Cypher library, and more. This unique combination creates a trading experience unlike any other. Some of the TLDR sneak peeks include:

  • Zap allows users to add unequal funds to liquidity pool.
  • All transactions can be cleared within one block.
  • Money matters. Advanced calculus is employed to ensure fair pricing.
  • Cypher library constructs the foundation of HashgreenSwap.

Check out this page and you will learn about the details of the features and mechanics we built for our automated market maker (AMM), HashgreenSwap v0.1, on the Chia blockchain. Remember. Don’t trust, verify.

A Brand New Main Page

—Swap, Earn, and Engage on Chia.

Discover the all-new main page for HashgreenSwap! We're thrilled to introduce our story and provide a hub for the Chia community as an AMM. Take a look and let us know what you think on Discord or Twitter. Your feedback is essential as we strive to create a platform that meets your needs. Join us now and be a part of the HashgreenSwap community!

main-page.png

The Integral Swap and Liquidity

Located on the left side of the top bar, Swap and Liquidity are the twin spotlights of HashgreenSwap v0.1. Both components are integral to the AMM, with each serving a distinct role. Swap allows users to exchange between two tokens on the Chia blockchain whereas Liquidity provides you a chance to earn rewards from the trade by staking tokens into a liquidity pool.

swap.png

liquidity.png

Start Testing HashgreenSwap v0.1

Get Started

In this release, we would like to invite you to help us explore and test the aforementioned functions in HashgreenSwap v0.1 on testnet. Specifically speaking, the procedure for testing is provided but is not necessarily limited to conducting: token swap, liquidity addition, zap, or liquidity removal. Visit the documentation for a comprehensive guide!

info

Would you like further assistance with an error message or troubleshooting? Visit our troubleshooting channel for a quick check. If the problem still persists, please contact us and provide additional details through the #support-tickets channel in Discord.

Mission Green Walker—Start Testing with Hoogii

Banner-testnet-tutorial.png

Are you ready to earn potential rewards by testing HashgreenSwap v0.1? Follow these three simple steps to join the action and be a part of our very first testnet event, Mission Green Walker. Make sure to complete all the steps and stay tuned for even more exciting events to come! Let's get started on this journey together!

Step 1: Download Hoogii

Easily connect HashgreenSwap v0.1 with Hoogii following instructions here! Make sure to download the latest version on Google Chrome Web Store, connect or create a wallet, and switch the network to testnet!

Step 2: Claim TXCH

Get some TXCH from Chia Faucet or XCH Dev Faucet to your testnet receive address! Please note that your testnet address should start with “txch…” but not “xch…”.

Step 3: Start Testing

Voila! There you have it! Now you can start exploring and testing HashgreenSwap v0.1! Below are what you can test:

  • Token Swap—Swap TXCH for TFRIES (or in the opposite order).
  • Liquidity Addition—Enter an amount for both TXCH and TFRIES to provide liquidity.
  • Zap—Add unequal funds to the TXCH-TFRIES liquidity pool.
  • Liquidity Removal—Choose how much liquidity you want to remove to withdraw liquidity.

Our Message

The long-awaited HashgreenSwap v0.1 is now available on Testnet for the entire Chia community to explore and test. Our team has invested a lot of effort into its development, and we're hopeful that the mainnet launch is just around the corner. Your feedback is critical, and we would greatly appreciate it as we continue to enhance the platform further.

info

Would you like further assistance with an error message or troubleshooting? Visit our troubleshooting channel for a quick check. If the problem still persists, please contact us and provide additional details through the #support-tickets channel in Discord.

For any inquiries or to learn more about us, please visit our Discord or Twitter pages. Don't forget to swap or stake some TXCH and TFRIES to earn potential rewards! We'll keep you posted on all future updates and events. Looking forward to seeing you soon!

· 7 min read
J.

banner

Hello friends and fellows of Chia, welcome back to another post from Hashgreen! It's been a while since we had an update. Please forgive us for not having as many updates recently, as the development of Hashgreen DEX has come to the point where we think current features should suffice for over-the-counter (OTC) trading purposes. What follows consecutively is the development of the first ever AMM in Chia that is currently underway. We believe the ability to trade at will independently from counter-parties is a critical primitive of on-chain decentralized finance.

In today's blog, looking back from the experience of launching Hashgreen DEX to the construction of AMM, we are going to walk you through the landscape of the existing development in Chia and introduce an easier development in which the services could function in a more responsive and scalable manner to meet the needs of both end users and developers.

The current development in Chia

There are many existing dApps around the concept of a peer-to-peer trading protocol called “Offers” now. While it is decentralized and secure, the wallet is responsible for, other than just storing your private keys securely, managing these transactions/trades against peers and tracking their statuses on the blockchain by continuously pulling data from full nodes and verifying them.

Below is a figure showing the general picture of the system design that are commonly seen in Chia:

Figure: The current development in Chia.

The system, at a brief glance, looks reasonable and works reasonably well: dApps and wallets independently communicate and interact with the blockchain, processing users' transaction requests. Together they support an array of functionalities, including but are not limited to smart contract ("smart coins" in Chia's case) management, transaction activity management, and analyses of the blockchain. Smart coin management ensures the states in which users are trying to change are up to date on the blockchain and hence the transactions are valid when submitted; activity management and chain analysis are means to ensure, while complicated operations are behind the scenes, users can rest assured and observe high-level abstraction of their own activities as seen below.

Figure: Transaction activities displayed in the wallet.

Yet, current dApps (and other dApps on the way) are replicating an overlapping set of logic with the wallet underneath, performing smart coin management and blockchain analysis parallel to the wallet. In a simpler sense, dApps have to spend resources to set up their infrastructure (i.e. Chia full nodes) to deal with the abundance of activities on-chain. This creates two problems:

  • Functionalities are very entangled that transactions may go through either the dApp's own infrastructure, or through wallet's infrastructure. This trilateral relationship is unfavored in computer system design as it ambiguates the responsibilities and roles of dApps and wallets.

  • Development effort of dApps is high owing to the nature of the complexity of blockchain node deployment. The need for a dedicated infrastructure unavoidably creates an incredible entry barrier for blockchain enthusiasts, whose desire is no more than a backend-less web3 application. We all agree this would hinder the ability for the Chia community to grow rapidly.

We have not even mentioned that current Chia wallets (including official PC wallets and browser extension wallets) have spent so much effort dissecting the whole blockchain simply to locate your transaction in the ocean of activities. This burns away much computational power and energy from your computer, and it bears asking if we can find a better design that hits two birds with one stonemaking dApps easier to develop and allowing wallet to offload most of the heavy lifting.

Web3 does not have to be inefficient

dApps or wallets do not necessarily have to deal with all the nuisances. We can build a supporting system for web3 projects to allow them to read from and write to the blockchain with APIs (application programming interface). The idea is that blockchain in itself does not require everyone to trustlessly maintain a replica of the chain, but rather, one should be able to fetch and verify any piece of information from the chain. With that in mind, users on the edge can save their precious computation power and device pattern if they choose so, accessing the web3 world through this supporting system.

Let me explain to you why and how exactly does having such a service, or a trusted gateway system to the blockchain, could improve the scalability of the system and thus provide a real-time experience to the end users.

A lightly trusted gateway to the blockchain

Figure: What the development would look like if we apply the gateway system.

A trusted gateway system to the blockchain is structurally decentralized in its backend and it provides endpoints users can call to execute their web3 business via APIs. It interacts with the blockchain, as well as the dApps and wallets. This system will focus on solving these problems:

  • With the help from the gateway system, dApps can deploy without their own infrastructure and communicate with the wallet directly for information on the blockchain. Some current wallets do not support or intend to support this feature owing to their own infrastructure implementation, but we envision a future where gateway systems are easily accessible to every developer through wallets.

  • Wallets can be a lot snappier now since a significant amount of computation has been offloaded to the gateway system, for all the web3 services (as shown in the figure above). The gateway system will also have a high-performance backend that is responsible for cashing, access control, and bi-directional communication via websocket.

The gateway system to the blockchain could be beneficial to the users and the developers for it could enhance the scalability and responsiveness of the system. It will achieve a greater level of convenience if the demand and usage of dApps in Chia grow higher. But the challenge for the system would be to earn trust from the users and other developers in the defi world.

Even more possibilities?

The aforementioned gateway system is just an idea that we envision and below are some more of the functionalities we can think of that also serve well:

  • An activity-based analysis of the whole blockchain can be easily carried out by the gateway system. For example, standard Chia farming and transfer events, CAT minting/melting/transfer events, NFT minting/transfer/royalty collection events, etc. This activity feed can be collected by wallet users or blockchain explorers, avoiding showing end users coin sets which are hard to parse for human eyes.

  • If the users provide an observable wallet public key, the gateway system can even effectively provide a non-SPV wallet to browser extension users. That means, you will have a seamless experience transitioning from Chia official wallets to extension wallets!

Summary

We talked about the current development in Chia and painted a picture of an easier development in which responsiveness and scalability are achieved via a lightly trusted gateway system. We believe that such a gateway system could be favorable to the users and developers, and maybe you have a better idea to foster the ecosystem!

· 3 min read
J.

banner

🌱 Hello Chia holders and Hashgreen readers, welcome back to another weekly update. In the previous update, we explained two fundamental ideas in decentralized finance (DeFi), that is, order books and swaps. Some of you may already know these concepts, but we believe a succinct explanation is needed to let everybody know what's going on and what product they are using.

This week, we have a few updates that we would like to tell you about.

tl;dr

tutorial page, my orders pagination, adjustment of landing page on the mobile, and the update for amm.

What's Been Done

  • The tutorial for Hashgreen DEX is out now! Considering the complexity and the novelty of DEX, we release a tutorial segment as a guidance for users who are new to our page or not familiar with the landscape of DeFi.
Figure: Tutorial will pop out for first time users.

  • We will guide you through the main features of Hashgreen DEX, in the hope that you will quickly understand how to trade in Hashgreen DEX. (You can also visit our Docs for more information. 💖)
Figure: Follow the steps to learn key features and how to trade.
Figure: You can always find the tutorial here in the navigation bar.

  • We've added pagination in My Orders. A page can display up to 8 transactions, and below the panel lay the pagination buttons where you can click to see your transactions collated and presented in different pages.
Figure: Click different pages to view your orders.

  • Our team has made a few adjustments to the appearance of our landing page on different mobile devices.

What's Rolling

  • We at Hashgreen have had some gradual progress along the way building the AMM. The development is now in full swing. Our team has almost finished the smart contract's high-level design and only micro adjustments are needed for future implementation. We want to secure a seamless end-to-end trading experience in which our dApp interacts smoothly with the connected wallet.

  • Concrete plans of tokenomics and functionalities will be out around early September, and the same goes for the whitepaper. We will release an alpha version, "Alpha Testing", on the testnet and start testing it around early November. Alpha Testing is opened to community members on Testnet10. You are absolutely welcomed to join our Alpha Testing and if you do so, you can accrue alpha tester status (possibly rewards!). Once we make sure everything is well prepared and settled after Alpha Testing, we will formally launch the service, set to release in 2023, on Mainnet. By the time "Mainnet Launch" gets going, it will be available to everyone, accompanied by the releasing of Hashgreen token.

timeline

· 4 min read
J.

banner

Welcome back to another Hashgreen's weekly update! Previously on Weekly Update #11 we talked about the design features that began to take shape for the AMM, hankering for the best outcome to our users and to the ecosystem. We also announced a few updates and a call for volunteer translators. If you are willing to help with the translation, please visit our Discord.

This week we will be taking you through two topics: the AMA we attended earlier this June and our thought and expectation for offer2 according to the feedback from the community.

Hashgreen at Chia in China's AMA

What Chia is trying to solve with its NFT standards

In the AMA held by Chia in China, we introduced our products and talked about offer features and Chia's NFT standards. Below are three factors we mentioned about Chia's NFT during the AMA, namely what Chia is trying to solve and realize with its NFT standards.

  • Autonomous offer trading: to trade without authorization from a third-party platform.

    Chia does not need you to authorize a third-party platform to operate for you. This could fundamentally prevent users from getting scammed.

  • Decentralized Identifier (DID): to verify the authenticity and to prove the ownership.

    Has it ever happened to you when you bought an NFT and later discovered that it was an impersonation scam? This is what Chia wants to solve with its NFT1 standard. DID is like a digital identification that confirms the authenticity. With such method, creators or project owners can have their NFTs connected with their DIDs, proving the ownership with the digital identity.

  • Royalty: to pay profit-sharing to the author of an NFT.

    How many percent of royalty payment should be given to the author of an NFT is what Chia's figuring out and this is going to be one of the core ideas for NFT1.

Chia's NFT is definitely a worthy path to take and a pull factor that attracts developers, investors, and users to come, especially when there's a variety of paths such as DEX, NFT, and DeFi that people have embarked on to develop or build Chia's infrastructure.

Regardless of which path you are going to take or have taken, we, Hashgreen, are always pouring ourselves into helping these projects, including NFTs. Most importantly, providing a steady and strong base for Chia's community is what we expect and choose to do to allow all tokens in Chia to be able to trade.

Committed and Uncommitted Offers

What we think offer2 can hold for us

Offer files (”offers”, “offer1 standard”) have been one of the biggest drivers for the community activities in Chia, as it provides a p2p way for people to trade trustlessly and securely. As one of the first adopters of offer1, we love it so much that we start to think what we ultimately want it to evolve into based on the feedback of many DEX users. We heard these feedback:

  • Why does my attempt to fulfill the offer fail?

    Ok, so this relates to how current offers are structured: they are not commitments on the chain to indicate token swap intentions, but merely a memorandum of understanding. The offer makers can withdraw their offers any second by spending the recorded coins in the offer, while you, the offer taker, have to check if the coin still exists beforehand.

    Can we make this process better? Yes! In fact, the offers should be on chain with two possible exit paths: either via settled swaps or clawback after some timeout. You can be assured that the offer is still 100% valid as long as you peek into the coins and you know for how much longer they will continue to remain valid.

  • Is there a limit price I can put? Partial fill?

    No limit price. No partial fills. Ouch.

    This is most of our experience with the current DEX on Chia, and we understand it so much more. We would call it lack of feature rather than a bug for offer1, as the logic for limit price and partial fills are very custom to fungible tokens. The logic for offer1 is perfect, for example, for NFTs as they need to be exchanged in whole. We think a good offer2 design should leave rooms to house some custom logic, including things like “allowing transactions to go through as long as prices are above this price” and “self re-instantiation if certain conditions are met”.

From an AMM building perspective, we think having an offer2 that satisfies the above criteria would allow an easier exchange of funds, thus increasing liquidity and capital efficiency in the Chia Blockchain. So, rest assured folks, while Hashgreen Labs continues to build on Chia!

· 3 min read
J.

banner

What's Been Done

AMM's Design Features Explained

Hi Chia holders! We at Hashgreen have some updates on the long awaited AMM! Over the past weeks, while we have implemented basic building blocks for the smart schemes, more importantly we are composing these blocks to ensure users have great experience trading and participating in our ecosystem.

  • A sustainable token and distribution scheme for the Hashgreen ecosystem:

    We want to bake our tokenomics directly into our AMM by highly incentivizing the first batch of supporters for their rapid adoption. On the other hand, we are considering allowing not only liquidity providers to earn (liquidity mining), but also protocol owners — each and every one who owns the Hashgreen token — to earn.

  • Fair pricing of token pairs:

    We all know there are huge Miner Extracted Values (MEVs) in the Ethereum ecosystem, and especially when it comes to trading, miners can easily manipulate the orders of contract interaction in their favor. Chia Blockchain does not have this problem, and we enforce a rule of single price per block to prevent market manipulation. Everyone who interacts with the AMM gets the same price and does not get front-run.

  • Name your slippage tolerance and commitment period:

    When you put orders in to buy from/sell to the AMM, on top of the assured fair prices, you can additionally specify a maximum slippage tolerance you are willing to accept, and until when the order is valid. These fully adjustable parameters will make interactions with AMM a very familiar experience compared to existing ones you have used before.

There are many more design features we are currently working out! If you have questions, feel free to shoot message at our Twitter or Discord!

What's Rolling

  • Language switch option is about to be released again in the near future! As we would like to support as many languages as possible, we are looking for volunteer translators! If you are interested in providing help, please head to our Discord server and write a message in #translators or DM @HG | Daisy and @HG | James to let us know.

  • Lately we've noticed that there's some impersonation scams in Chia's community and people have been affected by it. Thanks to the community's effort and your report, we were able to identify it and withdrew it from circulation in our DEX. Please be extra careful when you make any transaction, and make sure you have a full understanding of the background of the tokens you're going to trade. The effort in identifying and terminating scams is also attributed to the token listing mechanism in our DEX, where the data is reviewed after being imported from TAIL database API. We are currently working on adding warning messages in the DEX to help you and please keep careful watch for potential scams whenever you trade.

· 4 min read
J.

banner

Hello to all the readers, who have stayed with Hashgreen along the way!

My name is James, the newly hired community lead of Hashgreen. I will take charge of the Weekly Update series and carry on providing information for future product updates. Harry will still publish tech blogs from time to time, leading you through finer details of Blockchain technology related to Chia and Hashgreen.

Over the month, the Chia community seems to have been less active than before, yet with the recent release of Chia Blockchain 1.3.4. As for us, we have made a few updates on Hashgreen DEX.

What's Been Done

  • Over the past few weeks, our DEX development team has implemented multi-offer upload into the web interface to make the process of transactions quicker and easier! Users can now upload multiple offer files simply by clicking the upload button or dragging and dropping offer files directly into the page.
Figure: You can now upload more than one offer file!
  • A new design of open orders and order history (now called my orders) is released. It's easier now for you to check the status of your orders and even make adjustments to it with a few clicks. Details of the trade information will be shown in the display board. The two dropdown menus at the top allow you to filter certain types of offers that you wish to see. You can also cancel your offer using the cancel button in the action column. Or you can cancel multiple offers by selecting them at once.
Figure: Click all markets or all status to manage your orders.
  • Our team has updated a new interface for the order book, in which we re-oriented the menu of the offers. Offers asking or bidding a certain coin will be aligned with each other. You are able to expand or close the panels, to either compare the asking and bidding price or leave the order book with only one of the offers presented.
Figure: You can zoom in to see specific types of offers.
  • We have released an update for the header! We add a control button where old headers are put together with the user ID button that was temporarily removed. Light/dark scheme switch and language options are moved to the header as well.
Figure: User ID allows you to sync between different devices.
Figure: Here is the button to copy your user ID.
Figure: To merge records, press import once you enter your user ID.
  • We've continued to iterate with new features in the DEX, some of which are dedicated to the feedback from our Discord community.

What's Rolling

  • AMM is still under slow but steady development. Enabling AMMs on the Chia Blockchain turns out to be a really hard problem! If you'd ask us when you will have HashgreenSwap to test out on the testnet, we expect it to be here in another two quarters! In the meantime, we are starting to think about the tokenomics for the Hashgreen Token, to not only allow the profits to circulate back to the community but also create an active and healthy scheme that lasts long.

  • In order to ameliorate the user experience, the UI/UX team will continue to remodel the web interface. We are working hard on the new landing page besides a few more integrations!

· 3 min read
H.

banner

What's Been Done

  • Over the past weeks, fees on the Chia Blockchain seems to be here to stay. To allow our users get their transactions on chain quicker, we now provide users with the ability to supply fee by adding to the supplied Chia amount or removing from the requested Chia amount in their offers. The suggested fee is hinted on the pop-up window for order book items, and is currently 0.0001 XCH. We chose this number since it not only suffices to be on top of the mempool, but is miniscule (7 cents USD at the time of writing) for users. In the future, we plan to implement more accurate fee estimators to give better fee hints and save you some bucks.
How is it done?

With Chia offers, Hashgreen is able to redirect the provided fees into a temporary address, then we generate a SpendBundle on the fly to spend the extra amounts as fee. This SpendBundle is then aggregated with the user offers before we push it to the Chia Blockchain.

Figure: These are two different options you can provide to match an offer you like

fee-prompt

  • We made it easier for users to submit your orders! Simply copy the amounts provided in the pop-up panel when you hover on the offers you want to match against with the copy button. You can also paste your offer file string directly on the web interface.
Figure: Here are the button to copy your preferred amounts to supply

copy-fee

Figure: In the official Chia wallet, use this copy button to copy the raw offer file into your clipboard

copy-offer

Figure: Press this big paste button to upload your offer file

paste-offer

  • Many partners are starting to integrate our Market Statistics API into their platforms. The previous generation were slow and bulky, taking nearly 30 seconds to complete a call. We have optimized it to return the results in under half a second.

  • New market selection menu is now available at UAT interface. If you want the UAT interface to connect with mainnet, head to UAT settings and toggle on PROD.

market-selection

  • We fixed many bugs on the frontend interface, including incorrect display of order status (sometimes it shows "Confirming undefined"), and user token retrieval errors.

What's Rolling

  • The smart coin team is coding up the first version of AMM coin driver for an MVP AMM protocol. As time goes on, we will gradually implement more standard functionalities in current AMMs!