mirror of
https://github.com/fluencelabs/eip712-validation-node
synced 2025-05-28 07:31:19 +00:00
update main
This commit is contained in:
parent
d1cc40f76d
commit
edff3861fd
13
src/index.ts
13
src/index.ts
@ -77,7 +77,7 @@ class DataProvider implements DataProviderDef {
|
||||
}
|
||||
|
||||
|
||||
async function main_1() {
|
||||
async function main_0() {
|
||||
|
||||
await Fluence.start({
|
||||
connectTo: krasnodar[0],
|
||||
@ -174,23 +174,20 @@ async function main() {
|
||||
console.log("\n\n");
|
||||
|
||||
let peer = Fluence.getPeer();
|
||||
console.log(peer);
|
||||
// console.log(peer);
|
||||
// console.log(Fluence.KeyPair);
|
||||
|
||||
/*
|
||||
|
||||
|
||||
registerProVoValidation(new EIPValidator());
|
||||
registerDataProvider(new DataProvider);
|
||||
|
||||
const eip_doc: any = await got('https://ipfs.fleek.co/ipfs/QmWGzSQFm57ohEq2ATw4UNHWmYU2HkMjtedcNLodYywpmS').json();
|
||||
// console.log("eip json obj: ", eip_doc);
|
||||
console.log("eip json obj: ", eip_doc);
|
||||
|
||||
let obj = new EIPValidator();
|
||||
console.log("class obj: ", obj);
|
||||
console.dir(obj);
|
||||
let result = obj.eip712_validation_url(JSON.stringify(eip_doc));
|
||||
*/
|
||||
|
||||
console.log("result: ", result);
|
||||
await Fluence.stop();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user