Skip to content

Instantly share code, notes, and snippets.

{
"_id": {
"$oid": "5a72b88ccabb78f8a342ea65"
},
"attributes": [
{
"data": "50c2a21e2ff07f6ad069d5b035b4ca18e56dc04f",
"usage": "Script"
}
],
const net = 'http://35.192.230.39:5000/'
const contractScriptHash = '3363d19506d63e4dd386459aec81b0174cafadc0'
const destinationAddress = 'ARRo6ReXfQtHY4X22Vw1XYVDj67TAZc91p'
const privateKey = 'KxFbwhxkDaV9Z9rrB4CqWybvSHayAABveaMFtpRiM2ouPRdRLaco'
const intents = [
{
assetId: '602c79718b16e442de58778e148d0b1084e3b2dffd5de6b7b16cee7969282de7',
value: 0.00001,
scriptHash: wallet.getScriptHashFromAddress(destinationAddress),
@slipo
slipo / docker-compose.yml
Created January 30, 2018 23:00
Super simple docker compose file giving you a private NEO network and neon-wallet-db ... see comments.
version: '3'
services:
neon-wallet-db:
container_name: "neon-wallet-db"
image: slipoh/neon-wallet-db:latest
environment:
- MONGOURL=mongodb:27017
- MONGOPASS=neo
- MONGOUSER=gas
- MONGOAPP=test