The Leofcoin
class extends the Token
class from the @leofcoin/standards/token.js
module. It represents a specific type of token with predefined properties.
Creates an instance of the Leofcoin
class.
state
(TokenState): The initial state of the token.
import Leofcoin from './native-token'
import { TokenState } from '@leofcoin/standards/token.js'
const initialState: TokenState = {
// Define the initial state properties here
}
const leofcoin = new Leofcoin(initialState)