chaintope / glueby

[WIP] A Ruby library of smart contracts that can be used on Tapyrus.
MIT License
7 stars 10 forks source link

Add get_addresses_info to the internal wallet #160

Closed rantan closed 1 year ago

rantan commented 1 year ago

We needs to get a list of address information to check the addresses is suitable on some processes. We're going to use this method on tracking library that needs to check the addresses are tracking address or not.

azuchi commented 1 year ago

We're going to use this method on tracking library that needs to check the addresses are tracking address or not.

In this context, a method that searches for keys by label or purpose may be more suitable in terms of throughput.

rantan commented 1 year ago

In this context, a method that searches for keys by label or purpose may be more suitable in terms of throughput.

I think the current implementation is more suitable for the use case. Getting addresses by label would return a lot of addresses that include unnecessary addresses to the validation. It would lead to a big latency.