ThalaLabs / surf

Type-Safe TypeScript Interfaces & React Hooks for Aptos.
MIT License
42 stars 8 forks source link

Export common ABIs which are already in source code #178

Open itsmnthn opened 4 months ago

itsmnthn commented 4 months ago
itsmnthn commented 4 months ago

In example there is transfer example which uses account from private key but that will not be the case in production dapp, its going to be signer(account) from connected wallet.

It would be helpful to have such example.

SamuelQZQ commented 4 months ago

@itsmnthn please look at this file about how to use with wallet: https://github.com/ThalaLabs/surf/blob/main/example/app/page.tsx

SamuelQZQ commented 4 months ago

@itsmnthn I agree, we should export common ABIs from this package. It's also mentioned in #8. I will add it, maybe this week.