alpha-wallet-android icon indicating copy to clipboard operation
alpha-wallet-android copied to clipboard

Check out Ranger Protocol (chain) integration

Open hboon opened this issue 3 years ago • 4 comments

Feature branch first. Let's see if it works and if there's any gotchas.

hboon avatar Aug 29 '22 05:08 hboon

After a quick check it's mostly trivial to implement with one big gotcha.

Here's the standard node info for everything except one important detail:

https://doc.rangersprotocol.com/network.html https://www.coincarp.com/chainlist/rangers-protocol-mainnet/

Resources:

https://rangersprotocol.com/img/logo.svg https://cdn-images-1.medium.com/max/184/1*[email protected]

The one missing detail is how to fetch existing transactions. It's unknown if the rangerscan supports API.

It should be easy to find it, as rangerscan looks like a fork of covalent. Compare it with PolygonScan:

RangerScan: https://scan.rangersprotocol.com/

PolygonScan: https://polygonscan.com/

I tried a few things but couldn't find any API to fetch transactions:

https://scan.rangersprotocol.com/api?action=txlist&address=0xc41bbf3810f754014441a70e4201be3e2972e5a7

I also tried Covalent directly, but it's not supported:

https://api.covalenthq.com/v1/2025/address/0xc41bbf3810f754014441a70e4201be3e2972e5a7/transactions_v2/?block-signed-at-asc=true&key=...

JamesSmartCell avatar Sep 06 '22 03:09 JamesSmartCell

@JamesSmartCell thanks for checking, let's see if our friends can help. Checking…

hboon avatar Sep 06 '22 05:09 hboon

Yep good idea - the explorer is the same code as Polygonscan so it's a fork, just need to switch on the API

JamesSmartCell avatar Sep 06 '22 07:09 JamesSmartCell

Hold for now.

hboon avatar Mar 13 '23 04:03 hboon