share bridge using extern
connect bridge to RPC and add a test