Open radicleart opened 2 years ago
Regardless of how I set the network in my svelte application the web wallet ignores the fact that I should be connected to devnet / localhost.
Versions:
"@micro-stacks/svelte": "^1.0.3", "micro-stacks": "^1.1.1",
E.g.
In following config I've tried not passing network and passing various other values; 'local', 'mocknet', 'devnet' etc also a new StacksMocknet() from micro-stacks/network
micro-stacks/network
const config = { appName: 'Ecosystem DAO', appIconUrl: origin + '/img/logo.png', //network: ChainUtils.network() }; mountClient(config)
in all cases the following
await $contractCall.openContractCall({ postConditions: [], postConditionMode: PostConditionMode.Deny, contractAddress: deployer, contractName: 'executor-dao', functionName: 'construct', functionArgs: [bootstrap], onFinish: data => { console.log('finished contract call!', data); txId = data.txId; }, onCancel: () => { console.log('popup closed!'); }, });
opens with the web wallet connected to the Hiro testnet (as opposed to local devnet)..
Regardless of how I set the network in my svelte application the web wallet ignores the fact that I should be connected to devnet / localhost.
Versions:
E.g.
In following config I've tried not passing network and passing various other values; 'local', 'mocknet', 'devnet' etc also a new StacksMocknet() from
micro-stacks/network
in all cases the following
opens with the web wallet connected to the Hiro testnet (as opposed to local devnet)..