feat: bnb
This commit is contained in:
@@ -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';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user