OSDN Git Service
(root)
/
bytom
/
Byone.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
refacor: update dir struct
[bytom/Byone.git]
/
src
/
background
/
bytom.js
1
import Bytom from "bytom-js-sdk";
2
3
let network = {
4
testnet: "http://52.82.24.155:3000/"
5
};
6
7
var bytom = new Bytom(network, chrome.runtime.getURL("wasm/main.wasm"));
8
bytom.setNetType("testnet");
9
10
export default bytom.sdk;