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

# Interface: BuckspayConfig

# Interface: BuckspayConfig

Defined in: [packages/core/src/types.ts:308](https://github.com/bucks-pay/buckspay-sdk/blob/43ad599d2776cb5d657043c36847b3318093ccf4/packages/core/src/types.ts#L308)

## Properties

### account

> **account**: [`AccountAdapter`](/sdk-reference/core/src/interfaces/AccountAdapter)

Defined in: [packages/core/src/types.ts:310](https://github.com/bucks-pay/buckspay-sdk/blob/43ad599d2776cb5d657043c36847b3318093ccf4/packages/core/src/types.ts#L310)

***

### allowMainnet?

> `optional` **allowMainnet?**: `boolean`

Defined in: [packages/core/src/types.ts:320](https://github.com/bucks-pay/buckspay-sdk/blob/43ad599d2776cb5d657043c36847b3318093ccf4/packages/core/src/types.ts#L320)

Explicit mainnet (pubnet) opt-in for environments with no `process.env`
(browsers). ORed with the Node env `BUCKSPAY_ALLOW_MAINNET=1`. Pubnet stays
refused unless at least one signal is present; testnet ignores this flag.
`resolveNetwork` remains the single gate - this flag only feeds it.

***

### gas

> **gas**: [`GasConfig`](/sdk-reference/core/src/type-aliases/GasConfig)

Defined in: [packages/core/src/types.ts:313](https://github.com/bucks-pay/buckspay-sdk/blob/43ad599d2776cb5d657043c36847b3318093ccf4/packages/core/src/types.ts#L313)

***

### network

> **network**: [`Network`](/sdk-reference/core/src/type-aliases/Network)

Defined in: [packages/core/src/types.ts:309](https://github.com/bucks-pay/buckspay-sdk/blob/43ad599d2776cb5d657043c36847b3318093ccf4/packages/core/src/types.ts#L309)

***

### relayer

> **relayer**: [`Relayer`](/sdk-reference/core/src/interfaces/Relayer)

Defined in: [packages/core/src/types.ts:312](https://github.com/bucks-pay/buckspay-sdk/blob/43ad599d2776cb5d657043c36847b3318093ccf4/packages/core/src/types.ts#L312)

***

### signer

> **signer**: [`BuckspaySigner`](/sdk-reference/core/src/interfaces/BuckspaySigner)

Defined in: [packages/core/src/types.ts:311](https://github.com/bucks-pay/buckspay-sdk/blob/43ad599d2776cb5d657043c36847b3318093ccf4/packages/core/src/types.ts#L311)
