> For the complete documentation index, see [llms.txt](https://polkadot.novabloq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://polkadot.novabloq.com/element-polkadot-utils/actions/generate-a-multisig-account.md).

# Generate a Multisig Account

Generates the address that would correspond to a set of addresses and threshold.

This action takes 2 fields, Addresses and Threshold

#### Addresses

A list of addresses that will make up the multisig account.\
In bubble this is a list of text. \
In case you didn't knew, you can't manually write a list of text in the bubble editor, it must be taken from somewhere, it could be database or a custom state. You will see an example of using a custom state on demo page.

#### Threshold

The number of accounts that must approve. Must be greater than 0 and less than or equal to the total number of addresses.\
In bubble this is a number type.

![](https://2273326906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIMKdkPzZeUlk7WD5V4J8%2Fuploads%2FB73Yrt6S3M8GU6IeGXZd%2FScreenshot%202022-01-17%20at%2018.13.13.png?alt=media\&token=3370ad91-7934-41b2-9e90-c070f8220ba5)

## States

### Multisig Address

*State type - text*

The generated multisig address.

## Demo

Demo page [here](https://polkadotjs.bubbleapps.io/version-test/encrypt_decrypt_message)

Demo page [app editor](https://bubble.io/page?type=page\&name=generate_multisig\&version=test\&id=polkadotjs\&tab=tabs-1)\
\
To generate the multising, add at least 2 addresses, after that, a button to start generating will appear.
