dwallet-labs / dwallet-network

dWallet Network, a composable modular signature network that is the home of dWallets. A dWallet is a noncollusive and massively decentralized signing mechanism, used as a building block by builders on other networks to add native multi-chain interoperability to any smart contract.
https://docs.dwallet.io
Other
29 stars 28 forks source link

dwallet-network: change the flow for `create_dwallet` to fire an event for the dwallet creation #214

Open ItayLevyOfficial opened 1 week ago

ItayLevyOfficial commented 1 week ago
        const signResult = await client.signAndExecuteTransactionBlock({
            signer: keypair,
            transactionBlock: txFinal,
            options: {
                showEffects: true,
            },
        });

        let dwalletRef = signResult.effects?.created?.filter((o) => {
            return o.owner === 'Immutable';
        })[0].reference!;