A simple CLI tool to generate intents on the Rhinestone Orchestrator for testing.
When using the bundle generator for the first time, run pnpm i to install the dependencies. You will also need to create a .env file based on .env.example. The owner private key is just used to sign so can be a random private key. You only need the api keys of the env you're using.
The bundle generator supports three different environments:
- Prod
- Dev
- Local
Note: if you're running a local testnet, set LOCAL_TESTNET=true
- Gets the address for the smart account to send funds to
Usage: pnpm address or pnpm run address
- Gets the balance of the smart account across all supported chains
Usage: pnpm address or pnpm run address
- Creates a new intent through a cli
- Stores the intent params for future use
- Executes the intent
Usage: pnpm new or pnpm run new
- Allows you to either replay all stored intents or a subset
- Allows you to either execute them in sequence or parallel
Usage: pnpm replay or pnpm run replay
In order to generate a large set of test cases, run ./generate.sh or ./generate_testnets.sh. The vectors are:
- Networks: what networks to use
- Token outs: what tokens to request on target
- Token ins: what tokens to use as input
- Sponsored: whether the intent is sponsored
- Destination ops: whether there are target executions
- Settlement layers: which settelment layers to use
- Samechain no token transfers
- Multi token output
- Account deployments
- EIP-7702
- EOAs
- Non-7579 accounts
- Multi token input
- Multi origin chain
- Locked funds
- Unlocked funds
- Preclaim ops