Skip to content

Latest commit

 

History

History
64 lines (42 loc) · 1.21 KB

File metadata and controls

64 lines (42 loc) · 1.21 KB

Powerchain Programs

Powerchain settlement program

Program ID:

PwrChn11111111111111111111111111111111111

Location:

programs/powerchain/

Implemented instructions:

  • initialize
  • set_paused
  • register_asset
  • record_settlement

PWRC token

Mint:

PWRCRXXZxbg6FdQZfK3PMD7KP8xfxs9acvifJiG46wc

PWRC is the utility and settlement asset used by the Powerchain platform. The mint address must be verified against deployment records before production use.

Contract manifests

Deployment-facing manifests live under:

programs/contracts/

The treasury policy currently documents a 2% platform fee and a maximum configurable fee of 5%.

Development commands

pnpm anchor:check
pnpm anchor:sync
anchor build
anchor test

Deployment safety

  • Use a multisig or controlled authority.
  • Verify program IDs and mint addresses before signing.
  • Run simulation and integration tests.
  • Keep upgrade authority and treasury authority separate where possible.
  • Never store production signer material in the repository.

Public artifacts

Client-facing program metadata and IDLs are published under programs/public/. Never place signer material in that directory.