Technical Foundation

Account and token architecture

The architecture of the BANGK blockchain is based on Solana accounts, primarily using Program Derived Addresses (PDAs) to store data related to programs and Associated Token Addresses (ATAs) to manage user balances. These accounts are secured by public and private keys, and BANGK tokens, including Stable Coins and BGK are managed within these accounts.

Transaction and operation security

Security is based on a multi-signature system, where critical operations require three signatures, sensitive ones require two, and routine operations only one. This ensures that important transactions are validated by multiple parties, thereby strengthening protection against potential manipulation or errors.

Development tools and quality assurance

BANGK uses development tools such as cargo-clippy and cargo-audit to ensure code quality and detect potential vulnerabilities. The code is also thoroughly tested to maintain a test coverage of at least 95%. This approach ensures system stability and prevents any regression in the functioning of the programs.

Cargo-clippy: Checks code quality by detecting subtle errors and potential security issues. Cargo-audit: Scans dependencies to identify security vulnerabilities. Cargo-deny: Ensures license compliance of dependencies and prevents the use of unwanted copyleft licenses.

Management of critical operations and multi-signature security

Critical operations, such as configuration updates or token management, require three authorized signatures to ensure collective and secure decision-making. This management model prevents any malicious actions and guarantees that essential changes are validated by multiple parties before being executed.

Performance optimization and cost management

BANGK uses Solana for its blockchain transactions due to its ability to process thousands of transactions per second with very low fees.

Fees are calculated in lamports, the smallest unit of measurement on the Solana network.

Direct fees, which apply to operations that alter the blockchain state (such as token transfers), are determined based on the number of signers involved.

Rents are storage fees for accounts and are calculated according to the account’s size in bytes.

For example, a mint account may incur a rent fee of 1,461,600 lamports.

BANGK optimizes these costs by minimizing the number of required transactions, especially for PDAs (Program Derived Addresses) and ATAs (Associated Token Addresses) and by adjusting storage parameters to reduce overall fees​.

Scalability and flexibility of programs

BANGK’s scalability is built on a modular architecture that separates programs (such as BGK and Stable Coins) into isolated entities, making it easy to adapt the system to increasing transaction volumes without affecting performance. BANGK uses PDAs (Program Derived Addresses) to manage access and configure these programs, providing both flexibility and scalability to meet future needs and evolving market demands

Last updated