Skip to content
This repository was archived by the owner on Jan 27, 2025. It is now read-only.

Commit fdc036d

Browse files
eitanz-cotigmesika-coti
authored andcommitted
Testnet rampup
1 parent d7b21d6 commit fdc036d

File tree

7 files changed

+21
-15
lines changed

7 files changed

+21
-15
lines changed

deployments/AccountOnboard.json

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"address": "0xadb3952a07B2c9fA7dbd2F583cd2F0412C97eC33",
2+
"address": "0x60eA13A5f263f77f7a2832cfEeF1729B1688477c",
33
"abi": [
44
{
55
"anonymous": false,
@@ -13,7 +13,13 @@
1313
{
1414
"indexed": false,
1515
"internalType": "bytes",
16-
"name": "userKey",
16+
"name": "userKey1",
17+
"type": "bytes"
18+
},
19+
{
20+
"indexed": false,
21+
"internalType": "bytes",
22+
"name": "userKey2",
1723
"type": "bytes"
1824
}
1925
],
@@ -24,16 +30,16 @@
2430
"inputs": [
2531
{
2632
"internalType": "bytes",
27-
"name": "signedEK",
33+
"name": "publicKey",
2834
"type": "bytes"
2935
},
3036
{
3137
"internalType": "bytes",
32-
"name": "signature",
38+
"name": "signedEK",
3339
"type": "bytes"
3440
}
3541
],
36-
"name": "OnboardAccount",
42+
"name": "onboardAccount",
3743
"outputs": [],
3844
"stateMutability": "nonpayable",
3945
"type": "function"

deployments/DataOnChain.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"address": "0x349094471A746FaF7A211E7eE62Ea29C23Ada148",
2+
"address": "0xd3b2fbFF6b3e87dF0A8a4df48F4c7aE2F25BeFdb",
33
"abi": [
44
{
55
"inputs": [],
@@ -352,4 +352,4 @@
352352
}
353353
}
354354
}
355-
}
355+
}

deployments/ERC20Example.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"address": "0x54DCcCf4Bc4d8426aCe3bB0e1445Cb5fD21Dd1d8",
2+
"address": "0x2416e367e664C6A60B64c1F3a1838489d34e03e6",
33
"abi": [
44
{
55
"inputs": [

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"nativeTransfer": "ts-node src/main.ts nativeTransfer"
1111
},
1212
"devDependencies": {
13-
"@coti-io/coti-sdk-typescript": "0.6.3",
13+
"@coti-io/coti-sdk-typescript": "1.0.1",
1414
"dotenv": "^16.4.5",
1515
"ethers": "^6.12.1",
1616
"ts-node": "^10.9.2",

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dotenv.config()
1616

1717
async function main() {
1818
loadDeployments()
19-
const provider = initEtherProvider();
19+
const provider = initEtherProvider("https://testnet.coti.io/rpc");
2020
if (!await isProviderConnected(provider))
2121
throw Error('provider not connected')
2222
await printNetworkDetails(provider)

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
resolved "https://registry.yarnpkg.com/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz#63430d04bd8c5e74f8d7d049338f1cd9d4f02069"
88
integrity sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==
99

10-
"@coti-io/coti-sdk-typescript@0.6.2":
11-
version "0.6.2"
12-
resolved "https://registry.yarnpkg.com/@coti-io/coti-sdk-typescript/-/coti-sdk-typescript-0.6.2.tgz#c7cd6836109c8c21f445b40d1e532ceecc2de36c"
13-
integrity sha512-rp/HvHN2VnTMb7OV+ZCBM/yZlAOP32dW3X8irG7txyKb2LrbUKPzfoFlrGfDckgrJ+pOoe4KSC3ZYA5OW2HiVA==
10+
"@coti-io/coti-sdk-typescript@1.0.1":
11+
version "1.0.1"
12+
resolved "https://registry.yarnpkg.com/@coti-io/coti-sdk-typescript/-/coti-sdk-typescript-1.0.1.tgz#b185b834f9627ffd175876665fb6c211cf23d1f6"
13+
integrity sha512-F397bpW/yPv0KGMq8ZCNSCxAmDfSAj5eaAeQsmljNsctVFHGMctxBM1aK0JBBSU8PnNklmDWeSmS37pm/Uouag==
1414
dependencies:
1515
node-forge "^1.3.1"
1616

0 commit comments

Comments
 (0)