Skip to content

invoke* use base64 script#673

Merged
shargon merged 13 commits intoneo-project:masterfrom
chenzhitong:lcpr
Oct 15, 2020
Merged

invoke* use base64 script#673
shargon merged 13 commits intoneo-project:masterfrom
chenzhitong:lcpr

Conversation

@chenzhitong
Copy link
Copy Markdown
Contributor

@chenzhitong chenzhitong commented Oct 13, 2020

@superboyiii
Copy link
Copy Markdown
Member

Works well on mine.

neo> open wallet admin.json
password: *
neo> invoke 0x254b9decd76080ef368e7a6b0a065938dfbc31cf name
Invoking script with: 'EMAMBG5hbWUMFM8xvN84WQYKa3qONu+AYNfsnUslQWJ9W1I='
VM State: HALT
Gas Consumed: 0.0125022
Result Stack: [{"type":"ByteString","value":"TkVQNSBURVNUIFRPS0VO"}]
Relay tx(no|yes): n
neo> list address
   Address: NLtDqwnj9s7wQVyaiD5ohjV3e9fUVkZxDp  Standard
ScriptHash: 0xf642a0401fdd56a03114639a98b7963eb587a30a

   Address: NedjwsfAJYFas9rn8UHWQftTW4oKAQyW9h  Standard
ScriptHash: 0x9f2dd7df630980dce111d3b31ebe35d3cfae58cd

neo> send 0x254b9decd76080ef368e7a6b0a065938dfbc31cf NedjwsfAJYFas9rn8UHWQftTW4oKAQyW9h 1000
password: *
TXID: 0xba22aa0bf16115e85c3bf5b917f6c699d24e2bbdb00a362a5cb6d450df089953
neo> register candidate NedjwsfAJYFas9rn8UHWQftTW4oKAQyW9h
Invoking script with: 'DCEC/fJ6LrjZsGnWGuWmTboTuJY3xULYx0xda6tJP+Y41o8RwAwRcmVnaXN0ZXJDYW5kaWRhdGUMFCUFnstIeNOodfkcUc7e0zDUV1/eQWJ9W1I='
VM State: HALT
Gas Consumed: 0.0600775
Result Stack: [{"type":"Boolean","value":true}]
Relay tx(no|yes): y
Signed and relayed transaction with hash=0xcb93fc1f8beff8f511d376ffe3ccbc2c313a2e8620c37c7a9861a04c33399ef9

@shargon shargon merged commit 00946fd into neo-project:master Oct 15, 2020
ProDog pushed a commit to ProDog/neo-node that referenced this pull request Oct 19, 2020
* 打开钱包当文件不存在时错误提示更友好

* Show wallet height when executing "show state" command. Keep in line with neo-gui.

* fixed bug

* 修复Bug

* optimize

* fix

* invoke* use base64 script

Co-authored-by: Erik Zhang <erik@vcage.com>
ProDog pushed a commit to ProDog/neo-node that referenced this pull request Nov 23, 2020
* 打开钱包当文件不存在时错误提示更友好

* Show wallet height when executing "show state" command. Keep in line with neo-gui.

* fixed bug

* 修复Bug

* optimize

* fix

* invoke* use base64 script

Co-authored-by: Erik Zhang <erik@vcage.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants