eth

package
v0.0.0-...-ca16fec Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

* NFT-HOOK-SDK-GO: The NFT-HOOK-SDK-GO is an integration and encapsulation package specifically designed for handling operations related to contract deployment for NFT-HOOK. * Copyright (C) 2024 nfthook.xyz * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContractSDK

type ContractSDK struct {
	// contains filtered or unexported fields
}

func NewContractSDK

func NewContractSDK(rpcURL string, keyfile string, passphrase string, chainId *big.Int) (*ContractSDK, error)

func NewContractSDKFromPrivateKey

func NewContractSDKFromPrivateKey(rpcURL string, privateKey string) (*ContractSDK, error)

func (*ContractSDK) DeployContract

func (sdk *ContractSDK) DeployContract(abiPath, binPath string, constructorArgs ...interface{}) (common.Address, *types.Transaction, *bind.BoundContract, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL