Your First Multisig
Your First Multisig
Step 1: Pick an SDK
Step 2: Run the example
git clone https://github.com/endless-labs/endless-ts-sdk.git
cd endless-ts-sdk
pnpm install
pnpm buildStep 3: Generate accounts and fund them
Step 4: Add Bob's authentication key into Alice's authentication key(list)
Step 5: Alice's authentication key (contains Bob's authentication key)
Step 6: Send coins from Alice to Chad, signed by Bob
Step 7: remove Bob's authentication key from Alice's authentication key list
Step 8: Check if Alice's authentication key is restored to default
Step 9: Batch add Bob&Chad authkey into Alice's authentication key list, but set Threashold to 2
Threashold to 2Step 10: transfer transaction, signed only by Bob, will fail
Step 11: transfer transaction, signed by both Bob and Chad, will success
Last updated