I finally did it with ngrok (needed to pay it).
Now I’m having the following issues (some older from tutorial)
When trying to
forgae compile -n testnet
I get an error about -n command, doesn’t exist
Now I have deployed my contract on testnet (after successful tests on local node) using
forgae deploy -n testnet -s <yourPrivateKeyHere>
with one of the private keys generated from forgae node generated wallets.
I deployed locally both origin and identity app , setup identity with the following information:
export default {
pub: ‘ak_zPoY7cSHy2wBKFsdWJGXM7LnSjVt6cn1TWBDdRBUMC7Tur2NQ’,
priv: ‘36595b50bf097cd19423c40ee66b117ed15fc5ec03d8676796bdf32bc8fe367d82517293a0f82362eb4f93d0de77af5724fba64cbcf55542328bc173dbe13d33’,
aeppUrl: ‘https://01554766.ngrok.io’,
host: ‘https://sdk-testnet.aepps.com’,
networkId: ‘ae_uat’
}
Where my pub and priv key are the ones I mentioned above (test wallets).
Finally origin app has the contract address generated from the deploy, can be checked here:
What I’m getting when I run the aepp from base app is the following
And the error is (console)
GET https://localhost:9000/sockjs-node/info?t=1565129957712 net::ERR_SSL_PROTOCOL_ERROR
Uncaught (in promise) TypeError: Cannot read property ‘balance’ of null
It’s funny that it stills try to get from localhost when I’m setting up ngrok ssl addresses.