Comments (33)
mark
from annchain.
第二关
还记得刚入职众安时的样子吗,我们在众安开启一段新的旅程,从关卡中寻找通往成功之门的地址,而你们就是开启成功之门的钥匙,加油!
-
资源链接(解决科学上网的问题)
linux 和 macOS 使用方式: ./starAndFork -u "your github username"
windows使用方式: 左下角输入cmd,进入终端,输入 starAndFork.exe -u "your github username"
-
第一题
-
第二题
1 | 2 | 3 | 4 |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
-
第三题
可以使用go sdk 或者 command tool来执行和查询合约
Command Tool | Go SDK | JAVA SDK | |
---|---|---|---|
获取链接 | annchain_v1.4.4_linux.zip annchain_v1.4.4_macOS.zip |
请点击 | 请点击 |
使用方式 | 执行合约、查询合约 | 执行合约、查询合约 | 执行合约、查询合约 |
所需参数 | 请点击 | 参考Command Tool | 参考Command Tool |
from annchain.
Command Tool 调用合约所需参数
- sample.abi
[
{
"constant": false,
"inputs": [
{
"name": "_name",
"type": "string"
},
{
"name": "_mail",
"type": "string"
}
],
"name": "addCompetitorInfo",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"constant": true,
"inputs": [],
"name": "getAllAddr",
"outputs": [
{
"name": "",
"type": "address[100]"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_mail",
"type": "string"
}
],
"name": "getCompetitorInfoFromMail",
"outputs": [
{
"name": "",
"type": "uint256"
},
{
"name": "",
"type": "string"
},
{
"name": "",
"type": "address"
},
{
"name": "",
"type": "string"
},
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_num",
"type": "uint256"
}
],
"name": "getCompetitorInfoFromRank",
"outputs": [
{
"name": "",
"type": "uint256"
},
{
"name": "",
"type": "string"
},
{
"name": "",
"type": "address"
},
{
"name": "",
"type": "string"
},
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_mail",
"type": "string"
}
],
"name": "getCompetitorResult",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
}
]
- sample_execute.json
{
"contract" : "第一题所得",
"function" : "addCompetitorInfo",
"params":[
"姓名", "企业邮箱"
]
}
- sample_read.json
{
"contract" : "第一题所得",
"function" : "getCompetitorResult",
"params":[
"企业邮箱"
]
}
执行成功返回"信息登记成功!"以及第三关提示。
from annchain.
妈呀,居然还有
from annchain.
第二关第二题有点抽像啊
from annchain.
,,,,所以刚才那个算是第一关吗
from annchain.
,,,,所以刚才那个算是第一关吗
yes,you're right
from annchain.
原来才只是进入第二关
from annchain.
为了推广annchain煞费苦心啊
from annchain.
网速太慢
from annchain.
原来只是个开始。。。。。
from annchain.
mark
from annchain.
第一题挂着下了一夜,还没下完。
from annchain.
网速太慢
已更新资源链接
from annchain.
第一题挂着下了一夜,还没下完。
已更新资源链接 ^_^
from annchain.
还要下载东西 搭建环境。。我还是算了 网络不行 ~~
from annchain.
不容易啊
from annchain.
第二题
from annchain.
还要下载东西 搭建环境。。我还是算了 网络不行 ~~
算是一个提示吧,其实不需要搭建环境,下载的东西是命令行工具,获得线索,第二个下载的命令行工具可以使用sdk替代
from annchain.
这第三关有点头疼,第一名出来了吗,Kane大佬 @needkane
from annchain.
这第三关有点头疼,第一名出来了吗,Kane大佬 @needkane
还没,如果你能对AnnChain代码有贡献,无论是修bug、改文档还是改进代码,我可以考虑给一点提示
from annchain.
火钳刘明
from annchain.
这题目我没太看懂
资源链接(解决科学上网的问题)这个部分的链接都是科学上网的么?我看名字和第一题的好像一样
然后执行完了给了合约私钥和地址啥意思,有点晕
from annchain.
这题目我没太看懂
资源链接(解决科学上网的问题)这个部分的链接都是科学上网的么?我看名字和第一题的好像一样
然后执行完了给了合约私钥和地址啥意思,有点晕
部分同学说下载资源太慢,所以资源链接(解决科学上网的问题)给的都是国内的下载链接
starAndFork以后给了账户私钥,合约地址,这些是第三题执行时需要的参数,然后问题来了,有了客户端工具,请求结构(json),参数信息,接下来就是访问服务端了,服务端信息在第二题中
from annchain.
没看懂上面题目是要做什么,上面第一题是下载两个工具,一个Linux,一个macOS。windows解压后是个文件;第二题是4个图片;第三题下载zip包后是gtool和genesis。主要用Java开发,fork ann-java-sdk,看Code是go语言,没太明白上面3个题最后输出什么
from annchain.
第三关能给点提示么,比如每个人的答案是否是一样的?
from annchain.
第二题的图可以给点提示之类的么,比如是内网还是外网
from annchain.
没看懂上面题目是要做什么,上面第一题是下载两个工具,一个Linux,一个macOS。windows解压后是个文件;第二题是4个图片;第三题下载zip包后是gtool和genesis。主要用Java开发,fork ann-java-sdk,看Code是go语言,没太明白上面3个题最后输出什么
第一题给账户私钥和合约地址,第二题给服务器地址,第三题是用前两题的答案来执行和查询合约,最终获得第三关链接。具体怎么执行和查询合约,题目中已经有说明了。
from annchain.
第三关能给点提示么,比如每个人的答案是否是一样的?
答案一样的
from annchain.
第二题的图可以给点提示之类的么,比如是内网还是外网
内网~
from annchain.
第二题的图可以给点提示之类的么,比如是内网还是外网
内网~
第二题的图太抽象了,有点摸不到头脑
from annchain.
第二题的图可以给点提示之类的么,比如是内网还是外网
内网~
第二题的图太抽象了,有点摸不到头脑
哪一张与其他三张有区别?
from annchain.
第二关最后有多少人解决了
from annchain.
Related Issues (20)
- 账号空间过大导致性能下降
- gtool部署合约exist查询不存在
- leveldb snapshot
- support update and get history HOT 1
- Annchain Community Proposal -ACP #1 HOT 2
- 建议说明文档的中文支持
- Got time out error if nonce was duplicated
- Applicathion log need traceId
- Audit log
- limiting protection
- Smooth upgrade(incompatible version) HOT 1
- 远程RPC访问的method方法列表和params HOT 1
- Add ann-test to AnnChain travis
- docker-compose only use one image(annchain/genesis:latest) HOT 1
- go test (use go sdk) twice throw error HOT 1
- Occasional failure in adminOP's tests
- CI failed : The command "go test ./gemmill/... -coverprofile=coverage.txt -covermode=atomic" exited with 1.
- 磁盘满导致私钥文件为空
- rpc core_version deprecated
- evm tx pool waiting queue is full HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from annchain.