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

33 Commits

Author SHA1 Message Date
Bogdan Fazakas
5a29fefd3b
Multichain Provider (#1698)
* added chainId param to encrypt method

* updated tests & examples
2023-03-20 15:44:12 +02:00
Jamie Hewitt
39ac4a4046 Combining tests and checking that the data received is correct 2022-12-22 14:25:01 +00:00
Jamie Hewitt
2bb4f751a2 updating assertion messages 2022-12-22 14:17:10 +00:00
Jamie Hewitt
726e34c8fc Updating guide and formatting 2022-12-21 15:04:30 +00:00
Jamie Hewitt
3919bf7b2d Adding the key-value store steps to CodeExamples.test.ts 2022-12-21 14:56:50 +00:00
Bogdan Fazakas
a026c12041
Compute Example Readme flow (#1615)
* wip

* add logs

* update checksum

* update test suite

* temp run just compute flow tests

* update file urle

* add c2d md file

* renamed files

* update script

* add script logs

* update create example script

* Updating CodeExamples.md

* Updating ComputeExamples.md

* readme text improvments

* Updating ComputeExamples.md

* more improvments

* Updating ComputeExamples.md

* again more improvments

* Updating ComputeExamples.md

* more readme improvments

* Updating ComputeExamples.md

* update chainid and service endpoint

* Updating CodeExamples.md

* Updating ComputeExamples.md

* req fixes

* Updating ComputeExamples.md

* more fixes

* Updating CodeExamples.md

* Updating ComputeExamples.md

* more fixes, ts configs etc

* Updating ComputeExamples.md

* mention typescript compile options

* add comment regarding mint method

* fix lint

* Updating ComputeExamples.md

* review fixes and sugestions

* Updating ComputeExamples.md

Co-authored-by: GitHub Actions Bot <>
2022-12-14 17:22:44 +02:00
829795fd6f
add full support for Goerli (#1614) 2022-09-23 10:28:03 +01:00
Alex Coseru
ad0e724e68
Feature/add ve fee estimate (#1606)
* bump to contracts 1.1.4

* add estimateClaim

* fix

* Bump decimal.js from 10.3.1 to 10.4.0 (#1598)

Bumps [decimal.js](https://github.com/MikeMcl/decimal.js) from 10.3.1 to 10.4.0.
- [Release notes](https://github.com/MikeMcl/decimal.js/releases)
- [Changelog](https://github.com/MikeMcl/decimal.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/MikeMcl/decimal.js/compare/v10.3.1...v10.4.0)

---
updated-dependencies:
- dependency-name: decimal.js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @typescript-eslint/eslint-plugin from 5.33.1 to 5.36.2 (#1601)

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.33.1 to 5.36.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.36.2/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump eslint from 8.19.0 to 8.23.0 (#1602)

Bumps [eslint](https://github.com/eslint/eslint) from 8.19.0 to 8.23.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.19.0...v8.23.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* add graphql type (#1607)

* add graphql type

* Updating CodeExamples.md

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: GitHub Actions Bot <>
2022-09-12 18:20:21 +03:00
Bogdan Fazakas
7500f51f46 merge v4refactoring and fixed conflicts 2022-08-17 12:37:03 +03:00
Bogdan Fazakas
30aba62ef7
Remove amm pools (#1568)
* WIP remove pools

* added logs

* update checksums and logs

* Updating CodeExamples.md

* remove console logs

* remove unused params, simplify test folder structure

* contracts folder simplification, remove ss contract methods

* path fix

* remove more "staking" code

* put back `removeApprovedToken()`

* remove redundant and unused test commands

* test fix, auto-fix & auto-format

* consistent specific imports

* readme updates

* remove addDispenserContract method

* remove tokens subfolder from contracts

* update js docs and put back addDispenserContract

* use new digest for algorthms

* update nft getData to fix failing unit test

* replace pools with fre in  buyDatatokenBatch

* use proper exchange ids

* increase allowance

* fix buyBatch test and deploy issues from testcontracthandler

Co-authored-by: GitHub Actions Bot <>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-08-16 11:54:28 +01:00
Bogdan Fazakas
452bf22855 merge main and fixed conflicts 2022-08-11 16:13:31 +03:00
Bogdan Fazakas
470eff51ad update transfer and approve methods 2022-08-10 17:31:54 +03:00
Miquel A. Cabot
869ef38fc3
review provider URL (#1554) 2022-07-06 13:23:17 +03:00
Alex Coseru
be06f05365
update to new schema & compute fixes (#1510)
* update to new schema

* fix codeExamples

* fix computeflows
2022-06-15 19:03:56 +03:00
Miquel A. Cabot
83b8d1dce3 general renaming in FixedRateExchange 2022-06-14 10:52:51 +02:00
Miquel A. Cabot
ba8ea90a20 rename createNftErc20WithDispenser to createNftWithDatatokenWithDispenser 2022-06-10 11:32:58 +02:00
Miquel A. Cabot
77fcfe94f5 rename createNftErc20WithFixedRate to createNftWithDatatokenWithFixedRate 2022-06-10 11:30:22 +02:00
Miquel A. Cabot
4d56ca2e9e rename createNftErc20WithPool to createNftWithDatatokenWithPool 2022-06-10 11:28:55 +02:00
Miquel A. Cabot
29c581fde2 rename from erc20 to nft in comments 2022-06-10 11:19:08 +02:00
Miquel A. Cabot
71390cf862 rename erc20Params to datatokenParams 2022-06-10 10:56:40 +02:00
Miquel A. Cabot
6287005473 rename Erc20CreateParams to DatatokenCreateParams 2022-06-10 10:54:51 +02:00
Miquel A. Cabot
2c8832e22c inherit FixedRateExchange from SmartContract 2022-06-06 17:43:39 +02:00
Miquel A. Cabot
d12b669f65 fix Dispenser tests 2022-06-06 17:37:17 +02:00
Miquel A. Cabot
ba34fa7627 use the new transfer() function 2022-05-26 12:43:31 +02:00
Jamie Hewitt
b2ac1576ce Adding editing instructions 2022-05-18 14:08:02 +03:00
Miquel A. Cabot
f9a8c0a784 fix lint problems 2022-05-09 11:29:45 +02:00
Miquel A. Cabot
55fec840c3 get addresses from config file instead of deploying it 2022-05-09 11:19:34 +02:00
Miquel A. Cabot
1749b0d989 update call to Dispenser constructor 2022-05-09 09:01:05 +02:00
Jamie Hewitt
4968d2d63d Updating comments and numbering 2022-05-06 16:04:30 +03:00
Jamie Hewitt
d39c091999 Updating comments 2022-05-05 17:35:06 +03:00
Jamie Hewitt
75e0afa4d9 Adding additional comments in the code 2022-05-05 16:47:38 +03:00
Jamie Hewitt
0e4df185b1 Addign links 2022-05-05 16:27:57 +03:00
Jamie Hewitt
dd74300477 Merging changes from issue-1354-readme-integration-tests 2022-05-05 16:14:03 +03:00