Post A977Mig33G25R86Rcm by silverpill@poa.st
(DIR) More posts by silverpill@poa.st
(DIR) Post #A96Bau7bVHBTdy3EcC by alex@gleasonator.com
2021-07-09T02:49:50.220455Z
3 likes, 0 repeats
Has anyone integrated MetaMask into a webpage before? It occurred to me I could probably make it prompt for a payment in Soapbox FE’s crypto payment modal for Ethereum.
(DIR) Post #A96Bd5fHYbL21VqXLs by Atlas_Khan@kiwifarms.cc
2021-07-09T02:50:16.075736Z
0 likes, 0 repeats
@alex I thought post did that?
(DIR) Post #A96Budacg858A82B8q by stevejail@kiwifarms.cc
2021-07-09T02:53:26.414446Z
1 likes, 0 repeats
@alex Aren't Brave wallets based on MetaMask, or am I making that up?I know you're into Brave rn
(DIR) Post #A96BvolScH7t6sfMfY by Moon@shitposter.club
2021-07-09T02:53:39.062320Z
1 likes, 0 repeats
@alex I never thought about it, I've only ever used it to interact with contracts.I mean, you could make a payable contract
(DIR) Post #A96C4Wid4xihkTUjE8 by guizzy@pleroma.guizzyordi.info
2021-07-09T02:55:12.738038Z
1 likes, 0 repeats
@alex I can't really help with dev stuff but have you looked at walletconnect? https://walletconnect.org/
(DIR) Post #A96C7pH4XwU6ANB7Ee by alex@gleasonator.com
2021-07-09T02:55:47.419130Z
0 likes, 0 repeats
@stevejail Yeah exactly, so if I make it work with MetaMask it’ll work with Brave
(DIR) Post #A96CBOZTlnWSVSUR6m by stevejail@kiwifarms.cc
2021-07-09T02:56:27.437983Z
1 likes, 0 repeats
@alex Based. Fuck Tribes, just get Brave to hire you to make the Brave social network 😎
(DIR) Post #A96CEY4ktBPEqvcfQm by alex@gleasonator.com
2021-07-09T02:57:01.660462Z
0 likes, 0 repeats
@guizzy Interesting… I was imagining MetaMask’s API would become a quasi-standard kinda like Mastodon API
(DIR) Post #A96CLtr2JZNaQQi9M8 by alex@gleasonator.com
2021-07-09T02:58:19.897999Z
0 likes, 0 repeats
@stevejail If I manage to pull off what I’m thinking, they might. At least this time they’re not a direct competitor to me. Seems like it would be mutually beneficial.
(DIR) Post #A96CaiwTAWmMvPJxui by Moon@shitposter.club
2021-07-09T03:01:02.360511Z
1 likes, 0 repeats
@alex @guizzy it injects a handler called window.ethereum into the dom, which is then used in a constructor to a library called web3.js that is a high level abstraction over ethereum functionality.I have literally never looked at how other wallets work because metamask is the only one that really matters.
(DIR) Post #A96u53A6qsMoLvPMSu by green@kiwifarms.cc
2021-07-09T11:08:19.751566Z
1 likes, 0 repeats
@alex Yeah, via JavaScript / Reactweb3.js is way too convoluted to do basic stuff, though, you'll get frustratedconst web3 = new Web3(window.ethereum)and just look at web3.js docs to figure out how to trigger the actionI don't think you use JS, though
(DIR) Post #A977HkIJby2Z0Kd8s4 by raphael@mastodon.communick.com
2021-07-09T11:19:46Z
1 likes, 1 repeats
@alex I'm far from being a JS expert, even less of Vue.js which I picked up recently and only for this: https://gitlab.com/mushroomlabs/hub20/frontend-sdk/-/blob/develop/src/store/web3.js
(DIR) Post #A977Mig33G25R86Rcm by silverpill@poa.st
2021-07-09T09:50:52.171097Z
1 likes, 0 repeats
@alex @guizzy Metamask API complies with a standard called EIP1193 eips.ethereum.org/EIPS/eip-1193.
(DIR) Post #A977NNVrE3F65OeNvs by alex@gleasonator.com
2021-07-09T13:37:17.909799Z
0 likes, 0 repeats
@silverpill @guizzy Beautiful
(DIR) Post #A9EsEWKt6lJanQW7eq by sjw@neckbeard.xyz
2021-07-13T07:25:17.565307Z
0 likes, 0 repeats
@alex I know @Moon has done that before
(DIR) Post #A9EsIZEAIc4qvGInWi by 1iceloops123@shitposter.club
2021-07-13T07:26:03.964919Z
1 likes, 0 repeats
@sjw cun
(DIR) Post #A9FP9IpZBoZvwxzDxw by Moon@shitposter.club
2021-07-13T13:34:09.253824Z
1 likes, 0 repeats
@green @alex if web3 is too convoluted use ethers.js
(DIR) Post #A9FQQcuDu6Ud5ZzO0u by pomstan@xn--p1abe3d.xn--80asehdb
2021-07-13T13:39:02.307813Z
0 likes, 0 repeats
@Moon @alex @guizzy because metamask is the only one that really matters.how is it better than all the other ones?
(DIR) Post #A9FQQdQpwqa4ijFQqe by Moon@shitposter.club
2021-07-13T13:48:28.176430Z
0 likes, 0 repeats
@pomstan @alex @guizzy most of the other ones are "how do we force you to use our service"
(DIR) Post #A9FQdGPqpe2N6PoCWG by pomstan@xn--p1abe3d.xn--80asehdb
2021-07-13T13:49:34.278047Z
0 likes, 0 repeats
@Moon @alex @guizzy i installed mew and i couldn’t see any promotions or anything like that
(DIR) Post #A9FQdHFFkX9bfprFdg by Moon@shitposter.club
2021-07-13T13:50:45.534156Z
0 likes, 0 repeats
@pomstan @alex @guizzy I didn't know mew even had a browser extension now.
(DIR) Post #A9FQsLjhKmTPwjHklU by pomstan@xn--p1abe3d.xn--80asehdb
2021-07-13T13:52:37.632224Z
0 likes, 0 repeats
@Moon @alex @guizzy i only use mobile app, how’s extension better?granted, most of my usage is staring at an empty wallet because i don’t want to send my face and id to binance
(DIR) Post #A9FQsMHNJZPbdB2eG0 by Moon@shitposter.club
2021-07-13T13:53:28.941314Z
0 likes, 0 repeats
@pomstan @alex @guizzy mobile is kinda sketchy right now, even metamask has an app but it's buggy.
(DIR) Post #A9FRIpWLDbR9qnfGue by Moon@shitposter.club
2021-07-13T13:58:17.189448Z
0 likes, 0 repeats
@pomstan @alex @guizzy anyway I've used about four other walllets. metamask works with everything, if you make an app its almost mandatory you support metamask.
(DIR) Post #A9FSHM3jMzWC8s8urg by guizzy@pleroma.guizzyordi.info
2021-07-13T14:09:12.100794Z
0 likes, 0 repeats
@Moon @pomstan @alex Implementing WalletConnect solves the issue anyway. Supports MetaMask and other wallets of all kinds, through implementing EIP-1193, and works on web and mobile
(DIR) Post #A9FSW6W1RXEQHIPPrE by Moon@shitposter.club
2021-07-13T14:11:53.305141Z
0 likes, 0 repeats
@guizzy @alex @pomstan the experience is buggy everywhere. we're not there yet.
(DIR) Post #A9FSfeh9jXtStGAfOy by pomstan@xn--p1abe3d.xn--80asehdb
2021-07-13T14:12:05.380161Z
0 likes, 0 repeats
@Moon @alex @guizzy uh, do you know how to import my key from mew to metamask? the recovery word sequence does not work for some reason
(DIR) Post #A9FSff7k8hA2DibtqK by Moon@shitposter.club
2021-07-13T14:13:36.314789Z
1 likes, 0 repeats
@pomstan @alex @guizzy that's weird, I thought they used the standard seed system
(DIR) Post #A9FT924rsRrpo8GogC by pomstan@xn--p1abe3d.xn--80asehdb
2021-07-13T14:18:38.171666Z
1 likes, 0 repeats
@Moon @alex @guizzy never mind, turns out i’m a retard who can’t spell “bicycle” properly