I think we should lift this part out and make it part of bedrock-web-wallet instead because it's not specific to an UI framework, etc. -- but that can happen later after we get more experience and figure out a good API for working with it that wy. I'll turn this comment into an issue.