Documentation ¶
Index ¶
- Constants
- func EncodeBalanceOf(owner string) (string, error)
- func EncodeOwnerOf(tokenId string) (string, error)
- func GetTimeMilli() int64
- func LoadRsaPrivateKey(private64 string) (*rsa.PrivateKey, error)
- func LoadRsaPublicKey(public64 string) (*rsa.PublicKey, error)
- func RsaSign(privateKey *rsa.PrivateKey, data []byte) (string, error)
- func RsaVerify(signature string, publicKey *rsa.PublicKey, data []byte) error
- type AnyType
- type DeployRequest
- type JsonRpc
- type QueryRequest
- type TxRequest
Constants ¶
View Source
const CertPath string = "D:/yeepay/e-chain.net.cn_server.crt"
View Source
const ERC721ABIStr string = `` /* 6681-byte string literal not displayed */
View Source
const MerchantNo string = "3203001000583086614"
View Source
const RsaPrivate string = "" /* 1628-byte string literal not displayed */
View Source
const UrlBase string = "https://qa-api.e-chain.net.cn"
测试测试
View Source
const UrlDeploy string = UrlBase + "/chain/contract/deploy"
View Source
const UrlQuery string = UrlBase + "/chain/rpc/query"
压测环境 const UrlBase string = "https://perf-api.e-chain.net.cn"
View Source
const UrlTx string = UrlBase + "/chain/rpc/tx"
Variables ¶
This section is empty.
Functions ¶
func EncodeBalanceOf ¶
func EncodeOwnerOf ¶
func GetTimeMilli ¶
func GetTimeMilli() int64
func LoadRsaPrivateKey ¶
func LoadRsaPrivateKey(private64 string) (*rsa.PrivateKey, error)
Types ¶
type DeployRequest ¶
type QueryRequest ¶
type QueryRequest struct {
JsonRpc JsonRpc `json:"jsonRpc"`
}
Click to show internal directories.
Click to hide internal directories.