Skip to content

Instantly share code, notes, and snippets.

@lispc
Created March 1, 2019 07:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lispc/a1c485faf06b026c13ee9f37aae00a0d to your computer and use it in GitHub Desktop.
Save lispc/a1c485faf06b026c13ee9f37aae00a0d to your computer and use it in GitHub Desktop.
function init() {
iwallet --account admin account create lispc --initial_balance 100
iwallet --account admin account create lispcc --initial_balance 100
iwallet --account lispc sys pledge 10 --gas_user lispcc
iwallet --account lispc sys pledge 10 --gas_user lispc
iwallet --account lispc sys unpledge 10 --gas_user lispc
iwallet --account lispc sys pledge 10 --gas_user lispc
}
init
curl -s -X POST --data '{"id":"gas.iost","key":"lispcgp"}' http://127.0.0.1:30001/getContractStorageFields
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment