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

Federations - #746

Merged
AnthonyRonning merged 8 commits into
masterfrom
update-v0.5.0
Dec 21, 2023
Merged

Federations#746
AnthonyRonning merged 8 commits into
masterfrom
update-v0.5.0

Conversation

@AnthonyRonning

Copy link
Copy Markdown
Collaborator

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 30, 2023

Copy link
Copy Markdown

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 561d55f
Status: ✅  Deploy successful!
Preview URL: https://8ce60064.mutiny-web.pages.dev
Branch Preview URL: https://update-v0-5-0.mutiny-web.pages.dev

View logs

@AnthonyRonning

Copy link
Copy Markdown
Collaborator Author

ready for more frontend testing, just without the persistent storage.

Here's a federation invite code on signet: fed11qgqzc2nhwden5te0vejkg6tdd9h8gepwvejkg6tdd9h8garhduhx6at5d9h8jmn9wshxxmmd9uqqzgxg6s3evnr6m9zdxr6hxkdkukexpcs3mn7mj3g5pc5dfh63l4tj6g9zk4er

Comment thread src/i18n/en/translations.ts Outdated
@AnthonyRonning AnthonyRonning changed the title v0.5 Federations Dec 21, 2023
@AnthonyRonning
AnthonyRonning force-pushed the update-v0.5.0 branch 3 times, most recently from 8e6a3a7 to 42f0064 Compare December 21, 2023 22:13
@AnthonyRonning
AnthonyRonning marked this pull request as ready for review December 21, 2023 23:03

@futurepaul futurepaul left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm / works on my machine. tested on chrome and in safari on ios and as ios app on device

Comment thread src/routes/Gift.tsx
Comment on lines +71 to +72
(state.balance?.lightning || 0n) +
(state.balance?.federation || 0n);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

we are doing this a bunch everywhere, probably a good indication we should add in mutiny-core something like can_pay_lightning(amt) that checks both federation and lightning balance. Good for a follow up though

Comment thread src/routes/settings/ManageFederations.tsx Outdated
Comment on lines +547 to +548
description:
"Mutiny has experimental support for the Fedimint protocol. You'll need a federation invite code to use this feature. These funds are currently not backed up remotely. Store funds in a federation at your own risk!",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Could note something about rug-pull risk here too, fine for now though

key={i18n.t("settings.manage_federations.expires")}
>
<time>
{timeAgo(props.fed.federation_expiry_timestamp)}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

timeAgo isn't the best name for this function now since it is returning a future time, but fine for now i guess

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Would be good to display a warning or something if the expiration is in the past though

@AnthonyRonning
AnthonyRonning merged commit cb09dd7 into master Dec 21, 2023
@AnthonyRonning
AnthonyRonning deleted the update-v0.5.0 branch December 21, 2023 23:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants