• Packages
  • Themes
  • Documentation
  • Blog
  • Discussions
Sign in

athena-ide-atom

A package for writing smart contract in aergo using atom ide
  • #aergo
  • #smart contract
  • #lua
aergoio
0.5.2 1,502
1
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Athena-ide package

MIT License Travis_ci apm version apm downloads

A package for writing smart contract in aergo using atom

Compatibility

  • Atom: v1.28 or higher
  • Aergo: v2.2.x

Need to rebuild for atom compatible electron version for grpc native modules in a herajs

  • atom 1.28.0: electron 2.0.0
  • atom 1.39.0: electron 3.1.1
  • atom 1.41.0: electron 4.2.0

And for all platform (win32, linux, darwin) for packaging

Check release notes of atom

Features

  • [X] Syntax highlighting
  • [X] Basic autocomplete
  • [X] Basic linter
  • [X] Compile
  • [X] Deploy smart contract
  • [X] Execute smart contract
  • [X] Query smart contract result
  • [X] Fee delegation
  • [X] Re-deploy smart contract (private mode only)
  • [X] Advanced autocomplete (lua specific, nested table)

./screenshots holds all the supported features

Build from source

  • Install dependency: npm install
  • Lint: npm run lint
  • Run test (including lint): npm run test
  • Link and run as dev mode (real time ui changes)
    • Atom package link: apm link
    • Run dev mode: npm run dev
  • Build dist: npm run build
  • Make installer: npm run archive

Product

Prerequisite

  • Atom
  • Git bash (windows only)
  • Aergo smart contract guide

Install

With atom package manager

> apm install athena-ide-atom

With atom ui

install-with-atom-ui

With installer (use gitbash in windows)

Release page

> ./athena-ide-atom-x.x.x-installer.bin

Open panel

With shortcut: Alt + Shift + L

open-with-shortcut

With menu bar

open-with-menubar

Editor

AutoComplete

editor-autocomplete

Lint

editor-lint

Node

New

node-new

Remove

node-remove

Account

New

account-new

Import

account-import

Export

account-export

Remove

account-remove

Deployment

Compile

With shortcut: f7

compile-with-shortcut

With button

compile-with-button

Deploy

Without args

deploy-without-args

Without args with gas limit

deploy-without-args-with-gas-limit

Without args with amount

deploy-without-args-with-amount

With args

deploy-with-args

Import / Remove

Import deployed contract

import-deployed-contract

Remove contract

remove-contract

Execute / Query

Execute contract

execute-contract

Execute with varargs

execute-with-varargs

Execute contract set gas limit

execute-contract-set-gas-limit

Execute contract with fee delegation

execute-contract-with-fee-delegation

Execute contract with amount

execute-contract-with-amount

Query contract state

query-contract-state

Redeploy (private mode only)

Redeploy to already deployed one (Deployer must be an origin deployer)

redeploy

Contribution

  1. Do not write custom scripts as external file like

    "scripts": {
      "some-script": "scripts/some-script.sh",
    },

    It would break windows build in cmd.exe. Which causes package install failure in windows.

  2. Since atom is electron-based, make sure external library is build on electron target.
    Do not use electron-rebuild because of grpc see also.

Following these rules, feel free to make any pull requests.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by