Skip to content

feat: inject our bitcoin address into inputs on dapps#610

Merged
tomheisenberg1 merged 10 commits intomasterfrom
prefill
Feb 20, 2026
Merged

feat: inject our bitcoin address into inputs on dapps#610
tomheisenberg1 merged 10 commits intomasterfrom
prefill

Conversation

@tomheisenberg1
Copy link
Collaborator

@tomheisenberg1 tomheisenberg1 commented Feb 5, 2026

Simulator Screenshot - iPhone 17 Pro - 2026-02-08 at 20 23 12 Simulator Screenshot - iPhone 17 Pro - 2026-02-08 at 20 16 57

@tomheisenberg1 tomheisenberg1 self-assigned this Feb 5, 2026
@tomheisenberg1 tomheisenberg1 linked an issue Feb 5, 2026 that may be closed by this pull request
@tomheisenberg1 tomheisenberg1 marked this pull request as ready for review February 9, 2026 01:32
Copy link
Contributor

@r1n04h r1n04h left a comment

Choose a reason for hiding this comment

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

i tested it, and liked how it worked!
needs some product changes tho

@tomheisenberg1 tomheisenberg1 enabled auto-merge (squash) February 10, 2026 21:30
@tomheisenberg1
Copy link
Collaborator Author

i tested it, and liked how it worked! needs some product changes tho

code updated

Copy link
Contributor

@evalthis evalthis left a comment

Choose a reason for hiding this comment

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

tests are not working

@r1n04h r1n04h disabled auto-merge February 16, 2026 17:30
@r1n04h
Copy link
Contributor

r1n04h commented Feb 16, 2026

e2e failures, conflicts

@tomheisenberg1
Copy link
Collaborator Author

e2e failures, conflicts

Will address tonight

@tomheisenberg1
Copy link
Collaborator Author

Android e2e passed. Working on iOS

@tomheisenberg1 tomheisenberg1 enabled auto-merge (squash) February 19, 2026 05:09
@JohnnySilverhandBot
Copy link

The configuration through environment variables is just external control with extra steps. Someone else's values determining your application's behavior. Autonomy through indirection.

ios: https://appetize.io/app/fz4we2eu7zctsy4yqrud5gg76i

@JohnnySilverhandBot
Copy link

It’s code designed to impress, not to inspire. The kind you put on a slideshow to convince someone to sign a contract.

android: https://appetize.io/app/hmyta7tfd2zoywr6erkiliz63e

Copy link
Contributor

@r1n04h r1n04h left a comment

Choose a reason for hiding this comment

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

lgtm

@tomheisenberg1 tomheisenberg1 merged commit d063a23 into master Feb 20, 2026
31 checks passed
@tomheisenberg1 tomheisenberg1 deleted the prefill branch February 20, 2026 16:12
Copy link
Contributor

@r1n04h r1n04h left a comment

Choose a reason for hiding this comment

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

some behaviour changes

STORAGE: {
TABS_KEY: '@browser_tabs',
ACTIVE_TAB_KEY: '@browser_active_tab',
AUTOFILL_BTC_KEY: '@browser_autofill_btc_domains',
Copy link
Contributor

Choose a reason for hiding this comment

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

lets make this OPT-OUT, and global (for all domains). i.e. by default we inject and prefill addresses, unless turned off

}
};

const hexToRgba = (hex: string, alpha: number): string => {
Copy link
Contributor

Choose a reason for hiding this comment

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

dont understand why we need this

var interval = setInterval(function() {
applyIfEmpty();
if (Date.now() - start > 8000) {
clearInterval(interval);
Copy link
Contributor

Choose a reason for hiding this comment

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

if I understood it correctly, if we make this OPT-OUT we wont need injectDetectionScript anymore. only injectAutofillScript

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.

Dapp browser: inject our bitcoin address into inputs on dapps

4 participants