百度超级链 XuperChain 3.9-e 中文文档
init_globals(h); init_memory(h); init_table(h); return h; } 3.4. 语言运行环境 3.4.1. c++运行环境 c++因为没有runtime,因此运行环境相对比较简单,只需要设置基础的堆栈分 布以及一些系统函数还有emscripten的运行时函数即可。 c++合约的内存分布 c++合约的内存分布 普通调用如何在xvm解释 xvm符号解析 部署native合约。针对不同语言实现的合约,主要通过 --runtime 字 段进行区分 # 部署golang native合约 ./xchain-cli native deploy --account XC1111111111111111@xuper -a '{"creator":"XC1111111111111111@xuper"}' --fee 15587517 -- runtime go counter --cname 部署java native合约 ./xchain-cli native deploy --account XC1111111111111111@xuper --fee 15587517 --runtime java counter-0.1.0-jar-with- dependencies.jar --cname javacounter # 部署结果 # contract response: ok0 码力 | 317 页 | 27.80 MB | 1 年前3百度超级链 XuperChain 3.8 中文文档
init_globals(h); init_memory(h); init_table(h); return h; } 3.4. 语言运行环境 3.4.1. c++运行环境 c++因为没有runtime,因此运行环境相对比较简单,只需要设置基础的堆栈分 布以及一些系统函数还有emscripten的运行时函数即可。 c++合约的内存分布 c++合约的内存分布 普通调用如何在xvm解释 xvm符号解析 部署native合约。针对不同语言实现的合约,主要通过 --runtime 字 段进行区分 # 部署golang native合约 ./xchain-cli native deploy --account XC1111111111111111@xuper -a '{"creator":"XC1111111111111111@xuper"}' --fee 15587517 -- runtime go counter --cname 部署java native合约 ./xchain-cli native deploy --account XC1111111111111111@xuper --fee 15587517 --runtime java counter-0.1.0-jar-with- dependencies.jar --cname javacounter # 部署结果 # contract response: ok0 码力 | 316 页 | 27.93 MB | 1 年前3百度超级链 XuperChain 3.9 中文文档
init_globals(h); init_memory(h); init_table(h); return h; } 3.4. 语言运行环境 3.4.1. c++运行环境 c++因为没有runtime,因此运行环境相对比较简单,只需要设置基础的堆栈分 布以及一些系统函数还有emscripten的运行时函数即可。 c++合约的内存分布 c++合约的内存分布 普通调用如何在xvm解释 xvm符号解析 部署native合约。针对不同语言实现的合约,主要通过 --runtime 字 段进行区分 # 部署golang native合约 ./xchain-cli native deploy --account XC1111111111111111@xuper -a '{"creator":"XC1111111111111111@xuper"}' --fee 15587517 -- runtime go counter --cname 部署java native合约 ./xchain-cli native deploy --account XC1111111111111111@xuper --fee 15587517 --runtime java counter-0.1.0-jar-with- dependencies.jar --cname javacounter # 部署结果 # contract response: ok0 码力 | 317 页 | 27.80 MB | 1 年前3百度超级链 XuperChain stable 中文文档
init_memory(h); 14 init_table(h); 15 return h; 16 } 3.4. 语言运行环境 3.4.1. c++运行环境 c++因为没有runtime,因此运行环境相对比较简单,只需要设置基础的堆栈分 布以及一些系统函数还有emscripten的运行时函数即可。 c++合约的内存分布 c++合约的内存分布 普通调用如何在xvm解释 xvm符号解析 部署合约 部署native合约。针对不同语言实现的合约,主要通过 --runtime 字 段进行区分 # 部署golang native合约 $ ./xchain-cli native deploy --account XC1111111111111111@xuper --fee 15587517 --runtime go -a '{"creator":"XC1111111111111111@xuper"}' 部署java native合约 $ ./xchain-cli native deploy --account XC1111111111111111@xuper --fee 15587517 --runtime java -- cname javacounter ../core/contractsdk/java/example/counter/target/counter-0.1.0- jar-with-dependencies0 码力 | 325 页 | 26.31 MB | 1 年前3百度超级链 XuperChain latest 中文文档
init_globals(h); init_memory(h); init_table(h); return h; } 3.4. 语言运行环境 3.4.1. c++运行环境 c++因为没有runtime,因此运行环境相对比较简单,只需要设置基础的堆栈分 布以及一些系统函数还有emscripten的运行时函数即可。 c++合约的内存分布 c++合约的内存分布 普通调用如何在xvm解释 xvm符号解析 部署合约 部署native合约。针对不同语言实现的合约,主要通过 --runtime 字 段进行区分 # 部署golang native合约 $./xchain-cli native deploy --account XC1111111111111111@xuper --fee 15587517 --runtime go --cname golangcounter ../core/c 部署java native合约 $./xchain-cli native deploy --account XC1111111111111111@xuper --fee 15587517 --runtime java --cname javacounter ../core/contractsdk/java/example/counter/target/counter-0.1.0- jar-with-dependencies0 码力 | 316 页 | 24.51 MB | 1 年前3百度超级链 XuperChain master 中文文档
init_globals(h); init_memory(h); init_table(h); return h; } 3.4. 语言运行环境 3.4.1. c++运行环境 c++因为没有runtime,因此运行环境相对比较简单,只需要设置基础的堆栈分 布以及一些系统函数还有emscripten的运行时函数即可。 c++合约的内存分布 c++合约的内存分布 普通调用如何在xvm解释 xvm符号解析 部署合约 部署native合约。针对不同语言实现的合约,主要通过 --runtime 字 段进行区分 # 部署golang native合约 $./xchain-cli native deploy --account XC1111111111111111@xuper --fee 15587517 --runtime go --cname golangcounter ../core/c 部署java native合约 $./xchain-cli native deploy --account XC1111111111111111@xuper --fee 15587517 --runtime java --cname javacounter ../core/contractsdk/java/example/counter/target/counter-0.1.0- jar-with-dependencies0 码力 | 316 页 | 24.51 MB | 1 年前3百度超级链 XuperChain 3.12-a中文文档
}’ –fee 15587517 –runtime go counter –cname counter 合约调用 xchain-cli evm deploy –account XC1111111111111111@xuper -a ‘{“creator”:”XC1111111111111111@xuper”}’ –fee 15587517 –runtime go counter –cname counter r”}’ –fee 15587517 –runtime go counter –cname counter xchain-cli native deploy –account XC1111111111111111@xuper -a ‘{“creator”:”XC1111111111111111@xuper”}’ –fee 15587517 –runtime go counter –cname counter --account XC1111111111111111@xuper -a '{"creator":"XC1111111111111111@xuper"}' --fee 15587517 --runtime go counter --cname counter # 部署 wasm 合约 xchain-cli wasm deploy --account XC1111111111111111@xuper0 码力 | 336 页 | 12.62 MB | 1 年前3百度超级链 XuperChain 3.12-c 中文文档
}’ –fee 15587517 –runtime go counter –cname counter 合约调用 xchain-cli evm deploy –account XC1111111111111111@xuper -a ‘{“creator”:”XC1111111111111111@xuper”}’ –fee 15587517 –runtime go counter –cname counter r”}’ –fee 15587517 –runtime go counter –cname counter xchain-cli native deploy –account XC1111111111111111@xuper -a ‘{“creator”:”XC1111111111111111@xuper”}’ –fee 15587517 –runtime go counter –cname counter --account XC1111111111111111@xuper -a '{"creator":"XC1111111111111111@xuper"}' --fee 15587517 --runtime go counter --cname counter # 部署 wasm 合约 xchain-cli wasm deploy --account XC1111111111111111@xuper0 码力 | 336 页 | 12.62 MB | 1 年前3百度超级链 XuperChain 3.12 中文文档
}’ –fee 15587517 –runtime go counter –cname counter 合约调用 xchain-cli evm deploy –account XC1111111111111111@xuper -a ‘{“creator”:”XC1111111111111111@xuper”}’ –fee 15587517 –runtime go counter –cname counter r”}’ –fee 15587517 –runtime go counter –cname counter xchain-cli native deploy –account XC1111111111111111@xuper -a ‘{“creator”:”XC1111111111111111@xuper”}’ –fee 15587517 –runtime go counter –cname counter --account XC1111111111111111@xuper -a '{"creator":"XC1111111111111111@xuper"}' --fee 15587517 --runtime go counter --cname counter # 部署 wasm 合约 xchain-cli wasm deploy --account XC1111111111111111@xuper0 码力 | 336 页 | 12.62 MB | 1 年前3百度超级链 XuperChain 3.12-b 中文文档
}’ –fee 15587517 –runtime go counter –cname counter 合约调用 xchain-cli evm deploy –account XC1111111111111111@xuper -a ‘{“creator”:”XC1111111111111111@xuper”}’ –fee 15587517 –runtime go counter –cname counter r”}’ –fee 15587517 –runtime go counter –cname counter xchain-cli native deploy –account XC1111111111111111@xuper -a ‘{“creator”:”XC1111111111111111@xuper”}’ –fee 15587517 –runtime go counter –cname counter --account XC1111111111111111@xuper -a '{"creator":"XC1111111111111111@xuper"}' --fee 15587517 --runtime go counter --cname counter # 部署 wasm 合约 xchain-cli wasm deploy --account XC1111111111111111@xuper0 码力 | 336 页 | 12.62 MB | 1 年前3
共 69 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7