Login
Register
All Activity
Questions
Unanswered
Tags
Users
Ask a Question
Welcome to the Developer Q&A for the
MultiChain
blockchain platform.
Please feel free to ask questions about the platform to receive answers from the MultiChain developers or other members of the community.
Related questions
How to decode raw transaction outside of the node
No of Json-Rpc connections to node
How to get a RPC error message in detail, more than "Internal server error"?
Unable to create a stream via JSON RPC
Can I connect to a non-administrative node using JSON-RPC?
4,156
questions
4,369
answers
5,718
comments
Most popular tags
multichain
streams
assets
stream
transactions
json-rpc
blockchain
wallet
permissions
error
address
raw-transactions
asset
mining
node
api
issue
multichain-explorer
nodes
connect
multichaind
multisig
transaction
smart-filters
metadata
private-key
atomic-exchange
multichain-cli
multichain-web-demo
data
connection
performance
blocks
demo
web
json
database
storage
native-currency
bitcoin
private-blockchain
network
fee
smart-contracts
wallets
signrawtransaction
off-chain
exchange
multiple-nodes
getnewaddress
possible to build a transaction outside of json rpc server
+2
votes
Hi Multichain folks,
Is it possible to createarawtransation and sign without calling the JSON RPC server, then connect to the server to broadcast the transaction?
Are there any recommended libraries for this?
Thanks!
raw-transactions
json-rpc
asked
Jul 11, 2018
by
StevenChan
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1 Answer
+1
vote
Best answer
It's generally easiest to use the JSON-RPC server to build the transaction, even if it doesn't sign it, because it will know the up-to-date state of the blockchain. In that case please see these two tutorials that can be helpful:
https://www.multichain.com/developers/external-key-management/
https://www.multichain.com/developers/cold-nodes-wallets/
Otherwise, it's perfectly possible to build and sign the entire transaction outside of MultiChain. Any library that can build bitcoin transactions can also be used to build MultiChain transactions, since MultiChain uses the same transaction format, scripting language, cryptography, etc... You can consult several of our developer guides to understand how MultiChain represents permissions, assets and streams transactions in bitcoin's format:
https://www.multichain.com/developers/permissions-management/
https://www.multichain.com/developers/native-assets/
https://www.multichain.com/developers/data-streams/
answered
Jul 11, 2018
by
MultiChain
selected
Jul 13, 2018
by
StevenChan
Please
log in
or
register
to add a comment.
...