Skip to content

luckyr13/arcode

Repository files navigation

[ WEBSITE | ISSUES | CHANGELOG ]

ArCode Studio: Smartweave editor and deployer

ArCode Studio is an online IDE for smartweave contracts. As ArCode works on the browser all the files are saved in cache memory and removed when the cache is cleared.

Smartweave contracts are the Arweave smart contracts. You can learn more in the ArWiki.

Links

Current features

++ Workspace and File Explorer:

  • Create, edit and store your JS and JSON files in ArCode with syntax highlighting from your browser.
  • Other languages supported: python, rust and go.
  • Create/edit/remove folders.
  • Load contracts sources and state into the workspace directly from their Arweave TXs.
  • Import/Export your workspace to .zip file.
  • Publish your workspace to Arweave.
  • ArCode Lab: Amazing features, like our Typescript Transpiler!

++ Arweave explorer

  • Explore the Arweave Mainnet or a local gateway.
  • Get detailed info about a particular Arweave tx.
  • Get detailed info about a particular Arweave address.
  • Advanced search (search by custom tags and tx owners).

++ Connect to ArCode using your favorite Arweave Wallet!

  • Login methods supported: ArConnect, Arweave.app, Finnie Wallet and the old but always useful "using a key file" method.

++ Deploy contracts

  • Deploy a contract from files in your ArCode Workspace.
  • Deploy a contract with a new state from your Workspace using a previous Contract Source Tx.
  • Deploy to the Arweave Mainnet or to a local gateway.

++ Interact with smartweave contracts

  • View state.
  • Write interaction (dry-run).
  • Write interaction (Create and post tx).
  • Interact with contracts on the Arweave Mainnet or to a local gateway.

++ Many themes for customize your IDE.

Common ArCode Problems

Brave Browser and AdBlock users. Some users have reported issues when trying to connect with ArLocal on localhost (net::ERR_BLOCKED_BY_CLIENT). To solve this, please do the next steps:

  • Navigate to: brave://adblock/
  • Add the next filter:
  • @@||localhost^$domain=arcode.studio

ArCode Warranty Info

No Warranty

"As-Is". The Software is provided "as is," with all faults, defects, bugs, and errors.

FOR DEVS

If you wanna embed ArCode Studio in your own project as an iframe you can pass the next parameters in the url to customize the IDE.

RUNNING IN SINGLE FILE MODE:

https://arcode.studio/#/?workspace=WORKSPACEID

https://arcode.studio/#/CONTRACTID

SETTINGS:

  • Set a specific network

?network=

arlocal-localhost
arweave-mainnet

  • Set a specific theme

?theme=

theme-dark
dark-blue
aura
github-dark
github-light
dracula
solarized-dark
solarized-light
material-dark
material-light

  • Hide toolbar

?hideToolbar=true

Examples:

Customizing the editor: https://arcode.studio/#/?hideToolbar=true&theme=dracula

Loading a workspace: https://arcode.studio/#/?workspace=G2SvgF0-JFdti5X7FNzmpzC647z-u8odVvcvxiWallA

Loading a contract: https://arcode.studio/#/ewepANKEVffP0cm_XKjwTYhSBqaiQrJbVrCcBiWqw-s

Project setup

If you want to compile and run your own ArCode copy on your localhost first install the required packages using your favorite package manager.

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint