UNPKG
runes-js
Version:
latest (0.1.7)
0.1.7
0.1.6
A typescript library for Runes protocol of Bitcoin
runes-js
/
src
/
artifacts.ts
12 lines
(10 loc)
•
217 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
{
RuneId
}
from
'./rune_id'
;
export
abstract
class
Artifact
{
private
_mint
:
RuneId
|
null
=
null
;
public
setMint
(
m
:
RuneId
|
null
) {
this
.
_mint
= m; }
public
mint
(
) {
return
this
.
_mint
; } }