Test accounts can only contain the characters a-z (lowercase), 1-5 and they must be 12 characters.
Import Keys
Import private key(s).
zeus key import $JUNGLE_ACCOUNT --owner-private-key --active-private-key $ACTIVE_PRIVATE_KEY --network=jungle3
cleos wallet import --private-key $ACTIVE_PRIVATE_KEY
# if you do not have a wallet created, create with
cleos wallet create --file wallet_password.pwd
# save wallet password
Be sure to save your wallet password!
Faucet
Stake CPU/NET
Now we will stake EOS for CPU/NET so that we can run transactions.
# below amounts use 100 EOS total
cleos -u $JUNGLE_ENDPOINT system delegatebw $JUNGLE_ACCOUNT $JUNGLE_ACCOUNT "35.0000 EOS" "65.0000 EOS" -p $JUNGLE_ACCOUNT@active
Now unfortunately this isn't enough EOS to set the smart contract. We need to buy RAM, but the faucet only allows 1 use per 6 hours, so what do we do? We create 3 more accounts, send the faceted EOS to our account, and buy that RAM. Let's go.
Create more accounts
# update from to 1,2,3 created account name
# update to to JUNGLE_ACCOUNT
# update actor to from
cleos -u https://api.jungle3.alohaeos.com push transaction '{
"delay_sec": 0,
"max_cpu_usage_ms": 0,
"actions": [
{
"account": "eosio.token",
"name": "transfer",
"data": {
"from": "tokenexampl4",
"to": "tokenexample",
"quantity": "95.0000 EOS",
"memo": ""
},
"authorization": [
{
"actor": "tokenexampl4",
"permission": "active"
}
]
}
]
}'
# repeat for each account
If the trx by some miracle goes through, skip toBuy more resources.
If you get Error 3080004: Transaction exceeded the current CPU usage limit imposed on the transaction then you will need to stake some of the CPU first (5 EOS of the 100 you got) then send the remaining CPU (95 from the 5 you're about to stake).