Skip to content
This repository was archived by the owner on Apr 11, 2023. It is now read-only.

Conversation

@0xean
Copy link
Contributor

@0xean 0xean commented Mar 3, 2022

This PR moves much of the BitcoinChainAdapter logic in a UTXOBaseAdapter class that can be re-used for future UTXO's.

It also includes some minor updates to the README

Have a few questions to run down before we merge and will add those as comments momentarily.

Currently, all existing tests pass, but have not done any additional testing past that.

Closes #125

@0xean 0xean requested a review from a team as a code owner March 3, 2022 13:05
@0xean 0xean marked this pull request as draft March 3, 2022 13:06
@0xean 0xean changed the title Feature: utxo chain adapter refactor feat: utxo chain adapter refactor Mar 3, 2022
@0xean 0xean force-pushed the feature/utxo-chain-adapter branch from 35ce6c6 to 1e7b5df Compare March 7, 2022 19:30
@0xean 0xean marked this pull request as ready for review March 7, 2022 19:34
@0xean
Copy link
Contributor Author

0xean commented Mar 7, 2022

alright, this should be good to go now, all conflicts have been resolved.

@0xean
Copy link
Contributor Author

0xean commented Mar 7, 2022

argh, one sec and then should be ready for review.

@0xean
Copy link
Contributor Author

0xean commented Mar 7, 2022

alright actually ready now.

@0xean 0xean requested review from 0xdef1cafe and kaladinlight March 8, 2022 17:03
Copy link
Contributor

@kaladinlight kaladinlight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple follow up remarks, but generally looks good to go as a starting place to start iterating on. Thanks!

@0xean 0xean requested a review from kaladinlight March 8, 2022 18:45
@0xean 0xean requested a review from asamere March 8, 2022 19:15
Copy link
Contributor

@asamere asamere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regarding "providers" we should keep in mind eventually/ultimately backend providers will be dynamic, with multiple potential backends for each chain. These could come from an ETH contract, IPFS, etc but will change as operators and infra availability fluctuates.

@0xean 0xean force-pushed the feature/utxo-chain-adapter branch from 4cde6bd to 8ee105e Compare March 8, 2022 21:37
@0xean 0xean merged commit c6d1b31 into main Mar 8, 2022
@0xean 0xean deleted the feature/utxo-chain-adapter branch March 8, 2022 21:40
shapeshift-ci-bot pushed a commit that referenced this pull request Mar 8, 2022
# [@shapeshiftoss/chain-adapters-v2.2.0](https://github.com/shapeshift/lib/compare/@shapeshiftoss/chain-adapters-v2.1.0...@shapeshiftoss/chain-adapters-v2.2.0) (2022-03-08)

### Features

* utxo chain adapter refactor ([#411](#411)) ([c6d1b31](c6d1b31))
@shapeshift-ci-bot
Copy link
Member

🎉 This PR is included in version @shapeshiftoss/chain-adapters-v2.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor BitcoinChainAdapter to UTXOChainAdapter

6 participants