I hereby claim:
- I am daoka on github.
- I am daokasweep (https://keybase.io/daokasweep) on keybase.
- I have a public key ASBounQUxgc1rDNAnVDW4_cU-i5nSEz5SkfX0jUosyMdYAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
require 'rubygems' | |
require 'nis' | |
# turn on output request information | |
Nis.logger.level = Logger::DEBUG | |
PRIVATE_KEY = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" | |
nis = Nis.new(host: '23.228.67.85') | |
keyPair = Nis::Keypair.new(PRIVATE_KEY) |
[ | |
{ | |
"id": "e00a6b2.2f87898", | |
"type": "transfer", | |
"z": "7c68421c.ffca4c", | |
"name": "", | |
"address": "", | |
"message": "", | |
"amount": "0", | |
"namespace": "", |
# Doxyfile 1.8.14 | |
# This file describes the settings to be used by the documentation system | |
# doxygen (www.doxygen.org) for a project. | |
# | |
# All text after a double hash (##) is considered a comment and is placed in | |
# front of the TAG it is preceding. | |
# | |
# All text after a single hash (#) is considered a comment and will be ignored. | |
# The format is: |
リリース | 機能 | ドキュメント |
---|---|---|
Bison | アカウントフィルタ | Protocol / Account Filters |
RockDBの状態保持 | Protocol / Node / RocksDB | |
マークルツリー | Protocol / Block | |
Cow | NEMを越えたクロスチェーンスワップ (ETH, Bitcoin) , ii | [ |
今までの挙動 | 新しい挙動 | |
---|---|---|
モザイク名 | ネームスペース + 自身の名前 | ネームスペースのエイリアス |
ID | ネームスペース + 自身の名前 | ナンスから生成される |
有効期限 | 作成時にセットされる | 永続か有効期限をセットする |
import { Account, NetworkType, TransactionHttp, AddressAliasTransaction, Deadline, AliasType, UInt64, NamespaceId, Address, AliasActionType } from "nem2-sdk"; | |
const privateKey = 'YOUR_PRIVATE_KEY'; | |
const account = Account.createFromPrivateKey(privateKey, NetworkType.MIJIN_TEST); | |
const apiServer = 'http://localhost:3000/'; | |
const transactionHttp = new TransactionHttp(apiServer); | |
const namespaceId = new NamespaceId([1937548940, 3993951157]); | |
const linkAddress = Address.createFromRawAddress('SACVJB7HYIJMFMPI4IYN2XJHAN66D7VHMPLUL6ZP'); |
import { MnemonicPassPhrase, ExtendedKey, Network, Wallet } from 'nem2-hd-wallets'; | |
const mnemonic = MnemonicPassPhrase.createRandom(); | |
console.log(mnemonic); | |
const bip32seed = mnemonic.toEntropy(); | |
console.log(`seed: ${bip32seed}`); | |
const xKey = ExtendedKey.createFromSeed(bip32seed); | |
console.log(`xkey: ${xKey.toBase58()}`); | |
const wallet = new Wallet(xKey); |
import { Listener, Account, NetworkType, PublicAccount, TransferTransaction, Deadline, PlainMessage, NetworkCurrencyMosaic, AggregateTransaction, HashLockTransaction, UInt64, TransactionHttp } from 'nem2-sdk'; | |
import { filter, mergeMap } from 'rxjs/operators'; | |
const nodeUrl = 'https://catapult-test.opening-line.jp:3001'; | |
const transactionHttp = new TransactionHttp(nodeUrl); | |
const listener = new Listener(nodeUrl); | |
const aPrivateKey = 'Account_A_Private_Key'; | |
const aAccount = Account.createFromPrivateKey(aPrivateKey, NetworkType.MIJIN_TEST); |
import * as dotenv from 'dotenv'; | |
import { MosaicHttp, Account, NetworkType, MosaicService, AccountHttp } from 'nem2-sdk'; | |
import { mergeMap } from 'rxjs/operators'; | |
dotenv.config(); | |
const endpoint = process.env.API_ENDPOINT; | |
const accountHttp = new AccountHttp(endpoint); | |
const mosaicHttp = new MosaicHttp(endpoint); | |
const mosaicService = new MosaicService(accountHttp, mosaicHttp); |