MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / dev_identity

Function dev_identity

atomic-canonical/tests/roundtrip.rs:14–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12use serde_json::{json, Map, Value};
13
14fn dev_identity() -> (Identity, KeyPair) {
15 // M0 non-production dev identity (plaintext keys — see crate docs).
16 let kp = KeyPair::generate();
17 let id = Identity::new("lee", &kp);
18 (id, kp)
19}
20
21fn frontmatter() -> Map<String, Value> {
22 json!({

Calls

no outgoing calls

Tested by

no test coverage detected