Skip to content

Conversation

nategraf
Copy link

This CLI uses the list in fireblocks-web3-provider to resolve the asset ID for a given network. This list does not include all assets/networks supported by Fireblocks. This PR adds an assetId flag to the CLI options to allow for manually specifying the asset ID when it is missing from fireblocks-web3-provider.

I've run into this issue a few times now and have previously fixed it by modifying the code in fireblocks-web3-provider (see fireblocks/fireblocks-web3-provider#60 ). This PR provides a solution that will allow me to stop monkey-patching fireblocks-web3-provider when it doesn't contain the asset I am trying to use in its defaults list.

@nategraf
Copy link
Author

@orenyomtov, since you helped me out with fireblocks/fireblocks-web3-provider#60, maybe you have context and can decide if this looks good to you. I'd definitely prefer to get this fixed as its been a pain point for me.

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.

1 participant