Skip to main content

GoPlus SDK

Project description

GoPlus SDK For Python

Installation

pip install goplus

Get AccessToken

from goplus.auth import Auth

token_data = Auth(key="", secret="").get_access_token()
print(token_data)

Get Supported Blockchains

from goplus.chain import Chain

chain_list = Chain.get_chain_list()
print(chain_list)

Token Security

from goplus.token import Token

data = Token(access_token=None).token_security(chain_id="1", addresses=["0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"])
print(data)

Address Security

from goplus.address import Address

res = Address(access_token=None).address_security(address="0xc8b759860149542a98a3eb57c14aadf59d6d89b9")
print(res)

Approval Security API v1

from goplus.approve import Approve

res = Approve(access_token=None).approve_security_v1(chain_id="1", address="0x4639cd8cd52ec1cf2e496a606ce28d8afb1c792f")
print(res)

Approval Security API v2

Token Approval Security

from goplus.approve import Approve

res = Approve(access_token=None).token_approve_security(chain_id="56", address="0xd018e2b543a2669410537f96293590138cacedf3")
print(res)

ERC721 NFT Approval Security

from goplus.approve import Approve

res = Approve(access_token=None).erc721_approve_security(chain_id="1", address="0xd95dbdab08a9fed2d71ac9c3028aac40905d8cf3")
print(res)

ERC1155 NFT Approval Security

from goplus.approve import Approve

res = Approve(access_token=None).erc1155_approve_security(chain_id="56", address="0xb0dccbb9c4a65a94a41a0165aaea79c8b2fc54ce")
print(res)

Signature Data Decode

from goplus.decode import Decode

res = Decode(access_token=None).signature_data_decode(chain_id="1",
                                                    address="0x4cc8aa0c6ffbe18534584da9b592aa438733ee66",
                                                    data="0xa0712d680000000000000000000000000000000000000000000000000000000062fee481")
print(res)

NFT Security

from goplus.nft import Nft

res = Nft(access_token=None).nft_security(chain_id="1", address="0x82f5ef9ddc3d231962ba57a9c2ebb307dc8d26c2")
print(res)

dApp Security Info API

from goplus.dapp import Dapp

res = Dapp(access_token=None).dapp_security(url="https://for.tube")
print(res)

Phishing Site Detection API

from goplus.phishing_site import PushingSite

res = PushingSite(access_token=None).pushing_site_security(url="https://xn--cm-68s.cc/")
print(res)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

goplus-0.1.0.tar.gz (93.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

goplus-0.1.0-py3-none-any.whl (192.2 kB view details)

Uploaded Python 3

File details

Details for the file goplus-0.1.0.tar.gz.

File metadata

  • Download URL: goplus-0.1.0.tar.gz
  • Upload date:
  • Size: 93.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for goplus-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c86e10f4c1765db5def5dff589f5aab7be1be7064243ebce9b895db150e12284
MD5 b1ff9da6f14abf117f4729a2602e0273
BLAKE2b-256 bf1bdca257a4bdda5a4f9d778073c3838de88a75e0f94259b63bcf8446b0a7a1

See more details on using hashes here.

File details

Details for the file goplus-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: goplus-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 192.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for goplus-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cff2a47cd338cb8d659df91de76e19ed9b18f177f9b56bc52ba74174446579dc
MD5 b0013eddf2e000c1c4013b9dd24f8304
BLAKE2b-256 025e70f479741e24d8f617d92573394b95c5d02008a0a877f489c607701be87e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page