Create Base Groups for your community
Base Groups are capable of following:
Create a Base Group
import { Sdk } from '@aboutcircles/sdk';
const sdk = new Sdk(
{ rpcUrl: 'https://rpc.aboutcircles.com' },
runner // ContractRunner tied to your wallet
);
const groupAvatar = await sdk.register.asGroup(
'0xOwner',
'0xService',
'0xFeeCollection',
['0xCondition1', '0xCondition2'], // initial membership conditions
'My Base Group',
'MBG',
{
name: 'My Base Group',
symbol: 'MBG',
description: 'A base group for coordination',
imageUrl: '', // optional
previewImageUrl: '', // optional
}
);
console.log('Base group created at:', groupAvatar.address);Membership Management
Trust Management
Group Administration
Last updated
Was this helpful?