Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: Depracated - moved into mynode repo

MYNODE SDK

Software Development Kit for Application Development

Installation

The simplest way to install the SDK is from PyPi via pip.

pip3 install mynodesdk

Basic Usage

Create new Application

To create a new application, run the following command. It will prompt for several answers to properly fill out your app template. A folder based on the "App Name ID" will be created in your current folder with the template.

mynode-sdk create

It will ask for some things:

  • Application Name
  • App Name ID (aka short_name)
  • Port Numbers
  • Requiring Bitcoin, Lightning, Docker, and Electrum

Update Application Files

After creating the application, you will need to update several things to make the app functional, like the icon, install script, screenshots, etc... More details are available in the Customizing your Application section below.

Build Application

The appliction can be built from within the app folder or one level above.

mynode-sdk build <app name id>

Add Application to Device

Once the application has been built, it can be added to the device via the web interface. In the web interface, navigate Home -> Marketplace -> Add Application. On that page, select the application tar.gz file generated during the previous build state. After submitting the form, your app will be available for installation on your device!

Customizing your Application

After the SDK fills out the template, there are many options available for customizing your app. Some customization steps are required. Replace appname with the name id of your app.

Files to Update

  • Update your app icon at appname.png
  • Update your app info file at appname.json
    • author
    • website
    • category
    • short_description
    • description
    • latest_version
    • targz_download_url
    • app_page_content
  • Update your service file at appname.service
  • Update your install script at script/install_appname.service
  • Add your own screenshots under the screenshots folder

Details of all the configuration options and scripts can be found in the repo for the application template.

Publishing your Application

After testing your application and verifying it works well, you can publish it on the myNode platform and share it with the community!

Submit a Pull Request to the myNode project including your application folder under at rootfs/standard/usr/share/mynode_apps/<app name id>.

We reserve the right to reject any apps for any reason. We will review it as part of the pull request. Some rules:

  • No altcoins
  • Must have applicable category
    • Bitcoin
    • Lightning
    • Networking
    • Communication
    • Privacy
    • Or other similar category
  • Must be a quality application

Manual Local Installation of SDK

To manually install the SDK and to test changes, run this command.

pip3 install --upgrade --no-deps --ignore-installed --force-reinstall .

Publishing New SDK Version

To publish a new SDK version:

  • Bump Version in setup.py
  • Commit and Push All Changes
  • Run python3.8 -m build
  • Run twine upload -r pypi dist/mynodesdk-<version>*

Release files for mynodesdk 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mynodesdk 0.0.4
File Size Uploaded
mynodesdk-0.0.4.tar.gz 17.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mynodesdk 0.0.4
File Interpreter ABI Platform
mynodesdk-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 35.7 kB

Release files / mynodesdk-0.0.4.tar.gz

Download URL mynodesdk-0.0.4.tar.gz
Size 17.7 kB
Tags Source
SHA-256 checksum
How to use checksums
effc7baa8cbddd99a03f9ca17f747fb472714b4e231e5533840adb5347de5a41
BLAKE2b-256 checksum
How to use checksums
cac530b8d539ac87b60bb64572b33b0a4ee8c0add61622b378302768fc3f78ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release files / mynodesdk-0.0.4-py3-none-any.whl

Download URL mynodesdk-0.0.4-py3-none-any.whl
Size 18.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6dc9112e44828979ab03526b5deebcd7330610bbd32a570b40f020c4973a008c
BLAKE2b-256 checksum
How to use checksums
27429b1127838080710e071d611410e21069fec7a3c0788ebbad3334bcf35fa1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page