A python-jvm wrapper for interacting with the Ergo blockchain.

Related tags

Cryptographyergpy
Overview

ergpy

A python-jvm wrapper for interacting with the Ergo blockchain.

Usage

  • Requires Java 8 or higher to be installed on system
pip install JPype1
pip install ergpy
  • There are helper methods created to do simple transactions
    • Please checkout the examples.py (on github) to see how to use them.
    • Simple Send is available
      • Allows sending ERG to one address or multiple addresses in ONE transactions
    • Get wallet addresses is available
      • This gives derivations of wallet addresses given the mnemonic
      • If specified 2, a list of two addresses will be printed in the console
    • Get Box Info is available
      • Given the index and address, the selected box will be printed
    • Send Token is available
      • Allows sending token(s) to one or multiple addresses
      • The token id paramter must be given as a 2D array
      • Remember that tokens/nfts are seen as the same when transacting with them
    • Create NFT is available
      • Allows creating NFTs
      • One mint is one transaction
      • There are helper methods as well to get the sha-256 hash required while minting
        • SHA256 caster
          • Put the hash as a string and this will be converted into bytes
        • String Hasher
          • Input a string and this will be converted into a hash (only for testing purposes)
        • File Hasher
          • Input the file name and the hash will be generateed
    • Create Token is available
      • Allows a token to be minted
    • Custom
      • A bit more customization is available using methods from appkit.py
      • To truly have custom transactions appkit.py must be edited

Github usage

git clone https://github.com/mgpai22/ergpy && cd ergpy
pip3 install -r requirements.txt
python -m stubgenj --convert-strings --classpath "ergo.jar" org.ergoplatform java
  • If using an ide such as pycharm , make sure the root folder is ergpy
    • This allows code completion via stubgenj to work properly
  • This method is recommended for developer as it allows for direction customizations in appkit.py

Roadmap

  • This is the begining of python support for Ergo! Contributions are essential for this to continue.
  • Ergoscript support.
  • Better documentation and packaging (first time creating a package).
    • Would love some help with this!

Credits

Owner
mgpai
mgpai
zhash is a simple Python tool which allows to create/crack hashes

zhash zhash is a simple python tool which allows you to crack/create hashes. Below are the list of supported algorithms that zhash can crack Supported

3 May 27, 2022
Python wrapper for the Equibles cryptos API.

Equibles Cryptos API for Python Requirements. Python 2.7 and 3.4+ Installation & Usage pip install If the python package is hosted on Github, you can

Equibles 1 Feb 02, 2022
A really, really bad way to encrypt your text

deoxyencryptingnucleicacids A really, really bad way to encrypt your text. A general description of the scheme Encoding: The ascii plaintext is first

Sam Pinkerton 1 Nov 01, 2021
A web app to scan crypto markets based on candlestick pattern recognition from

Crypto_Scanner A web app to scan crypto markets based on candlestick pattern recognition from "Japanese Candlestick Charting Techniques: A Contemporar

Chris Qi 27 Jan 01, 2023
J. Brandon Walker 1 May 13, 2022
Coins farmer for dank memer

Created by TheRider#5308 [feel free to drop by to talk]. Note to some Dank Memer staff reading this: Nah I don't self bot, already got banned for that

Siddhant Kumar 3 Nov 10, 2021
Python Dash app that tracks whale activity in cryptocurrency markets.

Introduction Welcome! This is a Python-based Dash app meant to track whale activity in buy / sell walls on crypto-currency exchanges (presently just o

Paul Jeffries 549 Dec 25, 2022
GmJEWEL - The monorepo for the Greedy Merchants Guild

Greedy Merchants Guild Hello! Welcome to the monorepo for the Greedy Merchants G

Greedy Merchants Guild 5 Mar 09, 2022
Blockchain with crypto transaction feature

python script that asks users for their name, who they are sending J2 coin too(fictional cryptocurrency) and how much they're sending. it then prints the transaction detail in words and prints the ha

Joshua Stojkovic 2 Jan 10, 2022
Ethereum ETL lets you convert blockchain data into convenient formats like CSVs and relational databases.

Python scripts for ETL (extract, transform and load) jobs for Ethereum blocks, transactions, ERC20 / ERC721 tokens, transfers, receipts, logs, contracts, internal transactions.

Blockchain ETL 2.3k Jan 01, 2023
Marketplace but with cryptocurrencies only.

MoneroMarket Marketplace but with cryptocurrencies only. MoneroMarket was created as a way to be able to use cryptocurrencies as an actual currency to

Janoher 35 Jan 01, 2023
Modern(-ish) password hashing for your software and your servers

bcrypt Good password hashing for your software and your servers Installation To install bcrypt, simply: $ pip install bcrypt Note that bcrypt should b

Python Cryptographic Authority 947 Dec 28, 2022
Django-based Crypto Portfolio Tracker – keep an eye on Shiba Inu and other Crypto

Crypto Tracker 🐍 📈 – Central Portfolio Tracking Easy asset tracking – at a glance 🚀 Dashboard to centrally monitor current crypto portfolio develop

65 Jan 08, 2023
Challenge2022 - A backend of a Chia project donation platform

Overview This is a backend of a Chia project donation platform. People can publi

Kronus91 2 Feb 04, 2022
Given a string or a text file with plain text , returns his encryption using SHA256 method

Encryption using SHA256 Given a string or a .txt file with plain text. Returns his encryption using SHA256 method Requirements : pip install pyperclip

yuno 3 Jan 24, 2022
😈 Shining is a tool that enables engineers to remotely pull smart contract code in multi-file situations.

👑 Shining 😈 Shining is a tool that enables engineers to remotely pull smart contract code in multi-file situations. Shining is the name of one of my

xxxeyJ 15 Jun 17, 2022
Run with one command grafana, prometheus, and a python script to collect and display cryptocurrency prices and track your wallet balance.

CryptoWatch Track your favorite crypto coin price and your wallet balance. Install Create .env: ADMIN_USER=admin ADMIN_PASSWORD=admin Configure you

Rafael Zimmermann 13 Dec 13, 2022
Cryptocurrency Exchange Websocket Data Feed Handler

Cryptocurrency Exchange Websocket Data Feed Handler

Bryant Moscon 1.6k Dec 31, 2022
Use this script to track the gains of cryptocurrencies using historical data and display it on a super-imposed chart in order to find the highest performing cryptocurrencies historically

crypto-performance-tracker Use this script to track the gains of cryptocurrencies using historical data and display it on a super-imposed chart in ord

Andrei 25 Aug 31, 2022