secretkeylabs / xverse-web-extension

Other
40 stars 19 forks source link

Signet support for testing #828

Closed mmikrut closed 3 weeks ago

mmikrut commented 3 weeks ago

Hello,

Newbie here :)

Would it be possible to add support for Signet for testing purposes? Currently, Testnet mining fees are at 262 sat/vB. Additionally, it's challenging to obtain larger volumes of Testnet BTC from existing faucets, making it almost impossible to test inscriptions due to the high fees.

Signet mining fees, on the other hand, are only 1 sat/vB.

Thank you!

Yihen-Liu commented 3 weeks ago

I have update xverse wallet from v-0.36.2 to v-0.37, when I set up the signet BTC URL and FallBack BTC URL to myself signet and mempool.space, which were setup in my local network, it shows that "INVALID URL", who can explain the reason and how to setup correctly?

victorkirov commented 3 weeks ago

Hi

Signet support was added in v0.37.0. You should be able to switch from settings>network.

For the custom URL, we check one of the known signet APIs for the block hash of the first block in the API you're setting and compare it to a known correct one. If they don't match, then the URL is rejected.

Yihen-Liu commented 3 weeks ago

@victorkirov which one provides the API service? bitcoind or electrumX or other ?

victorkirov commented 3 weeks ago

@Yihen-Liu it's an electrs API https://github.com/Blockstream/electrs or https://github.com/mempool/electrs

Yihen-Liu commented 3 weeks ago

@Yihen-Liu it's an electrs API https://github.com/Blockstream/electrs or https://github.com/mempool/electrs

It does not work. disappointment...

It is better for xverse wallet team to write document clearly about how to setup electrs server and how to set BTC URL.

Good Luck.