worldwide-asset-exchange / waxjs

Javascript API for integration with the WAX Cloud Wallet.
MIT License
126 stars 103 forks source link

How to connect waxjs to testnet #34

Closed shamtroon closed 2 years ago

shamtroon commented 4 years ago

Hello, I want to connect waxjs to test-net instead of using main-net, I tried it by replacing rpc-endpoint, but it didn't works

this.wax = new waxjs.WaxJS('https://testnet.waxsweden.org/', null, null, false);

andrecrjr commented 3 years ago

i really need to know about it too 😢

porkchop commented 3 years ago

Hey @shamtroon and @andrecrjr sorry for the late response. Right now testnet is unsupported. However we will be bringing that online very soon.

tmyngu11 commented 3 years ago

How about connecting to the local docker environment? I see that its commented out on https://github.com/worldwide-asset-exchange/waxjs/blob/develop/dist-web/index.html#L24 but when I try to login, a popup takes me to http://all-access.wax.test:8113/cloud-wallet/login/ and it cant be reached.

shamtroon commented 3 years ago

@tmyngu11 Yeah we can connect wax-cloud-wallet to local-net and testnet too, but can't perform the action like login, signing because you can't import private keys of you local network in wax-cloud-wallet.

m6cheung commented 3 years ago

Any news on this? I would really like to know as well.

tmyngu11 commented 3 years ago

Any news on this? I would really like to know as well.

just use the mainnet tbh

includenull commented 3 years ago

How about connecting to the local docker environment? I see that its commented out on https://github.com/worldwide-asset-exchange/waxjs/blob/develop/dist-web/index.html#L24 but when I try to login, a popup takes me to http://all-access.wax.test:8113/cloud-wallet/login/ and it cant be reached.

This is actually for use with our internal local test environments which are not public I'm afraid.

Adding support for WAX Cloud Wallet on testnet is one thing, but locally, without releasing all our other infrastructure is not possible since WAX Cloud Wallet is a hosted managed service.

We are looking into adding testnet support to WAX Cloud Wallet, but I have no solid eta for this.

For now I suggest using the Universal Authenticator Library with ual-wax package and ual-anchor so you can use your dapp with both WCW and Anchor, this will enable you to test login/logout with WCW and the rest of your testing with Anchor.

SleepingProgrammer commented 3 years ago

How about connecting to the local docker environment? I see that its commented out on https://github.com/worldwide-asset-exchange/waxjs/blob/develop/dist-web/index.html#L24 but when I try to login, a popup takes me to http://all-access.wax.test:8113/cloud-wallet/login/ and it cant be reached.

This is actually for use with our internal local test environments which are not public I'm afraid.

Adding support for WAX Cloud Wallet on testnet is one thing, but locally, without releasing all our other infrastructure is not possible since WAX Cloud Wallet is a hosted managed service.

We are looking into adding testnet support to WAX Cloud Wallet, but I have no solid eta for this.

For now I suggest using the Universal Authenticator Library with ual-wax package and ual-anchor so you can use your dapp with both WCW and Anchor, this will enable you to test login/logout with WCW and the rest of your testing with Anchor.

Is ual-wax actually usable right now? I remember trying it out 2 months ago I think and I couldn't make it work.

includenull commented 2 years ago

Is ual-wax actually usable right now? I remember trying it out 2 months ago I think and I couldn't make it work.

ual-wax 1.5.1 is working fine, you may need to ensure it pulls the latest waxjs 1.0.4 however.