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

Refactor Spawn and add Master Wallet funding screen #30

Merged
merged 29 commits into from
Mar 4, 2024

Conversation

truemiller
Copy link
Collaborator

@truemiller truemiller commented Mar 1, 2024

  • extended funding component for use with non-agent funding, i.e. master wallet funding
  • added master wallet funding page
  • moved the majority of state to useSpawn hook and context
  • refactored spawn components to use useSpawn hook
  • made useEthers and useMulticall into services as they dont rely on state
  • added more validation to rpc so user can't pass //localhost... which breaks backend
  • remove reliance on service in spawning, as its not relevant
  • renamed maps to records as they're records

@truemiller truemiller changed the title Add SpawnMasterWalletFunding component Master wallet funding screen Mar 1, 2024
@truemiller truemiller requested a review from mohandast52 March 1, 2024 19:22
@truemiller truemiller changed the title Master wallet funding screen Refactor Spawn and add Master Wallet funding screen Mar 1, 2024
Copy link
Collaborator

@mohandast52 mohandast52 left a comment

Choose a reason for hiding this comment

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

LGTM, added a few tiny comments.

frontend/components/Spawn/SpawnRPC.tsx Outdated Show resolved Hide resolved
frontend/components/Spawn/SpawnStakingCheck.tsx Outdated Show resolved Hide resolved
frontend/hooks/useSpawn.tsx Show resolved Hide resolved
frontend/service/Ethers.ts Show resolved Hide resolved
@truemiller truemiller merged commit 4cd4e08 into main Mar 4, 2024
2 checks passed
@mohandast52 mohandast52 deleted the master-wallet-funding-screen branch March 4, 2024 16:16
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.

2 participants