Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

基于sdk3.x版本更换分支 #121

Open
wants to merge 2 commits into
base: feature-sdk3.X
Choose a base branch
from

Conversation

safarika
Copy link

本项目基于fisco-bcos-java-sdk3.4.0开发,代码结构和源程序差异较大,使用方法如下:
1.新建sprignboot应用
2.引入maven依赖

com.gitee.zhangyutong
bcos-springboot-starter
3.0.1-Beta

3.将相关证书复制到conf目录下
4.新建目录,将编译好的合约java代码防到新目录里
5.在启动类上加上@EnableScan(packages = {"java合约包名"})
6.新建controller, 拿到客户端,FiscoClient fiscoClient = FManager.getFiscoClient();可以调用fiscoClient 的基本方法,合约在resource目录下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant