Solnet icon indicating copy to clipboard operation
Solnet copied to clipboard

Token-Swap program example doesn't work[Bug]

Open AliAhmadi99 opened this issue 2 years ago • 4 comments

I've tried to run the project examples. all of them are fine but I get errors when in TokenSwapExample. I'll attach the logs

image

AliAhmadi99 avatar Mar 04 '22 09:03 AliAhmadi99

I get this error in the console when trying to run the token swap example: Sending request: {"method":"getTransaction","params":[{"encoding":"json"}],"jsonrpc":"2.0","id":5} 16:01:47 info: Solnet.Rpc.IRpcClient[5] Result: {"jsonrpc":"2.0","error":{"code":-32602,"message":"Invalid params: invalid type: map, expected a string."},"id":5}

KeithWalton avatar Jul 08 '23 16:07 KeithWalton

My suggestion: go and learn rust to become a Solana developer. the other communities are very very small and unsupportive

AliAhmadi99 avatar Jul 09 '23 10:07 AliAhmadi99

My suggestion: go and learn rust to become a Solana developer. the other communities are very very small and unsupportive

Yeh! And then try to build android apps, web apps, desktop apps and everything with rust!!

This library is mostly for consuming solana api, nothing special.

Neo-vortex avatar Jul 09 '23 10:07 Neo-vortex

I took a look at your profile and it was interesting for me. may I dm u on LinkedIn if you don't mind

AliAhmadi99 avatar Jul 09 '23 10:07 AliAhmadi99