1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

259 Commits

Author SHA1 Message Date
Bogdan Fazakas
34074a74a6 applied suggestions on ContractUtils helper 2022-01-20 09:13:39 +02:00
Bogdan Fazakas
90c8a3a0c8 put back BaseToken instead of Basetoken 2022-01-19 09:55:18 +02:00
Bogdan Fazakas
69432720f0 put back baseToken instead of basetoken 2022-01-19 09:48:23 +02:00
Bogdan Fazakas
471875f85c update codebase renamed dataToken baseToken etc 2022-01-17 15:05:05 +02:00
Bogdan Fazakas
4d60a16f6e added default contract options and gas in config 2022-01-12 22:56:36 +02:00
455d3343e1 remove os usage 2022-01-11 17:52:28 +00:00
Bogdan Fazakas
810213c20c Revert "moved artifacts under src so to build starts"
This reverts commit 41fb836a4980f5a447dd9411037bd8f4618b7d24.
2022-01-11 10:35:28 +02:00
Bogdan Fazakas
41fb836a49 moved artifacts under src so to build starts 2022-01-11 09:47:41 +02:00
Bogdan Fazakas
a019491ed2 add used artifacts update imports and removed not used dependancies 2022-01-10 18:36:48 +02:00
Alex Coseru
b4064aea8f
publish & consume flow working (#1192)
* simple publish & consume flow working
2022-01-04 15:58:12 +02:00
Alex Coseru
f23e65f61b
publish tests (#1184)
* publish tests

* update to latest contracts

* fix unit tests
2022-01-03 17:34:28 +02:00
mihaisc
bfddea15d5
Fix/update address (#1174)
* update

* small fix
2021-12-23 04:35:42 -08:00
mihaisc
8bcffc00a6
config and encrypt fixes (#1173)
* config and encrypt fixes

* small comment

* fix

* change in PoolCreationParams

* fix

* fixes

* fix fileinfo

* rename fileinfo -> checkFileUrl, add checkDidFiles

* ensure chainId is base 10

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-12-23 03:05:07 -08:00
mihaisc
1e0724abe1
add dispenser (#1170) 2021-12-21 02:04:50 -08:00
mihaisc
602f453985
Feature/didutils (#1163)
* add ddo utils, remove web3 params from some helper

* update web3, some fixes

* fix lint

* remove console logs

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* fixed lint

Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
2021-12-16 17:57:41 +02:00
Bogdan Fazakas
cb779eaf0d fix encrypt fucntion 2021-12-16 13:04:38 +02:00
mihaisc
fea7eca0a1
Add setTokenURI and others (#1151)
* add setTokenURI

* est gas fix

* add comments

* delete old files

* test
2021-12-13 11:01:57 -08:00
mihaisc
c71da1d52d
update config url (#1149) 2021-12-10 03:49:21 -08:00
Bogdan Fazakas
a566be009e
Merge pull request #1143 from oceanprotocol/feature/provider-c2d-support
add c2d methods in provider class
2021-12-10 11:16:44 +02:00
mihaisc
2e64f8a9e1
random fixes (#1148) 2021-12-10 00:29:24 -08:00
Bogdan Fazakas
d44f53fb6f added c2d methods types and some utils 2021-12-10 00:07:52 +02:00
mihaisc
b81eb8fd8c
config (#1139) 2021-12-08 06:35:48 -08:00
mihaisc
061c4c76aa
build fix (#1138) 2021-12-08 04:37:09 -08:00
Bogdan Fazakas
e9a0dd5a1c add download method and utils 2021-12-06 10:19:19 +02:00
Bogdan Fazakas
bb828b954c updated fetch decouple strategy and added some tests 2021-11-26 16:40:29 +02:00
Bogdan Fazakas
fc6074e8af added new files 2021-11-09 10:58:28 +02:00
Bogdan Fazakas
9a8be41549 added interfaces fixedrate and erc tokens and array creation helpers 2021-11-09 10:57:57 +02:00
Bogdan Fazakas
5e31a7ebcf added tests for NFTDatatoken class and some tweaks 2021-10-25 09:29:45 +03:00
Bogdan Fazakas
d354aff19f fixed lint in config helper 2021-10-21 11:53:44 +03:00
Bogdan Fazakas
09d1ea2970 temporary add address.json file locally until we can get it from contract artifacts 2021-10-21 11:52:06 +03:00
Bogdan Fazakas
252eca12e4 wip v4 contract integration NFT creation flow 2021-10-18 15:29:37 +03:00
Bogdan Fazakas
3e9991e6f0 initial backbone commit 2021-10-13 09:10:55 +03:00
Alex Coseru
f317fdb0b9
bump contracts + add networks (#1059) 2021-10-04 17:10:19 +03:00
Alex Coseru
e934483853
add catenax network config (#1025) 2021-09-16 14:09:32 +03:00
1a79a72527
downgrade node-abort-controller to v2.0.0 (#999) 2021-08-31 13:57:29 +03:00
02df3628ea
update Gaia-X RPC (#998) 2021-08-31 12:01:28 +03:00
dependabot[bot]
360d593147
Bump node-abort-controller from 2.0.0 to 3.0.0 (#953)
* Bump node-abort-controller from 2.0.0 to 3.0.0

Bumps [node-abort-controller](https://github.com/southpolesteve/node-abort-controller) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/southpolesteve/node-abort-controller/releases)
- [Changelog](https://github.com/southpolesteve/node-abort-controller/blob/master/CHANGELOG.md)
- [Commits](https://github.com/southpolesteve/node-abort-controller/commits)

---
updated-dependencies:
- dependency-name: node-abort-controller
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* update AbortController export

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-08-24 11:09:16 +02:00
998e492e69
add single metadataCacheUri for all networks (#919)
* requires Aquarius [`v3.0.0+`](https://github.com/oceanprotocol/aquarius/releases/tag/v3.0.0)
2021-07-30 14:29:28 +02:00
c61aab0670
move datatoken name generation out of class (#943) 2021-07-30 14:29:12 +02:00
112816ea12
remove leading slash from all nodeUri (#922) 2021-07-22 13:11:14 +02:00
4fd1eae05c
update Polygon Mumbai explorerUri (#911) 2021-07-15 08:50:16 +02:00
2fa91836c1
update Gaia-X values (#906) 2021-07-13 15:02:26 +02:00
Alex Coseru
fba5965042
validate ddo before publish on chain (#873)
* validate ddo before publish on chain
2021-06-30 10:34:37 +03:00
dependabot[bot]
5852b0a27d
Bump contracts to 0.6.4 (#837)
* Bump @oceanprotocol/contracts from 0.6.3 to 0.6.4

Bumps [@oceanprotocol/contracts](https://github.com/oceanprotocol/contracts) from 0.6.3 to 0.6.4.
- [Release notes](https://github.com/oceanprotocol/contracts/releases)
- [Changelog](https://github.com/oceanprotocol/contracts/blob/main/CHANGELOG.md)
- [Commits](https://github.com/oceanprotocol/contracts/compare/v0.6.3...v0.6.4)

---
updated-dependencies:
- dependency-name: "@oceanprotocol/contracts"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* use startBlock & chainId from contracts

* export network metadata

* less repetetive network metadata

* switch Polygon mainnet URLs

* typing fixes

* package bumps

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: alexcos20 <alex.coseru@gmail.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-06-22 16:25:20 +02:00
Bogdan Fazakas
4e02a1b2a5 small refactor 2021-06-09 10:44:59 +03:00
Bogdan Fazakas
4f9ed04086 sent ocean instance param to asset resolve helper 2021-06-08 17:24:54 +03:00
Bogdan Fazakas
0786c32a7b fixed lint errors 2021-06-08 14:06:23 +03:00
Bogdan Fazakas
200e0d8832 staged helper file 2021-06-08 09:08:51 +03:00
Bogdan Fazakas
c88680f100 added AssetResolverHelper 2021-06-08 09:08:24 +03:00
Bogdan Fazakas
f0404f3204 added ddo object param to function that expect did and asset resolve is called 2021-06-03 12:43:15 +03:00