Skip to content

Conversation

@ericpassmore
Copy link
Contributor

@ericpassmore ericpassmore commented May 21, 2025

Two changes

  • update name of system-contracts github repro
  • Update help text for bios-boot-tutorial.py change from EOSIO to Vaulta

Resolved #1376

Related PR main merge #1550

@ericpassmore ericpassmore added this to the Spring v1.2.0-rc3/final milestone May 21, 2025
@ericpassmore ericpassmore linked an issue May 21, 2025 that may be closed by this pull request
@ericpassmore ericpassmore self-assigned this May 21, 2025
@ericpassmore
Copy link
Contributor Author

Additional Steps for A token.

# Create the account `core.vaulta` first
cleos create account eosio core.vaulta SOME_KEY_HERE -p eosio@active

# Add code permissions to the vaulta contract
cleos set account permission core.vaulta active --add-code -p alice@active

# Set privileged
cleos push action eosio setpriv '["core.vaulta", 1]' -p eosio@active

# Set contract/abi
cleos set contract core.vaulta ./vaulta vaulta.wasm vaulta.abi -p core.vaulta@active

# Buy some RAM for the swap contract (might need to change the paying account (eosio))
# You can skip this step if the RAM market isn't set up / the chain doesn't require resources
cleos push action eosio buyram '["eosio", "core.vaulta", "100.0000 EOS"]' -p eosio@active

# Initialize
cleos push action core.vaulta init '["2100000000.0000 A"]' -p core.vaulta@active

@ericpassmore
Copy link
Contributor Author

@ericpassmore ericpassmore marked this pull request as draft May 25, 2025 05:17
@ericpassmore ericpassmore marked this pull request as ready for review May 26, 2025 18:39
@ericpassmore ericpassmore linked an issue May 26, 2025 that may be closed by this pull request
@ericpassmore
Copy link
Contributor Author

Stuck, bios-boot uses SYS but the vault contracts require EOS. https://github.com/VaultaFoundation/vaulta-system-contract/blob/c641069bf72dcc56e72e96cd1ce7ff25f27d7e04/contracts/system.entry.cpp#L153

Solved, --symbol argument to bios-boot-tutorial.py will change the symbol

@ericpassmore ericpassmore merged commit 9476c8b into release/1.2 May 26, 2025
36 checks passed
@ericpassmore ericpassmore deleted the rebrand-update-bios-boot-tutorial branch May 26, 2025 21:47
@bhazzard bhazzard added the documentation Improvements or additions to documentation label Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tutorial: Update doc links to vaultafoundation/system-contracts "cleos system newaccount" broken

5 participants