Hello there
So the reject reason will depend on the smart contract, most of our example have -1 meaning it failed to parse the parameters, but yours might not.
You seem to be passing a Buffer for the parameter, but the SDK actually expects something of type Parameter. See docs.
Consider trying our smart contract client generator @concordium/ccd-js-gen it will generate a typescript client for the specific smart contract based on its schema.
The gRPC client is a connection to a node on the Concordium blockchain. For prototyping we provide a node on Testnet available at https://grpc.testnet.concordium.com:20000, we don’t give any guarantees of the uptime or response time. In production, you should run your own node to use instead.
Anyway, how you construct the client depends on the environment you are running this in.