diff --git a/composer.json b/composer.json index 06fa941..8101ca3 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ "require": { "php": "^8.4", "illuminate/contracts": "^11.0||^12.0", - "kornrunner/ethereum-address": "^0.3.0", + "kornrunner/ethereum-address": "^0.4.0", "kornrunner/keccak": "^1.1", "spatie/laravel-package-tools": "^1.16", "web3p/ethereum-tx": "^0.4.3" diff --git a/src/Exceptions/RequirementException.php b/src/Exceptions/RequirementException.php new file mode 100644 index 0000000..ebc0e6a --- /dev/null +++ b/src/Exceptions/RequirementException.php @@ -0,0 +1,6 @@ +app->singleton(RpcClient::class, fn () => new RpcHttpClient( config('evm.rpc_urls'), (int) config('evm.chain_id', 137)