Skip to content
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

SLP integration WIP. #925

Merged
merged 4 commits into from
Apr 28, 2021
Merged

SLP integration WIP. #925

merged 4 commits into from
Apr 28, 2021

Conversation

artemii235
Copy link
Member

No description provided.

Copy link

@sergeyboyko0791 sergeyboyko0791 left a comment

Choose a reason for hiding this comment

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

I've left one comment just to not forget

fn my_address(&self) -> Result<String, String> { unimplemented!() }

fn my_balance(&self) -> Box<dyn Future<Item = CoinBalance, Error = String> + Send> {
let coin = self.clone();

Choose a reason for hiding this comment

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

How about wrapping SlpToken into Arc<SlpTokenFields> as it did for Qrc20Coin? I guess you wanted to do this at the next iteration

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, I will consider this later, thanks! 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants