test20.gno

0.69 Kb ยท 20 lines
 1// Package test20 implements a deliberately insecure ERC20 token for testing purposes.
 2// The Test20 token allows anyone to mint any amount of tokens to any address, making
 3// it unsuitable for production use. The primary goal of this package is to facilitate
 4// testing and experimentation without any security measures or restrictions.
 5//
 6//	WARNING: This token is highly insecure and should not be used in any
 7//	 production environment. It is intended solely for testing and
 8//	 educational purposes.
 9package test20
10
11import (
12	"gno.land/p/demo/grc/grc20"
13	"gno.land/r/demo/grc20reg"
14)
15
16var Token, PrivateLedger = grc20.NewToken("Test20", "TST", 4)
17
18func init() {
19	grc20reg.Register(Token.Getter(), "")
20}