-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
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
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)..
Metadata
Metadata
Assignees
Labels
No labels