mint ( resource -- stamp )
Hashcash
Next:mint* ( tuple -- stamp )


Vocabulary
hashcash

Inputs and outputs
resourcea string
stampgenerated stamp


Word description
This word generate a valid stamp with default parameters and the specified resource.

See also
mint*, <hashcash>, check-stamp, salt

Definition
USING: accessors kernel ;

IN: hashcash

: mint ( resource -- stamp ) <hashcash> swap >>resource mint* ;