feat: bnb

This commit is contained in:
hashbro
2026-09-26 12:27:12 +08:00
parent 534b36a2d2
commit ad09fdff88
23 changed files with 475 additions and 82 deletions
+20
View File
@@ -0,0 +1,20 @@
<?php
namespace App\Services\Chain;
/**
* BSC (chain id 56). Same BIP44 path and address as Ethereum.
* Native coin is BNB. USDT is BEP20.
*/
class BscDriver extends EthDriver
{
public function chainId(): string
{
return 'bsc';
}
protected function configPrefix(): string
{
return 'coruna.bsc';
}
}