This is the very beginning of a toolset for operations with Smart Storages in EVE Frontier.
You need to have an account in EVE Frontier to use these tools.
Install pnpm and foundry. Look at EVE Frontier documentation if you want.
Run pnpm install in the scripts directory to install dependencies.
You will need this information to run the script:
- Open Wallet in the game and extract your 12-word mnemonic passphrase for the account from the game and save it somewhere. You will also need the address of your character (a value that looks like '0x...')
- Open your Smart Storage Unit in the game and copy its ID.
- Look at the API and find the ID of the item type you want to transfer (or find it any other way).
- Look at evedataco.re and find the address of another player you want to give the items in your storage.
Great, now you are ready. Go to scripts directory and run this command to transfer items from your main storage to the ephemeral inventory owned by another player:
forge script ./script/Transfer.s.sol:ToEphemeral --root . --broadcast --mnemonics=<path-to-mnemonic-file> --sender=<your_character_address> -vvv --sig "run(uint256,address,uint256,uint256)" <your_smart_storage_id> <recipient_character_address> <item_type_id> <quantity>For example, it may look like this:
forge script ./script/Transfer.s.sol:ToEphemeral --root . --broadcast --mnemonics=../../my-very-secret-passphase.txt --sender=0x7cbf5815267d9019fe635f27b24f55aa274404aa -vvv --sig "run(uint256,address,uint256,uint256)" 4859470410240156627817180118228935213272802726117704852266047572472534307122 0xd5a860731d3d1b6254a61266aef06395ab824c1a 77810 1Now you can look at the API again and see that the item has been transferred to the recipient's ephemeral inventory.