aptos-labs / aptos-ts-sdk

An SDK for accessing the Aptos blockchain data, submitting transactions, and more!
https://aptos-labs.github.io/aptos-ts-sdk/
Apache License 2.0
69 stars 38 forks source link

[Add AptosSDK] <I can't add this libs on Cocos Creator> #410

Open ChinhQT opened 3 months ago

ChinhQT commented 3 months ago

🐛 Bug Description

I want to use Aptos SDK on Cocos Creator (https://www.cocos.com/en/creator). I read this link https://github.com/aptos-labs/aptos-ts-sdk and pnpm to add libs on Cocos Creator. When I developed to use Aptos SDK, I met the error "load script [@aptos-labs/ts-sdk] failed : Error: Cannot find module '@aptos-labs/ts-sdk'".

How to fix the issue ? Thank you.