Until the next protocol is in effect (which on testnet is expected to be 21 of August) and now tool versions are released please use Rust version 1.69 or earlier.
Whats the public testnet node host and port to interact with my testnet deployed contract? Or need to run concordium testnet node in my local? if yes please share steps.
I want to use this concordium example.
// const [address, port] = parseEndpoint(cli.flags.endpoint);
const client = createConcordiumClient(
“127.0.0.1”,
Number(20001),
credentials.createInsecure()
);
For testing locally, you can use the public testnet node at node.testnet.concordium.com. Keep in mind that this is a free node, and we don’t give any guarantees on the uptime, so I would recommend running your own node when running some service.
If i want to upgrade my contract then i need to use contract_upgrade method so can you please share one simple example for these param’s as i don’t know which value i need to pass in this?
I dont know the ModuleReference and migrate parameters. PLESE SHARE ME ONE SMALL EXAMPLE WITH JSON.
#[derive(Debug, Serialize, SchemaType)]
struct UpgradeParams {
/// The new module reference.
module: ModuleReference,
/// Optional entrypoint to call in the new module after upgrade.
migrate: Option<(OwnedEntrypointName, OwnedParameter)>,
}
Error: Struct(Named([(“user_id”, String(U32)), (“user_type”, String(U32)), (“user_details”, String(U32))])) → Failed to deserialize String(U32) due to: Parsed length 4353 for String value, but unexpectedly read 73 bytes - from position 0 of bytes 01110000006a61677665657240676d61696c2e636f6d04000000616161612b0000006e616d653a6a6167766565722c656d61696c3a6a61677665657240676d61696c2e636f6d2c646f623a3135
I have created alice account from my main wallet than how can i see balance of alice account as when i’m trying to check balance on ccdscan of alice account than its showing main wallet address.
Alice wallet :- 4oXY6b3ChXKV6rpxSdTi5JgT4axW1Mm1uGg2bjTA7AbcaoCUY6
Main wallet :- 4oXY6b3ChXKV6rpxSdTi5JgT4axW1Mm1uGg2bjTAATUYrYsiD5