Creation of Organizations

Organizations are different from groups as you can't mint an organization token, use profiles and trust other avatars to receive tokens from them.

const registerV2Organization = async (sdk, profile) => {
    try {
        const avatar = await sdk.registerOrganizationV2(profile); // Call the V2 method
        console.log('V2 Organization Avatar:', avatar);
    } catch (error) {
        console.error('Error registering organization V2:', error);
    }
};

Last updated