-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTLC based atomic swaps: "wrapped REV" ERC20 token? #13
Comments
oh. that Agoric atomicSwap isn't cross-chain. it's within Agoric's ocap world. |
How about this way? https://tbtc.network/developers/tbtc-security-model/ |
Yes, pegging is an alternative to HTLC and tBTC does look like an interesting point in the pegging design space. Compared to HTLC, it still seems to require a fairly large number of parties to play the signer role:
|
I know how HTLC works for swap. Alice pay Bob 10 REV on RChain, exchanging Bob's 10 WREV on Ethereum. |
I am not aware of any technique for cross-chain swaps that doesn't involve parties on both sides that keep off-chain secrets. |
https://gitcoin.co/grants/1454/wrapped-filecoin-wfil is an approach using a smart-contract on the ETH side and a DAO to approve the trusted parties on the filecoin side. |
https://bridge.scrt.network/faq discusses an ETH<->SCRT bridge that's mostly a multi-sig contract on each side. "The bridge operators are very reputable staking operators: Figment, Staked, B-Harvest, Citadel.one and Enigma." |
connecting REV to Uniswap seems like a good way to get some things moving
while looking for code to do HTLC / atomic swaps, I ran into another blockchain project using scala: https://github.com/ACINQ/eclair
bitcoin lightning thing "largest lightning node on mainnet"
https://github.com/ACINQ/eclair/tree/master/eclair-core/src/main/scala/fr/acinq/eclair/channel seems to be the relevant code, though that looks like a lot compared to...
https://github.com/chatch/hashed-timelock-contract-ethereum/blob/master/contracts/HashedTimelockERC20.sol
also ran into something way too interesting: proceedings of formal methods on blockchains https://fmbc.gitlab.io/2020/files/FMBC2020.pdf
rust https://crates.io/crates/blockchain_contracts
https://github.com/comit-network/RFCs/blob/master/RFC-009-SWAP-Basic-ERC20.adoc
https://tlu.tarilabs.com/protocols/atomic-swaps/AtomicSwaps.html
https://en.bitcoin.it/wiki/Hash_Time_Locked_Contracts
The text was updated successfully, but these errors were encountered: