21 lines
313 B
Go
21 lines
313 B
Go
|
package lightwallet
|
||
|
|
||
|
import (
|
||
|
"github.com/status-im/smartcard-go/apdu"
|
||
|
"github.com/status-im/smartcard-go/globalplatform"
|
||
|
)
|
||
|
|
||
|
const (
|
||
|
InsInit = uint8(0xFE)
|
||
|
)
|
||
|
|
||
|
func NewCommandInit(data []byte) *apdu.Command {
|
||
|
return apdu.NewCommand(
|
||
|
globalplatform.ClaGp,
|
||
|
InsInit,
|
||
|
uint8(0x00),
|
||
|
uint8(0x00),
|
||
|
data,
|
||
|
)
|
||
|
}
|