Last active
December 18, 2019 09:49
-
-
Save hali241997/4bf83b3a7ee7c117f8efb72479bf753c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
actions: [{ | |
account: 'eosio', | |
name: 'newaccount', | |
authorization: [{ | |
actor: account, | |
permission: 'active' | |
}], | |
data: { | |
creator: account, | |
name: 'mynewacc', | |
owner: { | |
threshold: 1, | |
keys: [{ | |
key: 'EOS5M3iMC3B3MVfDYMMQUE6Pqj8FhU5fMzc5T6pYdog75SCWUCc8j', | |
weight: 1 | |
}], | |
accounts: [], | |
waits: [] | |
}, | |
active: { | |
threshold: 1, | |
keys: [{ | |
key: 'EOS5M3iMC3B3MVfDYMMQUE6Pqj8FhU5fMzc5T6pYdog75SCWUCc8j', | |
weight: 1 | |
}], | |
accounts: [], | |
waits: [] | |
} | |
} | |
}, | |
{ | |
account: 'eosio', | |
name: 'buyrambytes', | |
authorization: [{ | |
actor: account, | |
permission: 'active' | |
}], | |
data: { | |
from: account, | |
receiver: 'mynewacc', | |
bytes: 8192 | |
} | |
}, | |
{ | |
account: 'eosio', | |
name: 'delegatebw', | |
authorization: [{ | |
actor: account, | |
permission: 'active' | |
}], | |
data: { | |
from: account, | |
receiver: 'mynewacc', | |
stake_net_quantity: '1.0000 SYS', | |
stake_cpu_quantity: '1.0000 SYS', | |
transfer: false, | |
} | |
}], | |
expiration, | |
ref_block_num: refBlockNum, | |
ref_block_prefix: refBlockPrefix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment