MCPcopy Create free account
hub / github.com/base/base / driver

Method driver

crates/builder/core/src/test_utils/instance.rs:340–342  ·  view source on GitHub ↗

Creates a [`ChainDriver`] connected to this local instance.

(&self)

Source from the content-addressed store, hash-verified

338
339 /// Creates a [`ChainDriver`] connected to this local instance.
340 pub async fn driver(&self) -> eyre::Result<ChainDriver<Ipc>> {
341 ChainDriver::<Ipc>::local(self).await
342 }
343
344 /// Creates an alloy provider connected to this instance over IPC.
345 pub async fn provider(&self) -> eyre::Result<RootProvider<Base>> {

Calls

no outgoing calls