Resim rapid instantiator

Related tags

Miscellaneous revup
Overview

revup

Install

Linux

First build the executable
cargo build --release

Then move or copy the binary to your preferred executables folder. For example:
sudo mv target/release/revup ~/.cargo/bin or sudo mv target/release/revup /usr/local/bin

You should now be able to use revup in your terminal, if not open an issue.

Usage

Make sure you are in the root folder of your scrypto project and run
revup -i

This will prompt for the first function call. If you are running the HelloToken demo then this would be
Hello new

Then there will be a prompt for names for the results in order. For HelloToken this could be
tokenHT helloCOMP

This should've created a default revup.json file in the folder, you only need to run this once.

You can now run
revup

This will execute all the resim commands that are stored in the revup.json file and it should've created a .env file that has stored all the variables.

You can now run\ source .env

This will make the .env variables usable in your shell, make sure that you re-run source .env everytime you've run revup.

When using revup in a project under git source code control you will want to update your .gitignore file to include
revup.json .env

Going forward:

Normal maintenace is underway. Feel free to add an issue, comment on issue or even fix an open issue. We also have defined some projects outlining future directions. Feel free to contribute in any way.

Issues
  • Add install notes

    Add install notes

    The README needs some more details about building and using revup.

    (We shouldn't presume that scrypto programmers know how to build and use rust command line tools.)

    documentation 
    opened by RockHoward 2
  • Add XRD as a defined resource

    Add XRD as a defined resource

    1. Add XRD as a defined resource.

    Enter the arguments for the first function call example: PackageName new 200,$tokenEMT 200,$tokenGMT No ticks, qoutes or backticks

    1. Should the 1st line above read "Enter blueprint name and function-call"?
    2. Is the example correct? When I copy and paste the example and change the token names it still prints the example token names.
    3. quotes is misspelled.
    4. Change the first account created name from "account" to "accout1", same with pubkey.
    enhancement 
    opened by MisoShiru69 2
  • Only the last entity was being found by 'revup'.

    Only the last entity was being found by 'revup'.

    If a function returns more than one entity, only the last one is found.

    bug 
    opened by RockHoward 1
  • Add APE resim compatibility

    Add APE resim compatibility

    Update revup to all it operate correctly with the APE "resim" release of 11/21/2021.

    enhancement 
    opened by RockHoward 1
  • Package env handling is problematic

    Package env handling is problematic

    When running revup if the $package env variable is already set to something besides what the next publish yields, then an error is encountered when trying to run the first call-function after publish . is run.

    The workaround is to source .env and then simply run revup again.

    Fixing this so that it works 100% of the time may require a rethink of the revup workflow.

    bug 
    opened by RockHoward 1
  • Add MacOS support

    Add MacOS support

    Test revup on MacOS and make any adjustments if there are problems.

    A the least update the documentation to reflect MacOS support.

    enhancement 
    opened by RockHoward 1
  • Updates and cleanups

    Updates and cleanups

    Updated for the APE release.

    Also adds support for extracting public keys.

    Added the MIT license and cleaned up the .gitignore

    opened by RockHoward 0
  • Add support for grabbing pubkeys

    Add support for grabbing pubkeys

    Add logic to grab pubkeys when new-account commands are performed.

    enhancement 
    opened by RockHoward 0
  • Transfer the revup repo to the RadGuild organization

    Transfer the revup repo to the RadGuild organization

    To make it easier for more people to get involved with the design, maintenance and evolution of revup, the repo was transferred from initial author dRAT3 to the RadGuild organization.

    opened by RockHoward 0
  • Separate required and optional initial commands and make the optional commands replaceable

    Separate required and optional initial commands and make the optional commands replaceable

    The second account and two token supply commands should be handled as the default set of optional commands. These optional commands should be overridable (perhaps using a file in the current directory.) A way to make the override file should be defined and implemented.

    enhancement 
    opened by RockHoward 0
  • Add env.bat and env.ps1 files for Windows support

    Add env.bat and env.ps1 files for Windows support

    null

    In Progress 
    opened by Aos-dev 1
  • Add Windows support

    Add Windows support

    Adding Windows support will definitely require some rework.

    In Progress 
    opened by RockHoward 0
  • Add option to advance epoch

    Add option to advance epoch

    The available support for setting the epoch is clunky. It would be nice to have a revup command option (-e perhaps?) that advances the epoch by a given number of epochs. With no argument it can default to simply displaying the current epoch.

    enhancement 
    opened by RockHoward 0