Skip to content

Commit

Permalink
Add README.md for use-multisig
Browse files Browse the repository at this point in the history
  • Loading branch information
ken-futureverse committed Jun 14, 2024
1 parent e6d7d9d commit 3ea9649
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions examples/substrate/use-multisig/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Multisig Pallet

[![Run in StackBlitz](https://img.shields.io/badge/Open_in_StackBlitz-1269D3?style=for-the-badge&logo=stackblitz&logoColor=white)](https://stackblitz.com/github/futureversecom/trn-examples?file=examples%2Fsubstrate%2Fuse-multisig%2FREADME.md&title=Futurepass%20Pallet%20Examples) [![Pallet Documentation](https://img.shields.io/badge/Pallet_Documentation-black?style=for-the-badge&logo=googledocs&logoColor=white)](https://docs-beta.therootnetwork.com/buidl/substrate/pallet-multisig)

> [!IMPORTANT]
> Ensure the following ENV vars are available before running the examples
>
> - `CALLER_1_PRIVATE_KEY` - Private key of an account #1 that submits the multisig transaction.
> - `CALLER_2_PRIVATE_KEY` - Private key of an account #2 that submits the multisig transaction.
> - `CALLER_3_PRIVATE_KEY` - Private key of an account #3 that submits the multisig transaction.
> Follow this guide to [create and fund an account with some test tokens](../../GUIDES.md) on Porcini (testnet) if you don't have one yet.
## Examples

```bash
# change your working directory to this example first
cd examples/substrate/use-multisig

# export all required environments
export CALLER_1_PRIVATE_KEY=
export CALLER_2_PRIVATE_KEY=
export CALLER_3_PRIVATE_KEY=

# call an simple extrinsic as multisig
pnpm call:callSystemRemark

# call an FPass proxy extrinsic as multisig
pnpm call:callProxyExtrinsic

```

0 comments on commit 3ea9649

Please sign in to comment.