issues
search
nandesu
/
circularPHP
This is the initial port of the CircularJS SDK.
1
stars
0
forks
source link
Add all functions from V1.0.7
#3
Open
nandesu
opened
4 months ago
nandesu
commented
4 months ago
[x] fetch
[x] CheckWallet
[x] GetWallet
[x] GetLatestTransactions
[x] GetWalletBalance
[x] TestContract
[x] CallContract
[x] #5
[x] #4
[x] HexFix
[x] stringToHex
[x] hexToString
[x] RegisterWallet
[x] GetDomain
[x] GetAssetList
[x] GetAsset
[x] GetVoucher
[x] GetAssetSupply
[x] SignMessage
[x] getPublicKey
[x] getFormattedTimestamp
[x] verifySignature
[x] GetBlock
[x] GetBlockRange
[x] GetBlockCount
[x] GetAnalytics
[x] GetBlockchains
[x] GetPendingTransaction
[x] GetTransactionbyID
[x] GetTransactionbyNode
[x] GetTransactionbyAddress
[x] GetTransactionbyDate
[x] SendTransaction
[x] GetTransactionOutcome
nandesu
commented
4 months ago
Helper Functions
fetch($url, $data)
padNumber(num)
getFormattedTimestamp()
stringToHex(str)
hexToString(hex)
HexFix(word)
Signature Functions
SignMessage(message, privateKey)
verifySignature(publicKey, message, signature)
getPublicKey(privateKey)
Network Access Gateway (NAG) Functions
SetNAGKey(NAGKey)
SetNAGURL(NURL)
Smart Contract Functions
TestContract(Blockchain, From, Project)
CallContract(Blockchain, From, Address, Request)
Wallet Functions
CheckWallet(Blockchain, Address)
GetWallet(Blockchain, Address)
GetLatestTransactions(Blockchain, Address)
GetWalletBalance(Blockchain, Address, Asset)
RegisterWallet(Blockchain, PublicKey)
Domain Management Functions
GetDomain(Blockchain, Name)
Asset Management Functions
GetAssetList(Blockchain)
GetAsset(Blockchain, Name)
GetAssetSupply(Blockchain, Name)
Voucher Management Functions
GetVoucher(Blockchain, Code)
Block Management Functions
GetBlockRange(Blockchain, Start, End)
GetBlock(Blockchain, Num)
GetBlockCount(Blockchain)
Analytics Functions
GetAnalytics(Blockchain)
Blockchain Functions
GetBlockchains()
Transaction Functions
GetPendingTransaction(Blockchain, TxID)
GetTransactionbyID(Blockchain, TxID, Start, End)
GetTransactionbyNode(Blockchain, NodeID, Start, End)
GetTransactionbyAddress(Blockchain, Address, Start, End)
GetTransactionbyDate(Blockchain, Address, StartDate, endDate)
SendTransaction(ID, From, To, Timestamp, Type, Payload, Nonce, Signature, Blockchain)
GetTransactionOutcome(Blockchain, TxID, timeoutSec)