How to enable/disable memo for transfers
This recipe demonstrates how to enable or disable the memo requirement for transfers on your account. When enabled, all transfers to your account must include a memo field.
- JS/TS client
Prerequisites
- Node.js
- FT4 client:
npm install @chromia/ft4
- Postchain client:
npm install postchain-client
Demo script
Key Features
This recipe includes examples for:
- Online method - Using FT4 client sessions for simple account configuration
- Offline method - Creating and signing GTX transactions locally for advanced control
- Account security - Managing memo requirements for enhanced transfer tracking
- Session management - Using authenticated sessions to modify account settings
Learn more
- FT4 client documentation — covers account management and FT4 operations.
- Account management — understanding FT4 accounts and authentication.
- Asset management — detailed guide on FT4 transfers and memo requirements.
- JavaScript/TypeScript client — covers setup, connection, and usage patterns.