Ethereum ADPP Forum
Publish: 2021-05-20 19:27:46
1. Yes, China's bitcoin chbtc mobile app can trade Ethernet / Ethereum eth, which is very convenient and easy to use. It can be downloaded from the official website of China bitcoin chbtc.
2. Imtoken doesn't have BTC wallet, it can only store erc20 token
3. 客户端代码是这样的
#import "ViewController.h"
@implementation ViewController
-(void)aaa:(UIButton *)btn
{
NSString *method=[NSString stringWithFormat:@"login"];
NSString *username=[NSString stringWithFormat:@"123"];
笭肠蒂段郦灯垫犬叮华 NSString *password=[NSString stringWithFormat:@"123"];
NSString *urlString= [NSString stringWithFormat:@"",@"method=",method,@"username=",username,@"password=",password];
ASIFormDataRequest *requestForm = [[ASIFormDataRequest alloc] initWithURL:[NSURL URLWithString:urlString]];
//设置需要POST的数据,这里提交两个数据,A=a&B=b
//[requestForm setPostValue:@"a" forKey:@"A"];
//[requestForm setPostValue:@"b" forKey:@"B"];
[requestForm startSynchronous];
//输入返回的信息
NSLog(@"response\n%@",[requestForm responseString]);
[requestForm release];
}
- (void)viewDidLoad
{
[super viewDidLoad];
button1=[[UIButton alloc]initWithFrame:CGRectMake(200, 200, 50, 50)];
button1.backgroundColor=[UIColor redColor];
[self.view addSubview:button1];
[button1 addTarget:self action:@selector(aaa:) forControlEvents:UIControlEventTouchUpInside];
// Do any additional setup after loading the view, typically from a nib.
}
- (void)viewDidUnload
{
[super viewDidUnload];
// Release any retained subviews of the main view.
}
- (BOOL):(UIInterfaceOrientation)interfaceOrientation
{
return (interfaceOrientation != );
}
@end
客户端想要访问服务器
必须加上服务器的ip 服务端我是这样实现的
服务器是用java开发的
public
void doLogin(HttpServletRequest request,HttpServletResponse response) throws
IOException{
String
username=request.getParameter("username");
String
password=request.getParameter("password");
String
getStr=request.getParameter("A");
System.out.println("用户名:"+username+
"密码:"+password);
getAddr(request);
PrintWriter
out=response.getWriter();
String msg=null;
if(username!=null&&username.equals("123")&&password!=null
&&password.equals("123")&&
getStr!=null&&getStr.equals("a")){
msg="登陆成功";
}
else
{
msg="登陆失败";
}
out.print(msg);
out.flush();
out.close();
}
#import "ViewController.h"
@implementation ViewController
-(void)aaa:(UIButton *)btn
{
NSString *method=[NSString stringWithFormat:@"login"];
NSString *username=[NSString stringWithFormat:@"123"];
笭肠蒂段郦灯垫犬叮华 NSString *password=[NSString stringWithFormat:@"123"];
NSString *urlString= [NSString stringWithFormat:@"",@"method=",method,@"username=",username,@"password=",password];
ASIFormDataRequest *requestForm = [[ASIFormDataRequest alloc] initWithURL:[NSURL URLWithString:urlString]];
//设置需要POST的数据,这里提交两个数据,A=a&B=b
//[requestForm setPostValue:@"a" forKey:@"A"];
//[requestForm setPostValue:@"b" forKey:@"B"];
[requestForm startSynchronous];
//输入返回的信息
NSLog(@"response\n%@",[requestForm responseString]);
[requestForm release];
}
- (void)viewDidLoad
{
[super viewDidLoad];
button1=[[UIButton alloc]initWithFrame:CGRectMake(200, 200, 50, 50)];
button1.backgroundColor=[UIColor redColor];
[self.view addSubview:button1];
[button1 addTarget:self action:@selector(aaa:) forControlEvents:UIControlEventTouchUpInside];
// Do any additional setup after loading the view, typically from a nib.
}
- (void)viewDidUnload
{
[super viewDidUnload];
// Release any retained subviews of the main view.
}
- (BOOL):(UIInterfaceOrientation)interfaceOrientation
{
return (interfaceOrientation != );
}
@end
客户端想要访问服务器
必须加上服务器的ip 服务端我是这样实现的
服务器是用java开发的
public
void doLogin(HttpServletRequest request,HttpServletResponse response) throws
IOException{
String
username=request.getParameter("username");
String
password=request.getParameter("password");
String
getStr=request.getParameter("A");
System.out.println("用户名:"+username+
"密码:"+password);
getAddr(request);
PrintWriter
out=response.getWriter();
String msg=null;
if(username!=null&&username.equals("123")&&password!=null
&&password.equals("123")&&
getStr!=null&&getStr.equals("a")){
msg="登陆成功";
}
else
{
msg="登陆失败";
}
out.print(msg);
out.flush();
out.close();
}
4. By looking at the game data, we can know that there are 9 kinds of mining treasure boxes
which need more than 16 combos to proce
2 kinds of treasure boxes
which need to be identified 60 can proce
Taixu sword shattering sword respectively
which need more than 16 combos to proce
2 kinds of treasure boxes
which need to be identified 60 can proce
Taixu sword shattering sword respectively
5. EP refers to the template in the engineering stage,
FEP refers to the template in the confirmation stage,
PP refers to the trial proction stage,
PS refers to the rendering stage
FEP refers to the template in the confirmation stage,
PP refers to the trial proction stage,
PS refers to the rendering stage
Hot content