With a basic development setup and a few simple steps, anyone can create a p2p AnyHedge contract.
After you've run the quickstart, dig into the other examples. You'll find detailed comments and alternate use cases. When you start getting deeper, you'll find the full documentation helpful.
// Request an authentication token const authenticationToken = await manager.requestAuthenticationToken('My name'); // Or with a direct API request curl -d 'name=My name' "https://api.anyhedge.com:6572/token"
We offer a low-cost, automated settlement service for anyone to use.† You always have the option to create your own oracles and monitoring systems with our open source tools, or you can harness the work we've already done and use that time to build your product.
† All users are subject to our Terms of Service.
Most of DeFi runs on the account model. Building AnyHedge on a UTXO-based blockchain offers some specific advantages:
Of course, sometimes the account model is the better option. We built AnyHedge for when you need the benefits of independent, atomic transactions.
Zapit wallet looks forward to using AnyHedge to provide an uncensorable, non-custodial stability solution to our users. These financial products using the UTXO model can scale with Zapit to an enormous user base at low cost - a critical need for the vast majority of people in the world.
Founder, Zapit Wallet
What blockchain is this built on?
AnyHedge is built on the Bitcoin Cash (BCH) blockchain.
Why not build on the Ethereum blockchain?
The Ethereum blockchain has a lot of innovation and opportunity for growth. The Bitcoin Cash blockchain has a similar level of innovation and opportunity, but is built on the UTXO model instead of the account model. That and other unique properties make it the best fit for AnyHedge. There is much more detail in the AnyHedge whitepaper.
Why is the UTXO model important?
UTXO-based blockchains have advantages over account-based blockchains. First off, they reduce systemic risk. They also give users the option to participate in anonymous markets or to choose their counterparties. There is much more detail in the AnyHedge whitepaper.
Why would I use the settlement service?
The settlement service makes AnyHedge easy to use and cheap to implement with significantly less up front cost. Additionally, when you use the API, you will have first access to market-leading technology as the AnyHedge family of protocols grows.
Do I need to use your settlement service?
No. AnyHedge is an open source protocol that can be used by anyone. We provide open source libraries and tools you can use to build your own vision.
Is AnyHedge free?
The protocol and libraries are open source and free for anyone to use. The optional settlement service requires a small fee in order to automate a contract.