In case you use Node-as-a-Service RPC providers - they may have their own URL format - follow their instructions
Code snippet
For the procedure of deploying a smart contract to the Klyntar network, you can use publicly available examples of the web3 library from Ethereum
import {Transaction} from'@ethereumjs/tx'import {Common} from'@ethereumjs/common'import Web3 from'web3'constweb3=newWeb3('http://localhost:7332/kly_evm_rpc/shard_0')// KLY-EVMconstcommon=Common.custom({name:'KLYNTAR',networkId:'0x1CA3',chainId:'0x1CA3'},{hardfork:'london'})// EVM accountconstevmAccount0= { address:'0x4741c39e6096c192Db6E1375Ff32526512069dF5', privateKey:Buffer.from('d86dd54fd92f7c638668b1847aa3928f213db09ccda19f1a5f2badeae50cb93e','hex')}constBYTECODE_TO_DEPLOY='<take this code from Remix or other development env>'web3.eth.getTransactionCount(evmAccount0.address,async(err,txCount)=>{if(err) return// Build a transactionlet txObject = { from:evmAccount0.address, nonce:web3.utils.toHex(txCount),//Set enough limit and price for gas gasLimit:web3.utils.toHex(800000), gasPrice:web3.utils.toHex(web3.utils.toWei('10','gwei')),//Set contract bytecode data:`0x${BYTECODE_TO_DEPLOY}` }// Choose custom networklet tx =Transaction.fromTxData(txObject,{common}).sign(evmAccount0.privateKey)let raw ='0x'+tx.serialize().toString('hex')// Broadcast the transaction web3.eth.sendSignedTransaction(raw, (err, txHash) => console.log(err?`Oops,some has been occured ${err}`:`Success βββ> ${txHash}`))
})