#error: jsonrpc error: Networking or low-level protocol error: Server returned an error status code:

1 messages · Page 1 of 1 (latest)

turbid knoll
#

Hi, are you asking a question or just informing people that you got a timeout?
Either way, you'd have to add some information on which server you were working with, and possibly on what you were trying to do. 🙂

rain wagon
#

I'm trying to wrap an existing token and i get this error.

turbid knoll
#

No, you have a Horizon endpoint specified.
You'll need a Soroban RPC endpoint

rain wagon
#

Can you provide the right one?

turbid knoll
#

I don't know it from the top of my head, but SDF provides one for testnet and futurenet.
You can find it in the docs

rain wagon
#

Is there an easier way to wrap an existing asset? Can't really understand the documentation to wrap it correctly.

turbid knoll
#

Which part of the docs are you looking at?

rain wagon
turbid knoll
#

If you have Soroban cli, that seems to be the easiest way yeah.

#

soroban lab token wrap --asset="AstroDollar:GAM5XOXRUWPMKENBGOEAKMLRQ4ENHLHDSU2L2J7TVJ34ZI7S6PHMYIGI" --secret-key SAHC723FQTC3MARBNUZLUFEIYI62VQDQH7FHLD2FGV6GROQQ7ULMHQGH --rpc-url https://horizon-futurenet.stellar.cash:443/soroban/rpc --network-passphrase 'Test SDF Future Network ; October 2022' but then replace the url with one from SDF

#

And the key and asset to what you have

rain wagon
turbid knoll
#

Uh, no, futurenet is a development network. Public or mainnet is mainnet