# Crate ethcore_signer [−] [src]

Signer module

This module manages your private keys and accounts/identities that can be used within Dapps.

It exposes API (over `WebSockets`) accessed by Signer UIs. Each transaction sent by Dapp is broadcasted to Signer UIs and their responsibility is to confirm (or confirm and sign) the transaction for you.

    extern crate jsonrpc_core;
    extern crate ethcore_signer;
    extern crate ethcore_rpc;

    use std::sync::Arc;
    use jsonrpc_core::IoHandler;
    use jsonrpc_core::reactor::RpcEventLoop;
    use ethcore_signer::ServerBuilder;
    use ethcore_rpc::ConfirmationsQueue;

    fn main() {
     let queue = Arc::new(ConfirmationsQueue::default());
     let io = Arc::new(IoHandler::new().into());
     let event_loop = RpcEventLoop::spawn();
     let _server = ServerBuilder::new(queue, "/tmp/authcodes".into())
        .start("127.0.0.1:8084".parse().unwrap(), event_loop.handler(io));
    }

## Modules

tests | Exported tests for use in signer RPC client testing

## Structs

AuthCodes | Manages authorization codes for `SignerUIs`
DefaultTimeProvider | Default implementation of `TimeProvider` using system time.
Server | `WebSockets` server implementation.
ServerBuilder | Builder for `WebSockets` server

## Enums

ServerError | Signer startup error

## Traits

TimeProvider | Providing current time in seconds

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)