> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kynesys.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Signing A Transaction

> To sign a transaction, you need to connect your master seed to a `Demos` instance.

# Signing a transaction

To sign a transaction, you need to connect your master seed to a `Demos` instance.

```typescript theme={null}
const demos = new Demos()

const mnemonic = "river cat ..."
const publicKey = await demos.connectWallet(mnemonic)
```

Then sign your transaction as shown:

```typescript theme={null}
const signedTx = await demos.sign(tx)
console.log("signed tx: ", signedTx)
```
