MCPcopy Create free account
hub / github.com/ceramicnetwork/rust-ceramic / randomStreamID

Function randomStreamID

sdk/packages/identifiers/src/utils.ts:53–55  ·  view source on GitHub ↗
(type: StreamType = 0)

Source from the content-addressed store, hash-verified

51
52/** @internal */
53export function randomStreamID(type: StreamType = 0): StreamID {
54 return new StreamID(type, randomCID())
55}

Callers 7

utils.test.tsFile · 0.90
lib.test.tsFile · 0.90
lib.test.tsFile · 0.90
container.test.tsFile · 0.90
signing.test.tsFile · 0.90
encoding.test.tsFile · 0.90
codecs.test.tsFile · 0.85

Calls 1

randomCIDFunction · 0.85

Tested by

no test coverage detected